Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001263/0.001264, 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.001349/0.001349, 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.545/1.545, allocations: 227.4 MB / 247.5 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2265/0.2265, allocations: 46.11 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 76.2 kB / 418.3 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1383, allocations: 62.47 MB / 480.8 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003501/0.1418, allocations: 1.72 MB / 482.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1436, allocations: 1.029 MB / 483.5 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.139e-05/0.1437, allocations: 3.938 kB / 483.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1441, allocations: 51.75 kB / 483.6 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1444, allocations: 91.61 kB / 483.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1447, allocations: 83.66 kB / 483.8 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1449, allocations: 99.7 kB / 483.9 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.145, allocations: 19.97 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.127e-05/0.1451, allocations: 47.8 kB / 483.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.1452, allocations: 27.8 kB / 483.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1452, allocations: 4 kB / 483.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.1454, allocations: 47.91 kB / 484 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.361e-05/0.1455, allocations: 23.92 kB / 484 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1455, allocations: 43.67 kB / 484.1 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002213/0.1458, allocations: 135.8 kB / 484.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1458, allocations: 3.938 kB / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1458, allocations: 0 / 484.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.1458, allocations: 0 / 484.2 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.0006359/0.1464, allocations: 450.7 kB / 484.6 MB, free: 1.273 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.1465, allocations: 8.031 kB / 484.6 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.1e-05/0.1465, allocations: 12.84 kB / 484.7 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1468, allocations: 220.8 kB / 484.9 MB, free: 1 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1468, allocations: 8.312 kB / 484.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.1469, allocations: 4.125 kB / 484.9 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.147, allocations: 53.67 kB / 484.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.1471, allocations: 7.984 kB / 484.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1471, allocations: 4 kB / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.1471, allocations: 0 / 485 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.1472, allocations: 19.98 kB / 485 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1476, allocations: 296.8 kB / 485.3 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001766/0.1478, allocations: 58.67 kB / 485.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.689e-05/0.1478, allocations: 24.84 kB / 485.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1479, allocations: 4 kB / 485.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002202/0.1481, allocations: 63.39 kB / 485.4 MB, free: 396 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.372e-06/0.1481, allocations: 3.938 kB / 485.4 MB, free: 392 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006001/0.1487, allocations: 189 kB / 485.6 MB, free: 196 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1488, allocations: 55.34 kB / 485.6 MB, free: 128 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003176/0.1491, allocations: 274.9 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.143e-05/0.1491, allocations: 29.7 kB / 485.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.032e-05/0.1492, allocations: 112.1 kB / 486.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.46e-05/0.1492, allocations: 23.7 kB / 486.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.984e-05/0.1493, allocations: 17.72 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.1495, allocations: 330.8 kB / 486.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.834e-05/0.1495, allocations: 23.98 kB / 486.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.442e-05/0.1496, allocations: 41.7 kB / 486.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1497, allocations: 57.69 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1498, allocations: 3.938 kB / 486.5 MB, free: 15.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002001/0.15, allocations: 101.5 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.15, allocations: 4 kB / 486.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.15, allocations: 3.984 kB / 486.7 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.15, allocations: 4 kB / 486.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.489e-05/0.1501, allocations: 20.3 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1501, allocations: 4.031 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.009e-05/0.1502, allocations: 11.88 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.1502, allocations: 8 kB / 486.7 MB, free: 15.02 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 0.0001314/0.1503, allocations: 133.8 kB / 486.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.666e-05/0.1504, allocations: 15.81 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.1504, allocations: 21.39 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1505, allocations: 192 / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/0.1505, allocations: 4 kB / 486.9 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.1505, allocations: 11.88 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.151, allocations: 403.3 kB / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.151, allocations: 0 / 487.3 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.386e-05/0.151, allocations: 11.98 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.151, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1511, allocations: 7.938 kB / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1511, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.1511, allocations: 0 / 487.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002541/0.1513, allocations: 212.2 kB / 487.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.658e-05/0.1514, allocations: 88.92 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.534e-05/0.1514, allocations: 3.938 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1515, allocations: 3.984 kB / 487.6 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.1516, allocations: 11.94 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.628e-05/0.1516, allocations: 4 kB / 487.6 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001968/0.1518, allocations: 212.4 kB / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1518, allocations: 0 / 487.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1521, allocations: 20 kB / 487.8 MB, free: 13.77 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.001691/0.1538, allocations: 469.3 kB / 488.3 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000204/0.154, allocations: 55.97 kB / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.154, allocations: 0 / 488.4 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.912e-05/0.1541, allocations: 31.92 kB / 488.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000365/0.1544, allocations: 26.98 kB / 488.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.155, allocations: 329.4 kB / 488.7 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1554, allocations: 0.7196 MB / 489.5 MB, free: 12.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.457e-05/0.1555, allocations: 19.44 kB / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of SimCode: time 4.708e-06/0.1555, allocations: 0 / 489.5 MB, free: 12.24 MB / 366.1 MB Notification: Performance of Templates: time 0.004508/0.16, allocations: 2.113 MB / 491.6 MB, free: 10.13 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches