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.00172/0.00172, allocations: 88.23 kB / 20.2 MB, free: 4.223 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.001623/0.001623, allocations: 157.7 kB / 23.51 MB, free: 0.918 MB / 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.409/1.409, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2326/0.2326, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|d_t_new.y|t_new_2.y.1.|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.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.562e-05/3.761e-05, allocations: 4.844 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test75): time 0.004105/0.004143, allocations: 1.812 MB / 348.8 MB, free: 7.91 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.005748, allocations: 0.8622 MB / 349.7 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001414/0.00589, allocations: 7.938 kB / 349.7 MB, free: 7.031 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005394/0.006429, allocations: 219.3 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004152/0.006844, allocations: 175.3 kB / 350.1 MB, free: 6.645 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004487/0.007293, allocations: 139.6 kB / 350.2 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003422/0.007635, allocations: 243.2 kB / 350.4 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.00775, allocations: 13.81 kB / 350.5 MB, free: 6.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.00797, allocations: 135.6 kB / 350.6 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.008171, allocations: 151.7 kB / 350.7 MB, free: 5.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.008204, allocations: 4 kB / 350.7 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.008335, allocations: 43.92 kB / 350.8 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.00842, allocations: 67.7 kB / 350.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.008492, allocations: 35.86 kB / 350.9 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.008787, allocations: 207.2 kB / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.008791, allocations: 0 / 351.1 MB, free: 5.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008792, allocations: 4 kB / 351.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.008798, allocations: 0 / 351.1 MB, free: 5.621 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.0007524/0.009551, allocations: 488.4 kB / 351.6 MB, free: 5.113 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.009586, allocations: 8.031 kB / 351.6 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.823e-05/0.009674, allocations: 44.69 kB / 351.6 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/0.01003, allocations: 213.8 kB / 351.8 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.945e-05/0.01005, allocations: 8.375 kB / 351.8 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.218e-05/0.01008, allocations: 4.375 kB / 351.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.0103, allocations: 99.91 kB / 351.9 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.01031, allocations: 7.938 kB / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.01033, allocations: 0 / 351.9 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.01033, allocations: 4 kB / 352 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.01045, allocations: 43.91 kB / 352 MB, free: 4.648 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004609/0.01091, allocations: 388.7 kB / 352.4 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.01118, allocations: 113.2 kB / 352.5 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.372e-05/0.01127, allocations: 45.69 kB / 352.5 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.01129, allocations: 8 kB / 352.5 MB, free: 4.047 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.01151, allocations: 117 kB / 352.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.01151, allocations: 0 / 352.7 MB, free: 3.914 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009509/0.01246, allocations: 388.5 kB / 353 MB, free: 3.527 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.01249, allocations: 81.11 kB / 353.1 MB, free: 3.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003383/0.01283, allocations: 436.5 kB / 353.5 MB, free: 2.992 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.01285, allocations: 33.7 kB / 353.6 MB, free: 2.953 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.486e-05/0.01292, allocations: 148.4 kB / 353.7 MB, free: 2.805 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.01297, allocations: 59.56 kB / 353.8 MB, free: 2.746 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.028e-05/0.01302, allocations: 33.7 kB / 353.8 MB, free: 2.707 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.206e-05/0.01309, allocations: 350.8 kB / 354.1 MB, free: 2.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.982e-05/0.01319, allocations: 39.97 kB / 354.2 MB, free: 2.316 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.869e-05/0.01329, allocations: 79.3 kB / 354.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.01348, allocations: 123.6 kB / 354.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.01348, allocations: 0 / 354.4 MB, free: 2.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003292/0.01381, allocations: 198.1 kB / 354.6 MB, free: 1.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.01383, allocations: 7.984 kB / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01384, allocations: 0 / 354.6 MB, free: 1.887 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.01387, allocations: 4 kB / 354.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01402, allocations: 35.92 kB / 354.6 MB, free: 1.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.01403, allocations: 4 kB / 354.6 MB, free: 1.844 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.01412, allocations: 4 kB / 354.6 MB, free: 1.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.01413, allocations: 12 kB / 354.6 MB, free: 1.828 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 0.0001418/0.01428, allocations: 161.8 kB / 354.8 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.01433, allocations: 43.86 kB / 354.8 MB, free: 1.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004067/0.01473, allocations: 220.2 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.01474, allocations: 0 / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01474, allocations: 4 kB / 355.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01475, allocations: 0 / 355.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006156/0.01536, allocations: 0.5772 MB / 355.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01537, allocations: 0 / 355.6 MB, free: 0.7695 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.553e-05/0.01543, allocations: 23.98 kB / 355.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.01544, allocations: 8 kB / 355.7 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.01545, allocations: 7.938 kB / 355.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01545, allocations: 0 / 355.7 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01545, allocations: 7.938 kB / 355.7 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003746/0.01583, allocations: 396.2 kB / 356.1 MB, free: 320 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.32e-05/0.01586, allocations: 23.81 kB / 356.1 MB, free: 296 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.787e-05/0.0159, allocations: 8 kB / 356.1 MB, free: 288 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01604, allocations: 7.984 kB / 356.1 MB, free: 280 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.0161, allocations: 23.86 kB / 356.1 MB, free: 256 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.01612, allocations: 11.98 kB / 356.2 MB, free: 244 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002844/0.0164, allocations: 327 kB / 356.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0164, allocations: 0 / 356.5 MB, free: 15.92 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003804/0.01678, allocations: 39.92 kB / 356.5 MB, free: 15.88 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.002373/0.01916, allocations: 0.493 MB / 357 MB, free: 15.49 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003737/0.01953, allocations: 123.8 kB / 357.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01953, allocations: 0 / 357.1 MB, free: 15.37 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.0197, allocations: 59.86 kB / 357.2 MB, free: 15.31 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.0203, allocations: 62.17 kB / 357.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.02145, allocations: 0.5106 MB / 357.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.02167, allocations: 157.1 kB / 357.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.02179, allocations: 30.25 kB / 357.9 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.624e-05/0.02186, allocations: 28.5 kB / 358 MB, free: 14.49 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02186, allocations: 4 kB / 358 MB, free: 14.48 MB / 298.7 MB Notification: Performance of Templates: time 0.009062/0.03093, allocations: 2.933 MB / 360.9 MB, free: 11.57 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test75.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.023505908087827]