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.001151/0.001151, allocations: 91.48 kB / 17.35 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001747/0.001747, allocations: 200.1 kB / 18.28 MB, free: 5.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.655/1.655, allocations: 227.8 MB / 246.8 MB, free: 9.723 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2218/0.2218, allocations: 46.2 MB / 345.3 MB, free: 11.13 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002805/0.0002806, allocations: 11.98 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1289, allocations: 63.57 MB / 483.2 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002368/0.1313, allocations: 1.407 MB / 484.6 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.133, allocations: 0.9668 MB / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.313e-05/0.1331, allocations: 0 / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003325/0.1334, allocations: 83.83 kB / 485.6 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002989/0.1337, allocations: 103.6 kB / 485.7 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.1339, allocations: 55.89 kB / 485.8 MB, free: 1.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1341, allocations: 103.7 kB / 485.9 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.261e-05/0.1341, allocations: 12.22 kB / 485.9 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.1342, allocations: 43.73 kB / 485.9 MB, free: 1.266 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.1344, allocations: 55.81 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.1344, allocations: 0 / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.49e-05/0.1345, allocations: 31.98 kB / 486 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.927e-05/0.1345, allocations: 23.91 kB / 486 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.057e-05/0.1346, allocations: 57.45 kB / 486.1 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001891/0.1348, allocations: 119.8 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.1348, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1348, allocations: 0 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1348, allocations: 0 / 486.2 MB, free: 0.9766 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.0005501/0.1354, allocations: 402.5 kB / 486.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.1354, allocations: 12.03 kB / 486.6 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.1355, allocations: 8.844 kB / 486.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1358, allocations: 212.5 kB / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.1358, allocations: 384 / 486.8 MB, free: 280 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.765e-05/0.1358, allocations: 8.125 kB / 486.8 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.136, allocations: 49.67 kB / 486.9 MB, free: 216 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/0.136, allocations: 7.938 kB / 486.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.136, allocations: 0 / 486.9 MB, free: 208 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.136, allocations: 7.938 kB / 486.9 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.438e-05/0.1361, allocations: 15.98 kB / 486.9 MB, free: 184 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002152/0.1363, allocations: 177.7 kB / 487.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.1365, allocations: 50.61 kB / 487.1 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.694e-05/0.1365, allocations: 32.78 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.1366, allocations: 3.938 kB / 487.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.1367, allocations: 67.33 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.1367, allocations: 0 / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002623/0.137, allocations: 97.48 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1371, allocations: 51.41 kB / 487.4 MB, free: 15.62 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002177/0.1373, allocations: 220.3 kB / 487.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.1373, allocations: 29.7 kB / 487.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.1374, allocations: 108.1 kB / 487.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1374, allocations: 15.84 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.1375, allocations: 9.719 kB / 487.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1376, allocations: 326.8 kB / 488.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-05/0.1377, allocations: 19.92 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.258e-05/0.1377, allocations: 21.72 kB / 488.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1378, allocations: 49.7 kB / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1378, allocations: 0 / 488.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001599/0.138, allocations: 85.62 kB / 488.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.138, allocations: 11.98 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.138, allocations: 4.062 kB / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.1381, allocations: 0 / 488.3 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-05/0.1381, allocations: 8 kB / 488.3 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/0.1381, allocations: 4 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.417e-05/0.1382, allocations: 8.031 kB / 488.3 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1382, allocations: 7.984 kB / 488.3 MB, free: 14.65 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.0001073/0.1383, allocations: 133.8 kB / 488.4 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1383, allocations: 15.75 kB / 488.4 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.721e-05/0.1384, allocations: 16.98 kB / 488.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.1384, allocations: 4 kB / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1384, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.1384, allocations: 0 / 488.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001643/0.1386, allocations: 189.6 kB / 488.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1386, allocations: 4 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/0.1386, allocations: 7.938 kB / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.1386, allocations: 0 / 488.7 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.1386, allocations: 8 kB / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1387, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1387, allocations: 0 / 488.7 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001831/0.1388, allocations: 108.9 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.295e-05/0.1389, allocations: 93 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1389, allocations: 4 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.139, allocations: 4 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.734e-05/0.139, allocations: 0 / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.495e-05/0.139, allocations: 11.92 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001446/0.1392, allocations: 169.1 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1392, allocations: 0 / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002086/0.1394, allocations: 16 kB / 489.1 MB, free: 13.79 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.001423/0.1408, allocations: 411.5 kB / 489.5 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.141, allocations: 35.98 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.141, allocations: 4 kB / 489.5 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.446e-05/0.1411, allocations: 23.92 kB / 489.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1414, allocations: 27.86 kB / 489.6 MB, free: 13.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004418/0.1418, allocations: 249.8 kB / 489.8 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.1422, allocations: 0.7043 MB / 490.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.857e-05/0.1422, allocations: 12.55 kB / 490.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.1423, allocations: 11.44 kB / 490.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1423, allocations: 4 kB / 490.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of Templates: time 0.004336/0.1466, allocations: 1.429 MB / 492 MB, free: 10.97 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches