Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 115 kB / 17.33 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001458/0.001458, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.519/1.519, allocations: 227.4 MB / 246.5 MB, free: 10.77 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.255/0.255, allocations: 46.13 MB / 343.8 MB, free: 11.72 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 81.7 kB / 417.1 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.141, allocations: 62.45 MB / 479.6 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.003565/0.1446, allocations: 1.789 MB / 481.4 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001871/0.1465, allocations: 1.013 MB / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1466, allocations: 0 / 482.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000413/0.1471, allocations: 59.81 kB / 482.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003641/0.1474, allocations: 75.73 kB / 482.5 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.1477, allocations: 71.81 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1479, allocations: 111.7 kB / 482.7 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.1481, allocations: 8 kB / 482.7 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1482, allocations: 39.8 kB / 482.7 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1483, allocations: 51.7 kB / 482.8 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1483, allocations: 4 kB / 482.8 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1485, allocations: 39.98 kB / 482.8 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.52e-05/0.1485, allocations: 23.92 kB / 482.9 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.543e-05/0.1486, allocations: 47.66 kB / 482.9 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.1489, allocations: 135.8 kB / 483 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1489, allocations: 3.984 kB / 483 MB, free: 2.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1489, allocations: 8 kB / 483.1 MB, free: 2.066 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.1489, allocations: 0 / 483.1 MB, free: 2.066 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.0008388/0.1498, allocations: 444.9 kB / 483.5 MB, free: 1.586 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.1498, allocations: 8.031 kB / 483.5 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.39e-05/0.1499, allocations: 12.84 kB / 483.5 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1503, allocations: 224.9 kB / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.746e-05/0.1503, allocations: 384 / 483.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.965e-05/0.1503, allocations: 8.125 kB / 483.7 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.1506, allocations: 57.67 kB / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1506, allocations: 0 / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.1506, allocations: 0 / 483.8 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1506, allocations: 3.984 kB / 483.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.1507, allocations: 23.92 kB / 483.8 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005498/0.1513, allocations: 292.9 kB / 484.1 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.1515, allocations: 62.67 kB / 484.2 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.785e-05/0.1516, allocations: 16.86 kB / 484.2 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.1516, allocations: 7.984 kB / 484.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00032/0.1519, allocations: 67.33 kB / 484.3 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1519, allocations: 3.938 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007362/0.1527, allocations: 185 kB / 484.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.1528, allocations: 63.33 kB / 484.5 MB, free: 444 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.1531, allocations: 271 kB / 484.8 MB, free: 160 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.1531, allocations: 29.7 kB / 484.8 MB, free: 124 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.854e-05/0.1532, allocations: 112.1 kB / 484.9 MB, free: 8 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.068e-05/0.1533, allocations: 23.88 kB / 484.9 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.1533, allocations: 21.7 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1535, allocations: 334.8 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.747e-05/0.1536, allocations: 19.98 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.188e-05/0.1537, allocations: 41.7 kB / 485.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.1538, allocations: 53.66 kB / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1538, allocations: 0 / 485.4 MB, free: 15.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001995/0.154, allocations: 109.4 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.1541, allocations: 4 kB / 485.5 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1541, allocations: 4 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1541, allocations: 4.031 kB / 485.5 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1542, allocations: 15.98 kB / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1542, allocations: 0 / 485.5 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.929e-05/0.1543, allocations: 11.88 kB / 485.5 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1543, allocations: 4 kB / 485.5 MB, free: 15.34 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.1544, allocations: 136.5 kB / 485.7 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1545, allocations: 11.81 kB / 485.7 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1545, allocations: 25.39 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1545, allocations: 4 kB / 485.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1546, allocations: 4 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.1546, allocations: 3.938 kB / 485.7 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00052/0.1551, allocations: 399.3 kB / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1551, allocations: 0 / 486.1 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.1551, allocations: 15.94 kB / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1551, allocations: 0 / 486.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.1552, allocations: 11.92 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1552, allocations: 0 / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1552, allocations: 4.031 kB / 486.1 MB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002583/0.1554, allocations: 204.2 kB / 486.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.04e-05/0.1555, allocations: 92.92 kB / 486.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.804e-05/0.1556, allocations: 7.875 kB / 486.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.262e-05/0.1556, allocations: 8.359 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.1557, allocations: 4.188 kB / 486.5 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.1557, allocations: 11.94 kB / 486.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002174/0.1559, allocations: 212.3 kB / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.156, allocations: 0 / 486.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1562, allocations: 20 kB / 486.7 MB, free: 14.08 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.001847/0.1581, allocations: 461.8 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.1583, allocations: 63.91 kB / 487.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1583, allocations: 3.938 kB / 487.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.717e-05/0.1584, allocations: 27.98 kB / 487.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003694/0.1588, allocations: 26.8 kB / 487.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006274/0.1594, allocations: 327.7 kB / 487.6 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.1599, allocations: 0.7274 MB / 488.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.758e-05/0.1599, allocations: 16.81 kB / 488.3 MB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.186e-05/0.16, allocations: 19.42 kB / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.16, allocations: 0 / 488.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of Templates: time 0.005249/0.1652, allocations: 1.735 MB / 490.1 MB, free: 10.81 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test46/Test46.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches