Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.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.001195/0.001195, allocations: 85.8 kB / 21.42 MB, free: 3.066 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.004284/0.004284, allocations: 164.3 kB / 24.82 MB, free: 9.223 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 0.9473/0.9473, allocations: 177 MB / 205.1 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2487/0.2487, allocations: 34.87 MB / 296.6 MB, free: 0.5117 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.077e-05, allocations: 3.016 kB / 379.3 MB, free: 1.734 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003477/0.003498, allocations: 2.244 MB / 381.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001948/0.005446, allocations: 1.29 MB / 382.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.005575, allocations: 11.94 kB / 382.9 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003702/0.005945, allocations: 143.2 kB / 383 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004857/0.006431, allocations: 266.7 kB / 383.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.006736, allocations: 183.5 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004569/0.007193, allocations: 486.4 kB / 383.9 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.007318, allocations: 37.27 kB / 384 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004163/0.007734, allocations: 395.1 kB / 384.3 MB, free: 12.68 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.007904, allocations: 135.5 kB / 384.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.964e-05/0.007943, allocations: 20 kB / 384.5 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001405/0.008084, allocations: 71.86 kB / 384.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.008223, allocations: 171.3 kB / 384.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001014/0.008325, allocations: 99.52 kB / 384.8 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.008723, allocations: 378.3 kB / 385.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.913e-06/0.008725, allocations: 0 / 385.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008726, allocations: 0 / 385.2 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.008731, allocations: 0 / 385.2 MB, free: 11.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009274/0.009658, allocations: 0.9573 MB / 386.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.009694, allocations: 8.031 kB / 386.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001037/0.009797, allocations: 88.42 kB / 386.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003878/0.01019, allocations: 373 kB / 386.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.01021, allocations: 12.38 kB / 386.6 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.01024, allocations: 16.36 kB / 386.6 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002521/0.01049, allocations: 181.5 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.01051, allocations: 4.141 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.01053, allocations: 12.38 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.01053, allocations: 7.938 kB / 386.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.622e-05/0.01063, allocations: 55.86 kB / 386.9 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.01134, allocations: 0.8562 MB / 387.8 MB, free: 9.133 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.01169, allocations: 232.2 kB / 388 MB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.37e-05/0.01177, allocations: 70.84 kB / 388.1 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.01179, allocations: 8 kB / 388.1 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004976/0.01229, allocations: 185.2 kB / 388.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.753e-06/0.01229, allocations: 0 / 388.2 MB, free: 8.551 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001343/0.01364, allocations: 0.7252 MB / 389 MB, free: 7.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.01369, allocations: 132.5 kB / 389.1 MB, free: 7.66 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005896/0.01428, allocations: 0.7335 MB / 389.8 MB, free: 6.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/0.01431, allocations: 37.7 kB / 389.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002039/0.01451, allocations: 351.6 kB / 390.2 MB, free: 6.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.93e-05/0.01461, allocations: 146.8 kB / 390.4 MB, free: 6.375 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.335e-05/0.0147, allocations: 83.78 kB / 390.4 MB, free: 6.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.01482, allocations: 0.4926 MB / 390.9 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.0149, allocations: 52.95 kB / 391 MB, free: 5.734 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.01503, allocations: 150.3 kB / 391.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.01526, allocations: 225.7 kB / 391.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.01526, allocations: 0 / 391.3 MB, free: 5.301 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004051/0.01567, allocations: 356.7 kB / 391.7 MB, free: 4.945 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.01568, allocations: 4 kB / 391.7 MB, free: 4.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01569, allocations: 4.125 kB / 391.7 MB, free: 4.938 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.0157, allocations: 8 kB / 391.7 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.01592, allocations: 87.89 kB / 391.8 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.01592, allocations: 4 kB / 391.8 MB, free: 4.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.01603, allocations: 19.98 kB / 391.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.01605, allocations: 15.88 kB / 391.8 MB, free: 4.805 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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.0001336/0.01619, allocations: 191 kB / 392 MB, free: 4.609 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.481e-05/0.01628, allocations: 99.41 kB / 392.1 MB, free: 4.512 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005261/0.01681, allocations: 412 kB / 392.5 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.01681, allocations: 12 kB / 392.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01681, allocations: 0 / 392.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.01682, allocations: 3.984 kB / 392.5 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.01789, allocations: 1.297 MB / 393.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01789, allocations: 0 / 393.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.01803, allocations: 64.16 kB / 393.9 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.01804, allocations: 12 kB / 393.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.01806, allocations: 23.92 kB / 393.9 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.01807, allocations: 7.938 kB / 393.9 MB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.01807, allocations: 4 kB / 393.9 MB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.01866, allocations: 0.9495 MB / 394.9 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000138/0.0188, allocations: 95.47 kB / 395 MB, free: 1.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.566e-05/0.01885, allocations: 23.92 kB / 395 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.01908, allocations: 19.98 kB / 395 MB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.551e-05/0.01915, allocations: 47.88 kB / 395.1 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.195e-05/0.01918, allocations: 19.98 kB / 395.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005925/0.01977, allocations: 466.8 kB / 395.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01977, allocations: 0 / 395.5 MB, free: 0.9414 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004601/0.02023, allocations: 87.94 kB / 395.6 MB, free: 0.8555 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001174/0.02141, allocations: 0.4962 MB / 396.1 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002913/0.0217, allocations: 227.6 kB / 396.4 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.0217, allocations: 0 / 396.4 MB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.02185, allocations: 133.1 kB / 396.5 MB, free: 152 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.02261, allocations: 144.2 kB / 396.6 MB, free: 12 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.02374, allocations: 1.026 MB / 397.7 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.02388, allocations: 166.2 kB / 397.8 MB, free: 14.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.02403, allocations: 75.25 kB / 397.9 MB, free: 14.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002225/0.02425, allocations: 166.1 kB / 398 MB, free: 14.48 MB / 378.7 MB Notification: Performance of SimCode: time 6.72e-07/0.02426, allocations: 0 / 398 MB, free: 14.48 MB / 378.7 MB Notification: Performance of Templates: time 0.01022/0.03447, allocations: 6.395 MB / 404.4 MB, free: 8.195 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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: 3.1272360649891198]