Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.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.001456/0.001456, allocations: 77 kB / 20.65 MB, free: 3.848 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.001893/0.001893, allocations: 177 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.013/1.013, allocations: 158.6 MB / 185.9 MB, free: 2.809 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1319/0.1319, allocations: 32.38 MB / 270.7 MB, free: 14.55 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") translateModel(ModelicaTest.Tables.CombiTimeTable.Test75,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.335e-05/3.647e-05, allocations: 5.406 kB / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.003827/0.003864, allocations: 1.866 MB / 350.1 MB, free: 7.23 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.005077, allocations: 0.8815 MB / 350.9 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.00518, allocations: 4 kB / 351 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000443/0.005623, allocations: 223.3 kB / 351.2 MB, free: 6.117 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000339/0.005962, allocations: 171.4 kB / 351.3 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.006252, allocations: 147.5 kB / 351.5 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.006484, allocations: 235.2 kB / 351.7 MB, free: 5.574 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.006626, allocations: 21.78 kB / 351.7 MB, free: 5.555 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.006775, allocations: 127.7 kB / 351.9 MB, free: 5.43 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.006928, allocations: 143.7 kB / 352 MB, free: 5.289 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.006955, allocations: 8 kB / 352 MB, free: 5.281 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.007052, allocations: 55.84 kB / 352.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.876e-05/0.007131, allocations: 59.78 kB / 352.1 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.322e-05/0.007194, allocations: 43.8 kB / 352.2 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.00744, allocations: 167.3 kB / 352.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007444, allocations: 3.938 kB / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.007446, allocations: 0 / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.007452, allocations: 0 / 352.3 MB, free: 4.957 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006137/0.008065, allocations: 0.5769 MB / 352.9 MB, free: 4.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.277e-05/0.008128, allocations: 8.031 kB / 352.9 MB, free: 4.336 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.844e-05/0.008187, allocations: 32.75 kB / 352.9 MB, free: 4.305 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.00839, allocations: 208.7 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/0.00841, allocations: 12.38 kB / 353.2 MB, free: 4.062 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.008431, allocations: 8.312 kB / 353.2 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.008581, allocations: 106.2 kB / 353.3 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.008594, allocations: 7.938 kB / 353.3 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.008603, allocations: 4 kB / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.008612, allocations: 0 / 353.3 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.847e-05/0.00865, allocations: 19.97 kB / 353.3 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003039/0.008954, allocations: 451.2 kB / 353.7 MB, free: 3.43 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.009077, allocations: 110.3 kB / 353.9 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.198e-05/0.009109, allocations: 27.36 kB / 353.9 MB, free: 3.262 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.009129, allocations: 7.938 kB / 353.9 MB, free: 3.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001184/0.009248, allocations: 112.3 kB / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.192e-06/0.009249, allocations: 0 / 354 MB, free: 3.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004116/0.00966, allocations: 249.2 kB / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.009685, allocations: 81.05 kB / 354.3 MB, free: 2.773 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.009861, allocations: 378.1 kB / 354.7 MB, free: 2.387 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.009871, allocations: 33.7 kB / 354.7 MB, free: 2.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.00994, allocations: 215 kB / 354.9 MB, free: 2.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.65e-05/0.009976, allocations: 47.62 kB / 355 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-05/0.01002, allocations: 39.36 kB / 355 MB, free: 2.039 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.0101, allocations: 0.5273 MB / 355.5 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.611e-05/0.01012, allocations: 19.98 kB / 355.6 MB, free: 1.48 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.137e-05/0.01016, allocations: 62.7 kB / 355.6 MB, free: 1.402 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.098e-05/0.01023, allocations: 94.8 kB / 355.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.01024, allocations: 7.938 kB / 355.7 MB, free: 1.285 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001394/0.01038, allocations: 145.4 kB / 355.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.01039, allocations: 8 kB / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.0104, allocations: 0 / 355.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.01041, allocations: 4 kB / 355.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.0105, allocations: 35.92 kB / 355.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.01051, allocations: 0 / 355.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.241e-05/0.01055, allocations: 7.984 kB / 355.9 MB, free: 1.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.01056, allocations: 12 kB / 355.9 MB, free: 1.07 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.667e-05/0.01063, allocations: 172.5 kB / 356.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.01066, allocations: 35.81 kB / 356.1 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002256/0.01089, allocations: 172.2 kB / 356.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01089, allocations: 0 / 356.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.01089, allocations: 0.75 kB / 356.3 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.0109, allocations: 4 kB / 356.3 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006762/0.01158, allocations: 0.6097 MB / 356.9 MB, free: 24 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.01158, allocations: 4 kB / 356.9 MB, free: 20 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.01166, allocations: 19.98 kB / 356.9 MB, free: 0 / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.01167, allocations: 4.109 kB / 356.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.01169, allocations: 12 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.01169, allocations: 4 kB / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.0117, allocations: 0 / 357 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004296/0.01213, allocations: 464.7 kB / 357.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.671e-05/0.01216, allocations: 23.81 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.507e-05/0.0122, allocations: 4 kB / 357.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.01235, allocations: 7.984 kB / 357.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.568e-05/0.0124, allocations: 19.92 kB / 357.5 MB, free: 15.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.01243, allocations: 7.984 kB / 357.5 MB, free: 15.43 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.01262, allocations: 250.9 kB / 357.7 MB, free: 15.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01262, allocations: 4 kB / 357.7 MB, free: 15.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.01303, allocations: 35.98 kB / 357.8 MB, free: 15.15 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00127/0.0143, allocations: 444.6 kB / 358.2 MB, free: 14.81 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001934/0.01449, allocations: 83.56 kB / 358.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.01449, allocations: 0 / 358.3 MB, free: 14.72 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.01458, allocations: 59.22 kB / 358.3 MB, free: 14.66 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.01511, allocations: 68.77 kB / 358.4 MB, free: 14.6 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008077/0.01592, allocations: 433 kB / 358.8 MB, free: 14.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.575e-05/0.01601, allocations: 91.95 kB / 358.9 MB, free: 14.03 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.946e-05/0.0161, allocations: 37.59 kB / 359 MB, free: 13.99 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.01624, allocations: 118.2 kB / 359.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.01624, allocations: 0 / 359.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of Templates: time 0.008156/0.0244, allocations: 3.217 MB / 362.3 MB, free: 10.68 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test75/Test75.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.232763384003192]