Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002094/0.002094, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.396/1.396, allocations: 227.4 MB / 247.4 MB, free: 10.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2204/0.2204, allocations: 46.1 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 84.45 kB / 418.3 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 62.44 MB / 480.7 MB, free: 5.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.004303/0.1309, allocations: 1.75 MB / 482.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.133, allocations: 1.021 MB / 483.5 MB, free: 2.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001641/0.1332, allocations: 3.938 kB / 483.5 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004496/0.1337, allocations: 87.69 kB / 483.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005188/0.1342, allocations: 115.6 kB / 483.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003329/0.1346, allocations: 83.67 kB / 483.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002635/0.1349, allocations: 115.7 kB / 483.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.135, allocations: 15.98 kB / 483.9 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.1351, allocations: 55.77 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.1353, allocations: 63.7 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1353, allocations: 4 kB / 484 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.1354, allocations: 63.97 kB / 484.1 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.452e-05/0.1355, allocations: 23.92 kB / 484.1 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.1356, allocations: 39.67 kB / 484.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.1359, allocations: 139.8 kB / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1359, allocations: 0 / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1359, allocations: 0 / 484.3 MB, free: 1.688 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1359, allocations: 4 kB / 484.3 MB, free: 1.684 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006181/0.1365, allocations: 426.9 kB / 484.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1366, allocations: 8.031 kB / 484.7 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.639e-05/0.1366, allocations: 20.69 kB / 484.7 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002435/0.1369, allocations: 220 kB / 484.9 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.1369, allocations: 4.375 kB / 484.9 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.1369, allocations: 4.125 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.1371, allocations: 57.67 kB / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1371, allocations: 0 / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.1371, allocations: 0 / 485 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.147e-05/0.1372, allocations: 11.92 kB / 485 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.603e-05/0.1372, allocations: 35.84 kB / 485 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004259/0.1377, allocations: 308.7 kB / 485.3 MB, free: 480 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000255/0.1379, allocations: 62.55 kB / 485.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.049e-05/0.138, allocations: 16.98 kB / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.138, allocations: 0 / 485.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1383, allocations: 75.31 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.1383, allocations: 4 kB / 485.5 MB, free: 296 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008158/0.1391, allocations: 233.5 kB / 485.7 MB, free: 56 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.686e-05/0.1392, allocations: 63.34 kB / 485.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002112/0.1394, allocations: 216.3 kB / 486 MB, free: 15.76 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.1394, allocations: 29.7 kB / 486 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.949e-05/0.1395, allocations: 108.1 kB / 486.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1396, allocations: 35.61 kB / 486.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.812e-05/0.1396, allocations: 29.72 kB / 486.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1397, allocations: 330.8 kB / 486.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.78e-05/0.1398, allocations: 24 kB / 486.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.19e-05/0.1399, allocations: 53.69 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.1401, allocations: 85.64 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1401, allocations: 0 / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002181/0.1403, allocations: 133.4 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.1403, allocations: 6.5 kB / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1403, allocations: 0 / 486.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1404, allocations: 4 kB / 486.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.804e-05/0.1404, allocations: 19.98 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.1405, allocations: 3.938 kB / 486.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.153e-05/0.1405, allocations: 8 kB / 486.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1405, allocations: 4 kB / 486.9 MB, free: 14.86 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 (13): * Single equations (assignments): 13 * 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.0001241/0.1407, allocations: 141.7 kB / 487 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.862e-05/0.1407, allocations: 11.81 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.112e-05/0.1407, allocations: 25.39 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1408, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.1408, allocations: 3.938 kB / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1408, allocations: 0 / 487 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/0.1413, allocations: 463.9 kB / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.1414, allocations: 0 / 487.5 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.592e-05/0.1414, allocations: 12 kB / 487.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.341e-06/0.1414, allocations: 8.078 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1414, allocations: 3.938 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1414, allocations: 0 / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1415, allocations: 4 kB / 487.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.1417, allocations: 229.1 kB / 487.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.695e-05/0.1418, allocations: 92.91 kB / 487.8 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.1418, allocations: 8 kB / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.033e-05/0.1419, allocations: 0 / 487.8 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.1419, allocations: 11.98 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.142, allocations: 4 kB / 487.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000137/0.1421, allocations: 165.2 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1421, allocations: 0 / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.1424, allocations: 39.98 kB / 488.1 MB, free: 13.55 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001115/0.1435, allocations: 497.4 kB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000206/0.1437, allocations: 91.84 kB / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1437, allocations: 0 / 488.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.278e-05/0.1438, allocations: 43.86 kB / 488.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000336/0.1442, allocations: 42.53 kB / 488.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005649/0.1447, allocations: 306.3 kB / 489 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.145, allocations: 0.7118 MB / 489.7 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.523e-05/0.1451, allocations: 23.42 kB / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.1451, allocations: 0 / 489.8 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Templates: time 0.003842/0.1489, allocations: 2.233 MB / 492 MB, free: 9.746 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches