Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001752/0.001752, allocations: 109.6 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.002276/0.002276, allocations: 208 kB / 19.25 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.547/1.547, allocations: 227.4 MB / 247.5 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2364/0.2364, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 83.58 kB / 418.3 MB, free: 19.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1233, allocations: 62.44 MB / 480.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003846/0.1272, allocations: 1.692 MB / 482.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.129, allocations: 1.005 MB / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.482e-05/0.1291, allocations: 0 / 483.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002995/0.1294, allocations: 63.73 kB / 483.5 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000348/0.1298, allocations: 115.5 kB / 483.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.13, allocations: 67.73 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1302, allocations: 103.7 kB / 483.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.1303, allocations: 4.234 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.383e-05/0.1304, allocations: 51.77 kB / 483.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.1305, allocations: 47.78 kB / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1305, allocations: 0 / 483.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.579e-05/0.1306, allocations: 39.97 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.495e-05/0.1307, allocations: 15.92 kB / 484 MB, free: 2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.677e-05/0.1307, allocations: 35.75 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.1309, allocations: 99.92 kB / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.131, allocations: 0 / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.131, allocations: 0 / 484.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.131, allocations: 0 / 484.1 MB, free: 1.867 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.0007507/0.1317, allocations: 414.9 kB / 484.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1318, allocations: 12.03 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.825e-05/0.1318, allocations: 8.844 kB / 484.5 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002642/0.1321, allocations: 212.8 kB / 484.7 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.1321, allocations: 8.312 kB / 484.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.1321, allocations: 8.125 kB / 484.7 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1323, allocations: 45.67 kB / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1323, allocations: 0 / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1323, allocations: 0 / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.1323, allocations: 0 / 484.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.09e-05/0.1324, allocations: 19.92 kB / 484.8 MB, free: 1.062 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.1326, allocations: 181.7 kB / 485 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.1328, allocations: 54.61 kB / 485 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.944e-05/0.1329, allocations: 20.8 kB / 485.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1329, allocations: 3.938 kB / 485.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000217/0.1331, allocations: 63.39 kB / 485.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 3.697e-06/0.1331, allocations: 0 / 485.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000297/0.1334, allocations: 109.4 kB / 485.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.1335, allocations: 51.41 kB / 485.3 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002095/0.1337, allocations: 198.4 kB / 485.5 MB, free: 300 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.1337, allocations: 25.7 kB / 485.5 MB, free: 268 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.237e-05/0.1338, allocations: 96.14 kB / 485.6 MB, free: 168 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.1338, allocations: 15.89 kB / 485.6 MB, free: 152 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1339, allocations: 17.72 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001785/0.1341, allocations: 322.8 kB / 485.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.029e-05/0.1341, allocations: 19.98 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.514e-05/0.1342, allocations: 21.72 kB / 486 MB, free: 15.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.1343, allocations: 53.89 kB / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1343, allocations: 0 / 486 MB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002017/0.1345, allocations: 89.38 kB / 486.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.1345, allocations: 10.5 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1346, allocations: 4.031 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1346, allocations: 3.984 kB / 486.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.844e-05/0.1347, allocations: 11.98 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1347, allocations: 0 / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.521e-05/0.1347, allocations: 4 kB / 486.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1347, allocations: 4 kB / 486.2 MB, free: 15.57 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.0001129/0.1349, allocations: 125.8 kB / 486.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.233e-05/0.1349, allocations: 11.81 kB / 486.3 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.1349, allocations: 13 kB / 486.3 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1349, allocations: 11.92 kB / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.135, allocations: 0 / 486.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.135, allocations: 4 kB / 486.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.1352, allocations: 189.5 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1352, allocations: 0 / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.049e-05/0.1353, allocations: 3.938 kB / 486.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/0.1353, allocations: 4 kB / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.1353, allocations: 3.984 kB / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1353, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1353, allocations: 0 / 486.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000193/0.1355, allocations: 113 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.374e-05/0.1356, allocations: 85.02 kB / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.1356, allocations: 128 / 486.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.032e-05/0.1356, allocations: 8 kB / 486.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.1357, allocations: 7.984 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.1357, allocations: 4 kB / 486.7 MB, free: 14.9 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001431/0.1359, allocations: 152.2 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1359, allocations: 4 kB / 486.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002181/0.1361, allocations: 12 kB / 486.9 MB, free: 14.73 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.001463/0.1376, allocations: 402.5 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001732/0.1377, allocations: 39.98 kB / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1378, allocations: 0 / 487.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.1378, allocations: 23.92 kB / 487.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002876/0.1381, allocations: 41.88 kB / 487.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005023/0.1386, allocations: 243.7 kB / 487.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003587/0.139, allocations: 0.7049 MB / 488.3 MB, free: 13.37 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.139, allocations: 15.44 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of SimCode: time 3.7e-07/0.1391, allocations: 0 / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.003944/0.143, allocations: 1.729 MB / 490.1 MB, free: 11.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches