Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 93.56 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001546/0.001547, allocations: 202.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.471/1.471, allocations: 227.7 MB / 246.8 MB, free: 11.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.232/0.232, allocations: 46.19 MB / 345.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002586, allocations: 15.94 kB / 419.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1281, allocations: 63.55 MB / 483.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.002221/0.1304, allocations: 1.407 MB / 484.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001716/0.1321, allocations: 0.9668 MB / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.968e-05/0.1323, allocations: 0 / 485.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003024/0.1326, allocations: 55.81 kB / 485.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.1329, allocations: 87.72 kB / 485.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1331, allocations: 63.88 kB / 485.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.1333, allocations: 91.69 kB / 485.8 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.1333, allocations: 12.23 kB / 485.8 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.1335, allocations: 47.72 kB / 485.8 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.1335, allocations: 27.84 kB / 485.8 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.1336, allocations: 4 kB / 485.8 MB, free: 1.371 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.1337, allocations: 27.98 kB / 485.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.032e-05/0.1337, allocations: 31.8 kB / 485.9 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.805e-05/0.1338, allocations: 73.36 kB / 486 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.134, allocations: 119.8 kB / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.134, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.134, allocations: 0 / 486.1 MB, free: 1.117 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.134, allocations: 4 kB / 486.1 MB, free: 1.113 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.0005705/0.1346, allocations: 407 kB / 486.5 MB, free: 0.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.1347, allocations: 12.86 kB / 486.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.095e-05/0.1347, allocations: 16.75 kB / 486.5 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.135, allocations: 216.9 kB / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.135, allocations: 384 / 486.7 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.135, allocations: 16.06 kB / 486.8 MB, free: 380 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1352, allocations: 45.67 kB / 486.8 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.1352, allocations: 4 kB / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1352, allocations: 0 / 486.8 MB, free: 324 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.225e-06/0.1352, allocations: 8 kB / 486.8 MB, free: 316 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.984e-05/0.1353, allocations: 15.98 kB / 486.8 MB, free: 300 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000202/0.1355, allocations: 193.7 kB / 487 MB, free: 56 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.1357, allocations: 54.59 kB / 487.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.655e-05/0.1358, allocations: 24.8 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.433e-05/0.1358, allocations: 4 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001898/0.136, allocations: 63.34 kB / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 2.925e-06/0.136, allocations: 0 / 487.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003017/0.1363, allocations: 105.4 kB / 487.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.1364, allocations: 55.34 kB / 487.3 MB, free: 15.71 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002562/0.1366, allocations: 271 kB / 487.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.1367, allocations: 25.7 kB / 487.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.1367, allocations: 112.1 kB / 487.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1368, allocations: 15.81 kB / 487.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/0.1368, allocations: 13.7 kB / 487.7 MB, free: 15.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1369, allocations: 326.8 kB / 488.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.833e-05/0.137, allocations: 12 kB / 488.1 MB, free: 14.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.425e-05/0.137, allocations: 29.7 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.747e-05/0.1371, allocations: 45.7 kB / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1372, allocations: 0 / 488.1 MB, free: 14.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001616/0.1373, allocations: 89.38 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.1373, allocations: 10.34 kB / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1374, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1374, allocations: 0 / 488.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.858e-05/0.1375, allocations: 11.98 kB / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.1375, allocations: 192 / 488.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1375, allocations: 19.88 kB / 488.3 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-06/0.1375, allocations: 4 kB / 488.3 MB, free: 14.69 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.0001057/0.1377, allocations: 129.8 kB / 488.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1377, allocations: 15.81 kB / 488.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.346e-05/0.1377, allocations: 28.97 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.1377, allocations: 0 / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.1378, allocations: 0 / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.1378, allocations: 0 / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1379, allocations: 201.6 kB / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1379, allocations: 320 / 488.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.095e-05/0.138, allocations: 7.938 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.138, allocations: 4 kB / 488.7 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.138, allocations: 7.984 kB / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.138, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.138, allocations: 0 / 488.7 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001876/0.1382, allocations: 112.8 kB / 488.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.065e-05/0.1383, allocations: 100.9 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.1383, allocations: 0 / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.08e-05/0.1383, allocations: 7.938 kB / 488.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.1384, allocations: 3.984 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.1384, allocations: 4 kB / 488.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001686/0.1386, allocations: 200.4 kB / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1386, allocations: 0 / 489.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002279/0.1388, allocations: 27.98 kB / 489.1 MB, free: 13.77 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.0009942/0.1398, allocations: 405.7 kB / 489.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.14, allocations: 43.92 kB / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.14, allocations: 0 / 489.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.1401, allocations: 19.98 kB / 489.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003008/0.1404, allocations: 34.91 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005144/0.1409, allocations: 289.8 kB / 489.9 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002724/0.1412, allocations: 0.716 MB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.869e-05/0.1413, allocations: 12.56 kB / 490.6 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.1413, allocations: 19.42 kB / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1413, allocations: 0 / 490.6 MB, free: 12.32 MB / 366.1 MB Notification: Performance of Templates: time 0.00431/0.1456, allocations: 1.44 MB / 492.1 MB, free: 10.89 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches