Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001876/0.001875, 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.00228/0.002281, allocations: 207.9 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.54/1.54, allocations: 227.4 MB / 247.5 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2269/0.2269, allocations: 46.12 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 83.12 kB / 418.3 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1282, allocations: 62.45 MB / 480.8 MB, free: 5.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003535/0.1318, allocations: 1.68 MB / 482.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.1335, allocations: 1.009 MB / 483.5 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.439e-05/0.1337, allocations: 4 kB / 483.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003391/0.134, allocations: 83.7 kB / 483.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003266/0.1344, allocations: 115.6 kB / 483.7 MB, free: 2.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001822/0.1346, allocations: 75.66 kB / 483.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1347, allocations: 107.7 kB / 483.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.466e-05/0.1348, allocations: 8.234 kB / 483.9 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1349, allocations: 55.77 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.135, allocations: 47.83 kB / 484 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.593e-05/0.1351, allocations: 4 kB / 484 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.365e-05/0.1351, allocations: 31.92 kB / 484 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.031e-05/0.1352, allocations: 19.92 kB / 484 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.513e-05/0.1353, allocations: 35.73 kB / 484 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.1355, allocations: 115.9 kB / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1355, allocations: 0 / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1355, allocations: 0 / 484.2 MB, free: 1.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1355, allocations: 4 kB / 484.2 MB, free: 1.836 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.0006085/0.1361, allocations: 418.9 kB / 484.6 MB, free: 1.379 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.1362, allocations: 8.031 kB / 484.6 MB, free: 1.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/0.1362, allocations: 12.75 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.1366, allocations: 212 kB / 484.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.1366, allocations: 4.375 kB / 484.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1367, allocations: 4.125 kB / 484.8 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001441/0.1368, allocations: 49.67 kB / 484.9 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1368, allocations: 4 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1368, allocations: 0 / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1369, allocations: 3.938 kB / 484.9 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.291e-05/0.1369, allocations: 15.98 kB / 484.9 MB, free: 1.027 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000222/0.1372, allocations: 185.7 kB / 485.1 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.1373, allocations: 58.53 kB / 485.1 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.777e-05/0.1374, allocations: 24.8 kB / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1374, allocations: 0 / 485.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002249/0.1377, allocations: 67.3 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.252e-06/0.1377, allocations: 4 kB / 485.2 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002874/0.138, allocations: 97.5 kB / 485.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/0.138, allocations: 51.41 kB / 485.4 MB, free: 468 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.1383, allocations: 224.3 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1383, allocations: 25.7 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.943e-05/0.1384, allocations: 104.1 kB / 485.7 MB, free: 92 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.1384, allocations: 27.72 kB / 485.7 MB, free: 64 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/0.1385, allocations: 17.72 kB / 485.7 MB, free: 40 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.1386, allocations: 322.8 kB / 486.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.147e-05/0.1387, allocations: 15.94 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.82e-05/0.1388, allocations: 37.69 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.1389, allocations: 45.64 kB / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1389, allocations: 0 / 486.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.1391, allocations: 85.84 kB / 486.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.1391, allocations: 4 kB / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1391, allocations: 0 / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.1391, allocations: 0 / 486.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.1392, allocations: 23.92 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.1392, allocations: 4.031 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.262e-05/0.1393, allocations: 3.906 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.601e-06/0.1393, allocations: 4 kB / 486.3 MB, free: 15.48 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.0001133/0.1394, allocations: 129.8 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.1394, allocations: 7.906 kB / 486.4 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.1395, allocations: 20.98 kB / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.1395, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.1395, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1395, allocations: 0 / 486.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.1397, allocations: 193.6 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.1397, allocations: 3.984 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.77e-05/0.1397, allocations: 7.938 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1397, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.1397, allocations: 4 kB / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1398, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1398, allocations: 0 / 486.6 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.14, allocations: 112.8 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.784e-05/0.14, allocations: 93.02 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.1401, allocations: 0 / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.719e-05/0.1401, allocations: 4 kB / 486.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.1401, allocations: 3.984 kB / 486.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.458e-05/0.1402, allocations: 4 kB / 486.9 MB, free: 14.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.1403, allocations: 165.2 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1403, allocations: 0 / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.1406, allocations: 19.98 kB / 487 MB, free: 14.63 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.00154/0.1421, allocations: 404.2 kB / 487.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001744/0.1423, allocations: 43.92 kB / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1423, allocations: 0 / 487.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.431e-05/0.1424, allocations: 19.98 kB / 487.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.1426, allocations: 42.97 kB / 487.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005219/0.1432, allocations: 267.9 kB / 487.8 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003808/0.1436, allocations: 0.7079 MB / 488.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.1436, allocations: 19.42 kB / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1436, allocations: 0 / 488.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of Templates: time 0.004023/0.1477, allocations: 1.751 MB / 490.3 MB, free: 11.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches