Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00179/0.00179, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2239/0.2239, allocations: 46.11 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 72.31 kB / 417.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1237, allocations: 62.45 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.003198/0.1269, allocations: 1.716 MB / 481.8 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001679/0.1286, allocations: 1.021 MB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.405e-05/0.1287, allocations: 0 / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.1291, allocations: 87.67 kB / 482.9 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.1295, allocations: 119.6 kB / 483 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1298, allocations: 67.69 kB / 483 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002202/0.13, allocations: 123.7 kB / 483.2 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1301, allocations: 8 kB / 483.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.1302, allocations: 55.7 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.1304, allocations: 59.77 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.008e-05/0.1304, allocations: 7.984 kB / 483.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.1305, allocations: 47.98 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.487e-05/0.1306, allocations: 19.92 kB / 483.4 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.1307, allocations: 35.75 kB / 483.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.1309, allocations: 123.8 kB / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.1309, allocations: 0 / 483.5 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1309, allocations: 4 kB / 483.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.032e-06/0.1309, allocations: 0 / 483.5 MB, free: 1.762 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005791/0.1315, allocations: 426.9 kB / 483.9 MB, free: 1.297 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.1316, allocations: 8.031 kB / 483.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.1316, allocations: 20.69 kB / 484 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/0.1319, allocations: 212.1 kB / 484.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.486e-05/0.1319, allocations: 4.359 kB / 484.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.707e-05/0.1319, allocations: 12.03 kB / 484.2 MB, free: 1.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.1321, allocations: 53.67 kB / 484.2 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.1321, allocations: 3.938 kB / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1321, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1321, allocations: 0 / 484.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.702e-05/0.1322, allocations: 23.92 kB / 484.3 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003485/0.1326, allocations: 300.9 kB / 484.6 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001692/0.1328, allocations: 50.69 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.1328, allocations: 20.84 kB / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.1328, allocations: 0 / 484.6 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002144/0.1331, allocations: 71.33 kB / 484.7 MB, free: 424 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.1331, allocations: 4 kB / 484.7 MB, free: 420 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005466/0.1336, allocations: 181 kB / 484.9 MB, free: 232 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.1337, allocations: 51.41 kB / 484.9 MB, free: 168 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.1339, allocations: 224.4 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.1339, allocations: 25.7 kB / 485.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.134, allocations: 104.1 kB / 485.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.134, allocations: 27.66 kB / 485.3 MB, free: 15.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.842e-05/0.1341, allocations: 21.72 kB / 485.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1342, allocations: 334.8 kB / 485.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.729e-05/0.1342, allocations: 20 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.751e-05/0.1343, allocations: 33.7 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001131/0.1344, allocations: 65.7 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1344, allocations: 4 kB / 485.8 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.1346, allocations: 105.3 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1347, allocations: 11.98 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.1347, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.1347, allocations: 0 / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.1348, allocations: 12.38 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1348, allocations: 4 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.885e-05/0.1349, allocations: 7.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1349, allocations: 7.984 kB / 485.9 MB, free: 15.12 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 (10): * Single equations (assignments): 10 * 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 9.684e-05/0.135, allocations: 132.4 kB / 486 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.135, allocations: 8.094 kB / 486.1 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.754e-05/0.1351, allocations: 21.39 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.1351, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1351, allocations: 0 / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.1351, allocations: 3.938 kB / 486.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004273/0.1355, allocations: 415.2 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1355, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.1356, allocations: 11.94 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.1356, allocations: 0 / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1356, allocations: 3.938 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.1356, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1356, allocations: 0 / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.1359, allocations: 204.3 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.908e-05/0.1359, allocations: 88.92 kB / 486.8 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.1359, allocations: 3.938 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.993e-05/0.136, allocations: 4 kB / 486.8 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1361, allocations: 11.98 kB / 486.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.36e-05/0.1361, allocations: 3.938 kB / 486.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1362, allocations: 165.2 kB / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1362, allocations: 0 / 487 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1365, allocations: 31.98 kB / 487 MB, free: 13.92 MB / 366.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: 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 (8): * Single equations (assignments): 6 * 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.001065/0.1376, allocations: 456 kB / 487.5 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000201/0.1378, allocations: 63.91 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1378, allocations: 4.062 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.1379, allocations: 24.14 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/0.1383, allocations: 43.67 kB / 487.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000523/0.1388, allocations: 255.4 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.1391, allocations: 0.708 MB / 488.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.822e-05/0.1391, allocations: 12.89 kB / 488.6 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.1392, allocations: 19.42 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1392, allocations: 4 kB / 488.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of Templates: time 0.004619/0.1438, allocations: 1.727 MB / 490.3 MB, free: 10.74 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches