Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001279/0.001279, 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.001364/0.001364, 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.349/1.349, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.11 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 76.53 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1307, allocations: 62.45 MB / 480.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003173/0.134, allocations: 1.731 MB / 482.4 MB, free: 3.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.1362, allocations: 1.616 MB / 484.1 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.864e-05/0.1363, allocations: 3.938 kB / 484.1 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002693/0.1366, allocations: 39.83 kB / 484.1 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003124/0.1369, allocations: 99.53 kB / 484.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1371, allocations: 75.67 kB / 484.3 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1373, allocations: 107.7 kB / 484.4 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1374, allocations: 19.97 kB / 484.4 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.582e-05/0.1375, allocations: 51.73 kB / 484.4 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.1377, allocations: 39.77 kB / 484.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.1377, allocations: 8 kB / 484.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001957/0.1379, allocations: 103.9 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1379, allocations: 23.86 kB / 484.6 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.875e-05/0.138, allocations: 35.78 kB / 484.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.1383, allocations: 171.8 kB / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1383, allocations: 0 / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1383, allocations: 0 / 484.8 MB, free: 1.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.1383, allocations: 0 / 484.8 MB, free: 1.18 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.0005977/0.1389, allocations: 423 kB / 485.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.139, allocations: 8.031 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/0.139, allocations: 12.84 kB / 485.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.1393, allocations: 208.6 kB / 485.5 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.919e-05/0.1393, allocations: 15.94 kB / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.1394, allocations: 0 / 485.5 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.1395, allocations: 75.31 kB / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1396, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1396, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1396, allocations: 0 / 485.5 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.122e-05/0.1397, allocations: 19.98 kB / 485.6 MB, free: 344 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.14, allocations: 292.8 kB / 485.8 MB, free: 0 / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1402, allocations: 54.67 kB / 485.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.234e-05/0.1403, allocations: 20.84 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1403, allocations: 4 kB / 485.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.1405, allocations: 75.31 kB / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.1405, allocations: 0 / 486 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005436/0.1411, allocations: 173.2 kB / 486.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.699e-05/0.1412, allocations: 85.03 kB / 486.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00016/0.1413, allocations: 162.5 kB / 486.4 MB, free: 15.38 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.501e-05/0.1414, allocations: 29.7 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.594e-05/0.1414, allocations: 92.14 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.1415, allocations: 27.64 kB / 486.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.225e-05/0.1415, allocations: 25.72 kB / 486.6 MB, free: 15.19 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.1416, allocations: 322.8 kB / 486.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.1417, allocations: 19.98 kB / 486.9 MB, free: 14.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.781e-05/0.1418, allocations: 42.56 kB / 487 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1419, allocations: 61.64 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1419, allocations: 3.938 kB / 487 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002042/0.1421, allocations: 101.6 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1421, allocations: 6.5 kB / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.1422, allocations: 384 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1422, allocations: 0 / 487.1 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.1423, allocations: 27.92 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.1423, allocations: 3.938 kB / 487.2 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.276e-05/0.1423, allocations: 8 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.1424, allocations: 0 / 487.2 MB, free: 14.58 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.696e-05/0.1425, allocations: 129.9 kB / 487.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.1425, allocations: 11.81 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.1425, allocations: 12.72 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1425, allocations: 0 / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1426, allocations: 7.938 kB / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.1426, allocations: 192 / 487.3 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004729/0.143, allocations: 395.5 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1431, allocations: 3.938 kB / 487.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.214e-05/0.1431, allocations: 23.94 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1431, allocations: 0 / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.849e-05/0.1432, allocations: 4 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1432, allocations: 3.938 kB / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1432, allocations: 0 / 487.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/0.1435, allocations: 196.3 kB / 487.9 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1436, allocations: 92.94 kB / 488 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.1436, allocations: 8 kB / 488 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.8e-05/0.1437, allocations: 4 kB / 488 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.1438, allocations: 7.984 kB / 488.1 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.1438, allocations: 4 kB / 488.1 MB, free: 13.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001507/0.1439, allocations: 126.3 kB / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1439, allocations: 0 / 488.2 MB, free: 13.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003165/0.1443, allocations: 47.98 kB / 488.2 MB, free: 13.41 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.001355/0.1456, allocations: 0.5351 MB / 488.8 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002184/0.1459, allocations: 63.91 kB / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1459, allocations: 0 / 488.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.844e-05/0.146, allocations: 27.98 kB / 488.8 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1463, allocations: 42.84 kB / 488.9 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004533/0.1468, allocations: 224.4 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.1471, allocations: 0.7079 MB / 489.8 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.008e-05/0.1471, allocations: 23.42 kB / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1471, allocations: 0 / 489.8 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004936/0.1521, allocations: 2.402 MB / 492.2 MB, free: 9.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches