Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001494/0.001494, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 171.8 kB / 24.82 MB, free: 9.254 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.059/1.059, allocations: 177 MB / 205.1 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.651e-05, allocations: 4.984 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.001765/0.001781, allocations: 1.533 MB / 274.9 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003123, allocations: 0.8458 MB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.869e-05/0.003172, allocations: 4 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 8.622e-05/0.003258, allocations: 11.86 kB / 275.7 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.173e-05/0.00333, allocations: 19.86 kB / 275.7 MB, free: 14.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.003557, allocations: 47.88 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.00373, allocations: 135.7 kB / 275.9 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.00381, allocations: 16.16 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004769/0.004287, allocations: 0.5927 MB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.581e-05/0.004383, allocations: 67.8 kB / 276.6 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.338e-05/0.004416, allocations: 8 kB / 276.6 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.147e-05/0.004437, allocations: 16 kB / 276.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.011e-05/0.004498, allocations: 63.72 kB / 276.7 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.254e-05/0.00456, allocations: 59.72 kB / 276.7 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.00478, allocations: 286.9 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.453e-06/0.004782, allocations: 0 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.004783, allocations: 0 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.004787, allocations: 0 / 277 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005678/0.005355, allocations: 0.7746 MB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.005404, allocations: 19.92 kB / 277.8 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.824e-05/0.005472, allocations: 48.7 kB / 277.9 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.005661, allocations: 215 kB / 278.1 MB, free: 12.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.005684, allocations: 12.38 kB / 278.1 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.949e-05/0.005703, allocations: 12.31 kB / 278.1 MB, free: 12.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.005962, allocations: 237.7 kB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.005969, allocations: 192 / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.005985, allocations: 8.375 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.005993, allocations: 3.938 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.945e-05/0.006092, allocations: 154.7 kB / 278.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/0.006512, allocations: 412 kB / 278.9 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/0.006629, allocations: 181.8 kB / 279.1 MB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.039e-05/0.00672, allocations: 166.5 kB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.006726, allocations: 0 / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.006921, allocations: 319.1 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 2.424e-06/0.006923, allocations: 3.984 kB / 279.5 MB, free: 10.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005043/0.007428, allocations: 0.6656 MB / 280.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.007485, allocations: 166.2 kB / 280.4 MB, free: 9.738 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000415/0.0079, allocations: 0.5061 MB / 280.9 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.007919, allocations: 29.7 kB / 280.9 MB, free: 9.184 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.007974, allocations: 151.8 kB / 281.1 MB, free: 9.027 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.008003, allocations: 35.77 kB / 281.1 MB, free: 8.992 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.64e-05/0.00808, allocations: 87.16 kB / 281.2 MB, free: 8.898 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000117/0.008197, allocations: 0.4962 MB / 281.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.737e-05/0.008294, allocations: 150.8 kB / 281.8 MB, free: 8.219 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.91e-05/0.008393, allocations: 174.1 kB / 282 MB, free: 8.016 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.008562, allocations: 324.9 kB / 282.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.008564, allocations: 0 / 282.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003344/0.008898, allocations: 483.1 kB / 282.8 MB, free: 7.113 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.906e-05/0.008958, allocations: 129.9 kB / 282.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.008962, allocations: 0 / 282.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.008972, allocations: 0 / 282.9 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.292e-05/0.008985, allocations: 4.109 kB / 282.9 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.685e-06/0.008988, allocations: 3.938 kB / 282.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.045e-05/0.009068, allocations: 11.98 kB / 282.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/0.009111, allocations: 55.94 kB / 283 MB, free: 6.891 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002255/0.009337, allocations: 393.2 kB / 283.4 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.323e-05/0.00938, allocations: 55.7 kB / 283.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.009454, allocations: 55.09 kB / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009456, allocations: 0 / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.009458, allocations: 0 / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.00946, allocations: 0 / 283.5 MB, free: 6.363 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.01008, allocations: 0.8547 MB / 284.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01008, allocations: 0 / 284.3 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-06/0.01008, allocations: 7.938 kB / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.01009, allocations: 0 / 284.3 MB, free: 5.418 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.398e-05/0.0101, allocations: 8 kB / 284.3 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.0101, allocations: 4.188 kB / 284.3 MB, free: 5.406 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.0101, allocations: 7.984 kB / 284.4 MB, free: 5.398 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003942/0.0105, allocations: 0.6844 MB / 285 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002474/0.01075, allocations: 189.3 kB / 285.2 MB, free: 4.465 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.661e-05/0.01079, allocations: 8 kB / 285.2 MB, free: 4.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.4e-05/0.01089, allocations: 12 kB / 285.2 MB, free: 4.445 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7e-05/0.01096, allocations: 19.97 kB / 285.3 MB, free: 4.426 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.337e-05/0.011, allocations: 60 kB / 285.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002103/0.01121, allocations: 294.9 kB / 285.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01121, allocations: 3.938 kB / 285.6 MB, free: 4.078 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001838/0.01139, allocations: 44 kB / 285.7 MB, free: 4.035 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001008/0.01149, allocations: 115 kB / 285.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003615/0.01186, allocations: 0.5731 MB / 286.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01186, allocations: 0 / 286.3 MB, free: 3.234 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002289/0.01209, allocations: 420 kB / 286.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003713/0.01246, allocations: 129.8 kB / 286.9 MB, free: 2.621 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007414/0.0132, allocations: 0.7329 MB / 287.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.17e-05/0.01327, allocations: 107.8 kB / 287.7 MB, free: 1.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.744e-05/0.0133, allocations: 8.719 kB / 287.7 MB, free: 1.703 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002541/0.01355, allocations: 194 kB / 287.9 MB, free: 1.512 MB / 266.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01355, allocations: 8 kB / 287.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of Templates: time 0.005663/0.01922, allocations: 4.732 MB / 292.7 MB, free: 12.73 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.74985229736194]