Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001076/0.001076, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001189/0.001189, allocations: 166.6 kB / 24.99 MB, free: 8.789 MB / 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 0.9839/0.9839, allocations: 177.1 MB / 205.3 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3007/0.3007, allocations: 32.81 MB / 294.6 MB, free: 1.289 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 376.1 MB, free: 4.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.739e-05/2.94e-05, allocations: 4.281 kB / 376.1 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003395/0.003425, allocations: 1.844 MB / 377.9 MB, free: 3.066 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001929/0.005354, allocations: 1.076 MB / 379 MB, free: 1.984 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001248/0.005478, allocations: 7.938 kB / 379 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006268/0.006105, allocations: 311.1 kB / 379.3 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005737/0.006679, allocations: 255.1 kB / 379.6 MB, free: 1.422 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.006948, allocations: 115.5 kB / 379.7 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003769/0.007325, allocations: 271.2 kB / 379.9 MB, free: 1.043 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.007386, allocations: 9.812 kB / 379.9 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.007626, allocations: 151.6 kB / 380.1 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002777/0.007904, allocations: 207.6 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.007933, allocations: 8 kB / 380.3 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.008052, allocations: 47.92 kB / 380.3 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.00822, allocations: 143.5 kB / 380.5 MB, free: 496 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.008326, allocations: 75.66 kB / 380.6 MB, free: 420 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004105/0.008737, allocations: 278.9 kB / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.00874, allocations: 0 / 380.8 MB, free: 140 kB / 346.7 MB Notification: Performance of FrontEnd: time 8.02e-07/0.008741, allocations: 4 kB / 380.8 MB, free: 136 kB / 346.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.008747, allocations: 0 / 380.8 MB, free: 136 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001044/0.009792, allocations: 0.7979 MB / 381.6 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.009834, allocations: 8.031 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/0.00994, allocations: 56.56 kB / 381.7 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004637/0.0104, allocations: 328.7 kB / 382 MB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.493e-05/0.01043, allocations: 4.375 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.739e-05/0.01045, allocations: 4.375 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002081/0.01065, allocations: 94.22 kB / 382.1 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.01067, allocations: 11.88 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.01068, allocations: 0 / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-06/0.01069, allocations: 4 kB / 382.1 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.645e-05/0.01075, allocations: 19.98 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003947/0.01115, allocations: 312.2 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002035/0.01135, allocations: 106.1 kB / 382.6 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.01141, allocations: 31.36 kB / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.01143, allocations: 0 / 382.6 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001814/0.01161, allocations: 116.3 kB / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.01161, allocations: 0 / 382.7 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003899/0.012, allocations: 181.2 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.01206, allocations: 81.09 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000854/0.01291, allocations: 0.7097 MB / 383.7 MB, free: 13.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.301e-05/0.01294, allocations: 29.7 kB / 383.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.01318, allocations: 306.8 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.01323, allocations: 31.73 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.063e-05/0.01329, allocations: 39.36 kB / 384.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.01353, allocations: 0.5587 MB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.118e-05/0.01358, allocations: 19.98 kB / 384.6 MB, free: 12.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.01365, allocations: 58.67 kB / 384.7 MB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.01377, allocations: 75.23 kB / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01378, allocations: 0 / 384.8 MB, free: 11.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002535/0.01403, allocations: 157.2 kB / 384.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01405, allocations: 4 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.01405, allocations: 3.938 kB / 384.9 MB, free: 11.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.01407, allocations: 8.062 kB / 384.9 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.0142, allocations: 23.98 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.01421, allocations: 3.938 kB / 385 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.838e-05/0.01431, allocations: 11.95 kB / 385 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.01432, allocations: 4 kB / 385 MB, free: 11.69 MB / 362.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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001327/0.01445, allocations: 165.2 kB / 385.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.276e-05/0.01452, allocations: 55.67 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.01483, allocations: 165.8 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.01483, allocations: 4 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.01484, allocations: 0 / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.01484, allocations: 4 kB / 385.4 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003628/0.0152, allocations: 320.6 kB / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.01521, allocations: 0 / 385.7 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.528e-05/0.01526, allocations: 20 kB / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/0.01526, allocations: 0 / 385.7 MB, free: 10.92 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.01528, allocations: 7.984 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01528, allocations: 3.938 kB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01529, allocations: 0 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002982/0.01558, allocations: 215.6 kB / 385.9 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.01568, allocations: 67.66 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.703e-05/0.01573, allocations: 4 kB / 386 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.863e-05/0.01582, allocations: 7.938 kB / 386 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.229e-05/0.01587, allocations: 11.98 kB / 386 MB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.0159, allocations: 7.984 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005573/0.01645, allocations: 486.8 kB / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01645, allocations: 0 / 386.5 MB, free: 10.1 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000312/0.01677, allocations: 43.98 kB / 386.5 MB, free: 10.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001202/0.01797, allocations: 403.4 kB / 386.9 MB, free: 9.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.01817, allocations: 71.53 kB / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01818, allocations: 0 / 387 MB, free: 9.727 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.01826, allocations: 39.61 kB / 387 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.01868, allocations: 77.44 kB / 387.1 MB, free: 9.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.01973, allocations: 0.6753 MB / 387.8 MB, free: 8.898 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01986, allocations: 128.2 kB / 387.9 MB, free: 8.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.01997, allocations: 43.44 kB / 388 MB, free: 8.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.909e-05/0.02005, allocations: 28.5 kB / 388 MB, free: 8.68 MB / 362.7 MB Notification: Performance of SimCode: time 8.91e-07/0.02006, allocations: 0 / 388 MB, free: 8.68 MB / 362.7 MB Notification: Performance of Templates: time 0.006725/0.02678, allocations: 4.06 MB / 392.1 MB, free: 4.652 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.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.2573412840720266]