Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009091/0.0009091, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.009/1.009, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2576/0.2576, allocations: 34.26 MB / 295.7 MB, free: 0.7617 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.5e-05/1.652e-05, allocations: 2.312 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.004149/0.004166, allocations: 2.264 MB / 380.4 MB, free: 280 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001576/0.005742, allocations: 1.302 MB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001113/0.005854, allocations: 7.938 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.006188, allocations: 139.2 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004297/0.006618, allocations: 270.7 kB / 382.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.00692, allocations: 187.5 kB / 382.3 MB, free: 14.37 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003272/0.007247, allocations: 486.4 kB / 382.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.007357, allocations: 41.27 kB / 382.8 MB, free: 13.85 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.007635, allocations: 387.1 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.007763, allocations: 139.5 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.007793, allocations: 16 kB / 383.3 MB, free: 13.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.007895, allocations: 71.91 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.008001, allocations: 171.3 kB / 383.6 MB, free: 13.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.75e-05/0.008078, allocations: 99.53 kB / 383.7 MB, free: 12.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003009/0.008379, allocations: 378.3 kB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.008382, allocations: 4 kB / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.008383, allocations: 0 / 384.1 MB, free: 12.61 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.008387, allocations: 4 kB / 384.1 MB, free: 12.61 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.0007221/0.00911, allocations: 0.9379 MB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.009142, allocations: 12.03 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.595e-05/0.009228, allocations: 88.41 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.009898, allocations: 377.1 kB / 385.5 MB, free: 11.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.00992, allocations: 12.38 kB / 385.5 MB, free: 11.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.009946, allocations: 12.38 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000225/0.01017, allocations: 193.5 kB / 385.7 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.01019, allocations: 11.89 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.0102, allocations: 8 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.01021, allocations: 4 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.96e-05/0.0103, allocations: 63.86 kB / 385.8 MB, free: 10.81 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006049/0.0109, allocations: 0.9688 MB / 386.7 MB, free: 9.789 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.01122, allocations: 236.4 kB / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.681e-05/0.0113, allocations: 82.78 kB / 387 MB, free: 9.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01131, allocations: 4 kB / 387 MB, free: 9.406 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.0115, allocations: 197.2 kB / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.533e-06/0.0115, allocations: 0 / 387.2 MB, free: 9.184 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001248/0.01275, allocations: 1.116 MB / 388.4 MB, free: 8.059 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.01279, allocations: 136.5 kB / 388.5 MB, free: 7.895 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004926/0.01329, allocations: 0.7574 MB / 389.2 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01331, allocations: 37.7 kB / 389.3 MB, free: 7.074 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.01347, allocations: 347.7 kB / 389.6 MB, free: 6.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.529e-05/0.01355, allocations: 150.7 kB / 389.8 MB, free: 6.582 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.106e-05/0.01362, allocations: 83.81 kB / 389.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.01372, allocations: 0.4964 MB / 390.3 MB, free: 5.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.769e-05/0.01381, allocations: 68.95 kB / 390.4 MB, free: 5.922 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.01393, allocations: 162.4 kB / 390.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002265/0.01416, allocations: 249.4 kB / 390.8 MB, free: 5.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01416, allocations: 0 / 390.8 MB, free: 5.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003499/0.01451, allocations: 380.8 kB / 391.2 MB, free: 5.078 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.01452, allocations: 10.62 kB / 391.2 MB, free: 5.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.01453, allocations: 4 kB / 391.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01454, allocations: 4 kB / 391.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.0147, allocations: 91.89 kB / 391.3 MB, free: 4.973 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.01471, allocations: 7.938 kB / 391.3 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.788e-05/0.01478, allocations: 19.98 kB / 391.3 MB, free: 4.945 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.0148, allocations: 12 kB / 391.3 MB, free: 4.934 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.000111/0.01491, allocations: 194.9 kB / 391.5 MB, free: 4.734 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/0.01498, allocations: 91.48 kB / 391.6 MB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004807/0.01546, allocations: 448.3 kB / 392.1 MB, free: 4.195 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.01547, allocations: 7.938 kB / 392.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.01547, allocations: 4 kB / 392.1 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.315e-06/0.01548, allocations: 3.984 kB / 392.1 MB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001503/0.01698, allocations: 1.425 MB / 393.5 MB, free: 2.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01699, allocations: 8.25 kB / 393.5 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.01709, allocations: 67.91 kB / 393.6 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.0171, allocations: 4 kB / 393.6 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.01712, allocations: 15.94 kB / 393.6 MB, free: 2.582 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.01712, allocations: 7.984 kB / 393.6 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.01712, allocations: 4 kB / 393.6 MB, free: 2.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005147/0.01764, allocations: 0.9733 MB / 394.6 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.842e-05/0.01774, allocations: 103.5 kB / 394.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.01778, allocations: 16 kB / 394.7 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.01792, allocations: 23.97 kB / 394.7 MB, free: 1.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.01798, allocations: 47.81 kB / 394.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.657e-05/0.01801, allocations: 23.98 kB / 394.8 MB, free: 1.324 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003146/0.01832, allocations: 0.4912 MB / 395.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01832, allocations: 0 / 395.3 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003106/0.01863, allocations: 99.88 kB / 395.4 MB, free: 0.7422 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.001056/0.01969, allocations: 0.4984 MB / 395.9 MB, free: 436 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000311/0.02, allocations: 255.7 kB / 396.1 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.02, allocations: 0 / 396.1 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.02014, allocations: 137.2 kB / 396.3 MB, free: 32 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005934/0.02073, allocations: 155.9 kB / 396.4 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009949/0.02173, allocations: 1.046 MB / 397.4 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001098/0.02184, allocations: 158.1 kB / 397.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.02196, allocations: 83.23 kB / 397.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.465e-05/0.02204, allocations: 56.48 kB / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.02204, allocations: 0 / 397.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of Templates: time 0.008432/0.03047, allocations: 6.259 MB / 404 MB, free: 8.293 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.234517687931657]