Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001746/0.001746, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002028/0.002028, allocations: 212.9 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.592/1.592, allocations: 230.5 MB / 257.4 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2642/0.2642, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00223/0.00223, allocations: 79.88 kB / 0.4967 GB, free: 7 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4601, allocations: 66.1 MB / 0.5612 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003602/0.4637, allocations: 1.784 MB / 0.563 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002227/0.466, allocations: 1.04 MB / 0.564 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001078/0.4661, allocations: 11.88 kB / 0.564 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006022/0.4667, allocations: 311.3 kB / 0.5643 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005727/0.4672, allocations: 255.2 kB / 0.5645 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.4675, allocations: 103.7 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003403/0.4679, allocations: 263.3 kB / 0.5649 GB, free: 192 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.006e-05/0.4679, allocations: 13.73 kB / 0.5649 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.4681, allocations: 135.5 kB / 0.565 GB, free: 40 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002822/0.4684, allocations: 215.4 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.4684, allocations: 12 kB / 0.5653 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4685, allocations: 51.92 kB / 0.5653 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.4687, allocations: 131.6 kB / 0.5654 GB, free: 15.64 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.4688, allocations: 111.1 kB / 0.5655 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005184/0.4694, allocations: 396.5 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.4694, allocations: 4 kB / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4694, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4694, allocations: 0 / 0.5659 GB, free: 15.14 MB / 414.1 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.001141/0.4705, allocations: 0.6786 MB / 0.5666 GB, free: 14.43 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.4706, allocations: 16.03 kB / 0.5666 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.724e-05/0.4706, allocations: 48.61 kB / 0.5666 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007872/0.4714, allocations: 386.5 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4714, allocations: 4.375 kB / 0.567 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.932e-05/0.4715, allocations: 16.28 kB / 0.567 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.4717, allocations: 87.67 kB / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.4717, allocations: 0 / 0.5671 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.4717, allocations: 3.984 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.4717, allocations: 4 kB / 0.5671 GB, free: 13.84 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.4718, allocations: 27.98 kB / 0.5671 GB, free: 13.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.4723, allocations: 329.9 kB / 0.5675 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002937/0.4726, allocations: 101.2 kB / 0.5676 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.4727, allocations: 41.69 kB / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.4727, allocations: 0 / 0.5676 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.473, allocations: 109 kB / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.473, allocations: 0 / 0.5677 GB, free: 13.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005167/0.4735, allocations: 217.2 kB / 0.5679 GB, free: 12.95 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.4736, allocations: 81.11 kB / 0.568 GB, free: 12.85 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.4749, allocations: 1.062 MB / 0.569 GB, free: 11.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.4749, allocations: 29.64 kB / 0.569 GB, free: 11.74 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00024/0.4751, allocations: 240.1 kB / 0.5693 GB, free: 11.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.339e-05/0.4752, allocations: 31.73 kB / 0.5693 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.09e-05/0.4753, allocations: 25.72 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.4755, allocations: 374.8 kB / 0.5697 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.82e-05/0.4756, allocations: 31.98 kB / 0.5697 GB, free: 11.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001163/0.4757, allocations: 71.34 kB / 0.5698 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.4759, allocations: 87.36 kB / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4759, allocations: 0 / 0.5699 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004321/0.4763, allocations: 177.2 kB / 0.57 GB, free: 10.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.4764, allocations: 11.94 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.4764, allocations: 0 / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.4764, allocations: 4.688 kB / 0.5701 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.4765, allocations: 23.98 kB / 0.5701 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.156e-05/0.4765, allocations: 3.938 kB / 0.5701 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/0.4766, allocations: 15.92 kB / 0.5701 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4766, allocations: 4 kB / 0.5701 GB, free: 10.61 MB / 414.1 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.0003591/0.477, allocations: 222.7 kB / 0.5703 GB, free: 10.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.827e-05/0.4771, allocations: 59.55 kB / 0.5704 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004337/0.4775, allocations: 205.8 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.4775, allocations: 0 / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.4775, allocations: 4 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.4775, allocations: 4 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003721/0.4779, allocations: 269.2 kB / 0.5708 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4779, allocations: 0 / 0.5708 GB, free: 9.816 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.86e-05/0.478, allocations: 12 kB / 0.5708 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.478, allocations: 0 / 0.5708 GB, free: 9.805 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.478, allocations: 11.86 kB / 0.5709 GB, free: 9.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.478, allocations: 7.938 kB / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.478, allocations: 0 / 0.5709 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.4784, allocations: 213.6 kB / 0.5711 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001536/0.4785, allocations: 75.58 kB / 0.5711 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.4786, allocations: 11.92 kB / 0.5711 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.4787, allocations: 4 kB / 0.5712 GB, free: 9.465 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.336e-05/0.4787, allocations: 11.98 kB / 0.5712 GB, free: 9.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.4787, allocations: 4 kB / 0.5712 GB, free: 9.449 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.4799, allocations: 0.7956 MB / 0.5719 GB, free: 8.656 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4799, allocations: 0 / 0.5719 GB, free: 8.656 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003245/0.4802, allocations: 44 kB / 0.572 GB, free: 8.613 MB / 414.1 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.001764/0.482, allocations: 433.3 kB / 0.5724 GB, free: 8.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003163/0.4823, allocations: 87.89 kB / 0.5725 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4823, allocations: 0 / 0.5725 GB, free: 8.246 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.4825, allocations: 43.91 kB / 0.5725 GB, free: 8.203 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.483, allocations: 72.95 kB / 0.5726 GB, free: 8.133 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001459/0.4844, allocations: 0.8973 MB / 0.5735 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.4847, allocations: 245.7 kB / 0.5737 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001304/0.4848, allocations: 59.45 kB / 0.5738 GB, free: 6.891 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.992e-05/0.4849, allocations: 31.42 kB / 0.5738 GB, free: 6.863 MB / 414.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4849, allocations: 0 / 0.5738 GB, free: 6.863 MB / 414.1 MB Notification: Performance of Templates: time 0.01115/0.4961, allocations: 4.388 MB / 0.5781 GB, free: 2.504 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test72.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.561946991831064]