Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001252/0.001252, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001237/0.001237, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2081/0.2081, allocations: 46.1 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 71.89 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 62.45 MB / 481.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003289/0.1524, allocations: 1.684 MB / 483.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.154, allocations: 0.9977 MB / 484.2 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.411e-05/0.1541, allocations: 4 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003178/0.1544, allocations: 67.72 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002858/0.1547, allocations: 103.6 kB / 484.3 MB, free: 1.637 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.1549, allocations: 67.69 kB / 484.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1551, allocations: 107.7 kB / 484.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.913e-05/0.1552, allocations: 12.22 kB / 484.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.234e-05/0.1552, allocations: 43.78 kB / 484.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.1553, allocations: 51.77 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1554, allocations: 4 kB / 484.6 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.149e-05/0.1555, allocations: 35.94 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.262e-05/0.1555, allocations: 23.91 kB / 484.7 MB, free: 1.297 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.1556, allocations: 31.8 kB / 484.7 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000187/0.1558, allocations: 103.6 kB / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1558, allocations: 0 / 484.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.118e-06/0.1558, allocations: 4 kB / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.8e-06/0.1558, allocations: 0 / 484.8 MB, free: 1.16 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005494/0.1564, allocations: 410.9 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1564, allocations: 8.031 kB / 485.2 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1565, allocations: 12.83 kB / 485.2 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.1567, allocations: 212.7 kB / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.1568, allocations: 384 / 485.4 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1568, allocations: 8.125 kB / 485.4 MB, free: 448 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.157, allocations: 45.67 kB / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.157, allocations: 0 / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.157, allocations: 0 / 485.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.157, allocations: 8 kB / 485.5 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.668e-05/0.1571, allocations: 15.98 kB / 485.5 MB, free: 372 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002377/0.1573, allocations: 185.7 kB / 485.7 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.1575, allocations: 54.56 kB / 485.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.485e-05/0.1576, allocations: 24.78 kB / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.1576, allocations: 0 / 485.8 MB, free: 44 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001569/0.1577, allocations: 67.39 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1578, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002978/0.1581, allocations: 97.42 kB / 485.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.694e-05/0.1581, allocations: 55.39 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1583, allocations: 198.4 kB / 486.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.1583, allocations: 25.7 kB / 486.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/0.1584, allocations: 104.1 kB / 486.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.217e-05/0.1585, allocations: 15.89 kB / 486.3 MB, free: 15.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.1585, allocations: 17.72 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.1586, allocations: 322.8 kB / 486.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.1587, allocations: 12 kB / 486.7 MB, free: 15.08 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.1588, allocations: 29.7 kB / 486.7 MB, free: 15.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.1589, allocations: 57.58 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1589, allocations: 0 / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001489/0.1591, allocations: 81.44 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.1591, allocations: 8 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.1591, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1591, allocations: 0 / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.1592, allocations: 15.92 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.1592, allocations: 4 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.408e-05/0.1593, allocations: 0 / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.1593, allocations: 4.031 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001167/0.1594, allocations: 129.8 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1595, allocations: 15.81 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1595, allocations: 9 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1595, allocations: 4 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1595, allocations: 0 / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.1595, allocations: 4.297 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001475/0.1597, allocations: 189.5 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1597, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.1597, allocations: 4 kB / 487.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.1597, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1597, allocations: 4 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.1597, allocations: 3.984 kB / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1597, allocations: 0 / 487.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.1599, allocations: 112.9 kB / 487.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.662e-05/0.16, allocations: 85 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.314e-05/0.16, allocations: 8 kB / 487.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.1601, allocations: 4 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.623e-05/0.1601, allocations: 0 / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1601, allocations: 7.984 kB / 487.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001293/0.1603, allocations: 144.2 kB / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1603, allocations: 0 / 487.6 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000218/0.1605, allocations: 19.98 kB / 487.6 MB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001014/0.1615, allocations: 414.6 kB / 488 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1617, allocations: 43.92 kB / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1617, allocations: 0 / 488 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.413e-05/0.1618, allocations: 23.98 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.162, allocations: 31.47 kB / 488.1 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004591/0.1625, allocations: 205.9 kB / 488.3 MB, free: 13.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003669/0.1629, allocations: 0.701 MB / 489 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.388e-05/0.163, allocations: 20.55 kB / 489 MB, free: 12.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.428e-05/0.163, allocations: 15.44 kB / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.163, allocations: 0 / 489 MB, free: 12.68 MB / 366.1 MB Notification: Performance of Templates: time 0.004232/0.1673, allocations: 1.493 MB / 490.5 MB, free: 11.2 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches