Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.001985/0.001985, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002067/0.002067, allocations: 165.3 kB / 24.27 MB, free: 152 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.586/1.586, 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.3755/0.3755, allocations: 32.8 MB / 293.9 MB, free: 1.223 MB / 266.7 MB " [Timeout remaining time 179] 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 375.3 MB, free: 4.926 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/2.971e-05, allocations: 2.312 kB / 375.3 MB, free: 4.922 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003645/0.003674, allocations: 1.817 MB / 377.2 MB, free: 3.09 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.006031, allocations: 1.068 MB / 378.2 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001431/0.006174, allocations: 7.938 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.006789, allocations: 299.2 kB / 378.5 MB, free: 1.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006206/0.007409, allocations: 271 kB / 378.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003172/0.007727, allocations: 111.6 kB / 378.9 MB, free: 1.34 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004572/0.008184, allocations: 267.2 kB / 379.2 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.508e-05/0.008239, allocations: 13.8 kB / 379.2 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002714/0.00851, allocations: 147.6 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003127/0.008823, allocations: 207.6 kB / 379.5 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.141e-05/0.008854, allocations: 4 kB / 379.5 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.008991, allocations: 51.86 kB / 379.6 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.009181, allocations: 143.5 kB / 379.7 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.009304, allocations: 75.66 kB / 379.8 MB, free: 456 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.009806, allocations: 354.8 kB / 380.1 MB, free: 100 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.009811, allocations: 4 kB / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.009812, allocations: 0 / 380.1 MB, free: 96 kB / 346.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.009823, allocations: 0 / 380.1 MB, free: 96 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.001335/0.01116, allocations: 0.8095 MB / 380.9 MB, free: 15.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.0112, allocations: 8.031 kB / 381 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001304/0.01133, allocations: 56.56 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006156/0.01194, allocations: 344.6 kB / 381.3 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.01197, allocations: 4.359 kB / 381.3 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.01198, allocations: 4.375 kB / 381.4 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.01219, allocations: 97.53 kB / 381.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.01221, allocations: 3.938 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.01222, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.01222, allocations: 0 / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.01233, allocations: 27.97 kB / 381.5 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.01284, allocations: 352.3 kB / 381.8 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003056/0.01314, allocations: 118.1 kB / 381.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.212e-05/0.01323, allocations: 35.36 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01326, allocations: 7.984 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000232/0.01349, allocations: 124.3 kB / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.01349, allocations: 0 / 382.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005259/0.01402, allocations: 201.1 kB / 382.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.536e-05/0.01408, allocations: 77.11 kB / 382.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.01509, allocations: 0.7838 MB / 383.2 MB, free: 12.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.01512, allocations: 25.7 kB / 383.2 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003018/0.01542, allocations: 330.8 kB / 383.5 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.888e-05/0.01547, allocations: 23.86 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.456e-05/0.01553, allocations: 35.36 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003843/0.01592, allocations: 0.5821 MB / 384.1 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.572e-05/0.016, allocations: 31.98 kB / 384.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000108/0.01611, allocations: 62.73 kB / 384.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001806/0.01629, allocations: 91.17 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01629, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003349/0.01663, allocations: 185.2 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.01664, allocations: 6.188 kB / 384.5 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.01665, allocations: 3.938 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.01667, allocations: 4 kB / 384.5 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.01679, allocations: 24.05 kB / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.0168, allocations: 0 / 384.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.0169, allocations: 19.89 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.01691, allocations: 4 kB / 384.6 MB, free: 11.37 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.0001641/0.01707, allocations: 177 kB / 384.7 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.205e-05/0.01716, allocations: 55.66 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003903/0.01755, allocations: 177.8 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.01755, allocations: 4 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.01755, allocations: 0 / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.01756, allocations: 3.984 kB / 385 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.018, allocations: 360.4 kB / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01801, allocations: 0 / 385.3 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.01806, allocations: 19.98 kB / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01806, allocations: 0 / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/0.01807, allocations: 0 / 385.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.01808, allocations: 7.938 kB / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01808, allocations: 0 / 385.4 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000385/0.01847, allocations: 231.9 kB / 385.6 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.01862, allocations: 67.55 kB / 385.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.594e-05/0.01867, allocations: 4 kB / 385.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.01876, allocations: 15.92 kB / 385.7 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.01881, allocations: 11.92 kB / 385.7 MB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.099e-05/0.01883, allocations: 8 kB / 385.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00064/0.01947, allocations: 0.5027 MB / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01947, allocations: 0 / 386.2 MB, free: 9.672 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002751/0.01975, allocations: 40 kB / 386.2 MB, free: 9.633 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.002853/0.0226, allocations: 436.5 kB / 386.7 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002843/0.02289, allocations: 95.64 kB / 386.7 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02289, allocations: 128 / 386.7 MB, free: 9.289 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.023, allocations: 55.8 kB / 386.8 MB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.02347, allocations: 81.73 kB / 386.9 MB, free: 9.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.02463, allocations: 0.6908 MB / 387.6 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.02491, allocations: 229.5 kB / 387.8 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001181/0.02503, allocations: 46.89 kB / 387.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.476e-05/0.02512, allocations: 32.48 kB / 387.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.02512, allocations: 0 / 387.9 MB, free: 8.105 MB / 362.7 MB Notification: Performance of Templates: time 0.009542/0.03466, allocations: 4.009 MB / 391.9 MB, free: 4.129 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test71.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.093943198095076]