Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.001453/0.001453, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001607/0.001607, allocations: 161.7 kB / 24.27 MB, free: 168 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.55/1.55, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] 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.3432/0.3432, allocations: 32.79 MB / 293.9 MB, free: 1.223 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.983e-06/1.983e-06, allocations: 0 / 375.3 MB, free: 4.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.199e-05, allocations: 6.25 kB / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.004072/0.004104, allocations: 1.793 MB / 377.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002557/0.006661, allocations: 1.045 MB / 378.2 MB, free: 2.07 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000153/0.006814, allocations: 7.938 kB / 378.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008587/0.007672, allocations: 295.2 kB / 378.5 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000733/0.008405, allocations: 263 kB / 378.7 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.008761, allocations: 99.62 kB / 378.8 MB, free: 1.418 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004834/0.009244, allocations: 271.2 kB / 379.1 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.885e-05/0.009303, allocations: 9.797 kB / 379.1 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003279/0.009631, allocations: 151.6 kB / 379.2 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003425/0.009973, allocations: 208.1 kB / 379.4 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.01002, allocations: 8 kB / 379.5 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001492/0.01017, allocations: 47.92 kB / 379.5 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.01036, allocations: 136.5 kB / 379.6 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.01049, allocations: 75.66 kB / 379.7 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006167/0.01111, allocations: 350.7 kB / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.01111, allocations: 0 / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.01111, allocations: 0 / 380.1 MB, free: 188 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.01112, allocations: 0 / 380.1 MB, free: 188 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.001367/0.01249, allocations: 0.6631 MB / 380.7 MB, free: 15.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.01253, allocations: 12.03 kB / 380.7 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.01268, allocations: 56.61 kB / 380.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000778/0.01346, allocations: 397.7 kB / 381.2 MB, free: 15.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.01348, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.0135, allocations: 4.375 kB / 381.2 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002419/0.01374, allocations: 83.92 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.01375, allocations: 3.938 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.01376, allocations: 4 kB / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.01377, allocations: 0 / 381.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001498/0.01392, allocations: 39.91 kB / 381.3 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.0144, allocations: 306 kB / 381.6 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.01472, allocations: 105.2 kB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00011/0.01483, allocations: 37.7 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.01485, allocations: 4 kB / 381.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002713/0.01512, allocations: 109.1 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.133e-06/0.01512, allocations: 4 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006514/0.01577, allocations: 209.2 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.188e-05/0.01585, allocations: 85.05 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.01728, allocations: 1.038 MB / 383.2 MB, free: 12.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.418e-05/0.01731, allocations: 33.7 kB / 383.2 MB, free: 12.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.01755, allocations: 232.1 kB / 383.4 MB, free: 12.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.221e-05/0.0176, allocations: 23.84 kB / 383.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.826e-05/0.01766, allocations: 29.72 kB / 383.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.01789, allocations: 366.8 kB / 383.9 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.75e-05/0.01799, allocations: 35.97 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.0181, allocations: 63.3 kB / 384 MB, free: 12.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000201/0.0183, allocations: 91.34 kB / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.0183, allocations: 0 / 384 MB, free: 11.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003671/0.01867, allocations: 185.8 kB / 384.2 MB, free: 11.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.01869, allocations: 8 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.01869, allocations: 3.938 kB / 384.2 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.01872, allocations: 8.047 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.01885, allocations: 27.92 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01886, allocations: 0 / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.01896, allocations: 7.938 kB / 384.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.01898, allocations: 8 kB / 384.3 MB, free: 11.72 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.0002669/0.01925, allocations: 222.3 kB / 384.5 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.081e-05/0.01934, allocations: 59.62 kB / 384.6 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004453/0.01978, allocations: 197.8 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.01979, allocations: 4 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.01979, allocations: 4 kB / 384.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.0198, allocations: 3.984 kB / 384.8 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003502/0.02015, allocations: 265.2 kB / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.02015, allocations: 0 / 385 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.0202, allocations: 19.92 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.0202, allocations: 0 / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.02022, allocations: 3.938 kB / 385 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.02022, allocations: 7.938 kB / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.02022, allocations: 0 / 385.1 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004152/0.02064, allocations: 225.6 kB / 385.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.02076, allocations: 67.59 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.0208, allocations: 4 kB / 385.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003757/0.02118, allocations: 16.06 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.02124, allocations: 11.98 kB / 385.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.343e-05/0.02126, allocations: 7.984 kB / 385.4 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009808/0.02224, allocations: 0.7682 MB / 386.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02224, allocations: 0 / 386.1 MB, free: 9.789 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002836/0.02253, allocations: 47.98 kB / 386.2 MB, free: 9.742 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.001962/0.02449, allocations: 440.5 kB / 386.6 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002825/0.02477, allocations: 87.89 kB / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.02477, allocations: 0 / 386.7 MB, free: 9.402 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.0249, allocations: 39.92 kB / 386.7 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.02536, allocations: 82.44 kB / 386.8 MB, free: 9.285 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.0268, allocations: 0.8936 MB / 387.7 MB, free: 8.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.02711, allocations: 245.6 kB / 388 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.02723, allocations: 50.97 kB / 388 MB, free: 8.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.219e-05/0.02731, allocations: 36.48 kB / 388 MB, free: 8.008 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02731, allocations: 0 / 388 MB, free: 8.008 MB / 362.7 MB Notification: Performance of Templates: time 0.009377/0.03669, allocations: 4.008 MB / 392.1 MB, free: 4.035 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.034994538058527]