Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001534/0.001534, allocations: 71.77 kB / 21.69 MB, free: 2.859 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: 162.6 kB / 24.99 MB, free: 8.336 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 1.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3029/0.3029, allocations: 34.26 MB / 296 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.[0-9,]+.|startTime.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.017e-05/3.207e-05, allocations: 9.906 kB / 378.1 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003722/0.003754, allocations: 1.844 MB / 379.9 MB, free: 1.02 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00154/0.005294, allocations: 1.076 MB / 381 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.005419, allocations: 4 kB / 381 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005471/0.005966, allocations: 299.1 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.006462, allocations: 263 kB / 381.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002713/0.006733, allocations: 103.6 kB / 381.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.007053, allocations: 271.2 kB / 381.9 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.047e-05/0.007104, allocations: 9.75 kB / 382 MB, free: 15 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.007276, allocations: 155.6 kB / 382.1 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.007477, allocations: 196.1 kB / 382.3 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.007502, allocations: 8 kB / 382.3 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.007616, allocations: 51.91 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.007744, allocations: 136.5 kB / 382.5 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.794e-05/0.007842, allocations: 71.66 kB / 382.6 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003628/0.008205, allocations: 274.9 kB / 382.8 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.008211, allocations: 3.984 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.008212, allocations: 4 kB / 382.8 MB, free: 14.12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.703e-06/0.008219, allocations: 0 / 382.8 MB, free: 14.12 MB / 362.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.000788/0.009007, allocations: 0.7824 MB / 383.6 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.009049, allocations: 12.03 kB / 383.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.00914, allocations: 56.59 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.009502, allocations: 328.6 kB / 384 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.009528, allocations: 4.375 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.009541, allocations: 4.375 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.009736, allocations: 94.28 kB / 384.1 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.009745, allocations: 7.938 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.314e-05/0.009758, allocations: 0 / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.009767, allocations: 0 / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.196e-05/0.009819, allocations: 23.92 kB / 384.1 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003218/0.01014, allocations: 308.2 kB / 384.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001602/0.0103, allocations: 90.22 kB / 384.5 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.01035, allocations: 39.3 kB / 384.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/0.01037, allocations: 11.98 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001515/0.01052, allocations: 104.4 kB / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.01052, allocations: 0 / 384.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003288/0.01085, allocations: 181.2 kB / 384.9 MB, free: 11.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.0109, allocations: 81.11 kB / 384.9 MB, free: 11.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005228/0.01142, allocations: 0.7018 MB / 385.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.01144, allocations: 33.64 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.01159, allocations: 302.8 kB / 386 MB, free: 10.76 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.305e-05/0.01164, allocations: 23.84 kB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.01169, allocations: 35.36 kB / 386 MB, free: 10.7 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.01185, allocations: 0.5626 MB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.667e-05/0.01189, allocations: 15.98 kB / 386.6 MB, free: 10.11 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.975e-05/0.01194, allocations: 58.48 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.01203, allocations: 78.67 kB / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01203, allocations: 0 / 386.7 MB, free: 9.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001786/0.01221, allocations: 153.2 kB / 386.9 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.01222, allocations: 4 kB / 386.9 MB, free: 9.781 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.01223, allocations: 12 kB / 386.9 MB, free: 9.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01225, allocations: 3.984 kB / 386.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.909e-05/0.01234, allocations: 19.94 kB / 386.9 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01235, allocations: 4 kB / 386.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.01241, allocations: 12.55 kB / 386.9 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.01242, allocations: 8 kB / 386.9 MB, free: 9.723 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.0001037/0.01252, allocations: 161.2 kB / 387.1 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.751e-05/0.01257, allocations: 55.62 kB / 387.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.01281, allocations: 181.8 kB / 387.3 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.01281, allocations: 4 kB / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.01282, allocations: 0 / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.01282, allocations: 0 / 387.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.01304, allocations: 308.4 kB / 387.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.01305, allocations: 0 / 387.6 MB, free: 8.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.01308, allocations: 15.92 kB / 387.7 MB, free: 8.961 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.01308, allocations: 4 kB / 387.7 MB, free: 8.957 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.0131, allocations: 4 kB / 387.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.0131, allocations: 3.938 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.0131, allocations: 0 / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/0.01328, allocations: 211.7 kB / 387.9 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.199e-05/0.01334, allocations: 63.66 kB / 387.9 MB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.01338, allocations: 4 kB / 387.9 MB, free: 8.648 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.798e-05/0.01342, allocations: 11.92 kB / 388 MB, free: 8.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.01347, allocations: 11.98 kB / 388 MB, free: 8.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.848e-05/0.01349, allocations: 11.94 kB / 388 MB, free: 8.613 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.01382, allocations: 474.8 kB / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01382, allocations: 0 / 388.4 MB, free: 8.152 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002013/0.01402, allocations: 47.98 kB / 388.5 MB, free: 8.105 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.0008831/0.0149, allocations: 388 kB / 388.9 MB, free: 7.863 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001882/0.01509, allocations: 67.59 kB / 388.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01509, allocations: 0 / 388.9 MB, free: 7.793 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.868e-05/0.01516, allocations: 43.98 kB / 389 MB, free: 7.746 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003908/0.01555, allocations: 81.17 kB / 389.1 MB, free: 7.672 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009449/0.0165, allocations: 0.6519 MB / 389.7 MB, free: 6.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.01662, allocations: 136.2 kB / 389.8 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.01672, allocations: 38.95 kB / 389.9 MB, free: 6.789 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.01679, allocations: 32.48 kB / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01679, allocations: 0 / 389.9 MB, free: 6.758 MB / 362.7 MB Notification: Performance of Templates: time 0.008492/0.02528, allocations: 4.015 MB / 393.9 MB, free: 2.773 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.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.366013390943408]