Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001553/0.001553, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001878/0.001878, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.853/1.853, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2402/0.2402, allocations: 46.09 MB / 344.1 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001643/0.001643, allocations: 85.73 kB / 417.6 MB, free: 19.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1424, allocations: 62.43 MB / 480 MB, free: 5.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003502/0.1459, allocations: 1.723 MB / 481.7 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002631/0.1486, allocations: 1.627 MB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.122e-05/0.1487, allocations: 3.938 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.1491, allocations: 35.84 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.1495, allocations: 95.55 kB / 483.5 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1497, allocations: 79.66 kB / 483.6 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001834/0.1499, allocations: 107.7 kB / 483.7 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001285/0.15, allocations: 23.97 kB / 483.7 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.071e-05/0.1501, allocations: 43.8 kB / 483.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1503, allocations: 51.7 kB / 483.8 MB, free: 1.473 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.1503, allocations: 4 kB / 483.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002027/0.1506, allocations: 107.9 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.829e-05/0.1506, allocations: 19.86 kB / 483.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.107e-05/0.1507, allocations: 31.81 kB / 484 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000293/0.151, allocations: 163.8 kB / 484.1 MB, free: 1.152 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.151, allocations: 4 kB / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.151, allocations: 0 / 484.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.162e-06/0.151, allocations: 0 / 484.1 MB, free: 1.148 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.0006594/0.1517, allocations: 435 kB / 484.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1517, allocations: 12.03 kB / 484.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.282e-05/0.1518, allocations: 8.844 kB / 484.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1521, allocations: 211.6 kB / 484.8 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/0.1521, allocations: 7.938 kB / 484.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.1521, allocations: 0 / 484.8 MB, free: 416 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.1523, allocations: 71.39 kB / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1523, allocations: 0 / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1524, allocations: 0 / 484.9 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.1524, allocations: 4 kB / 484.9 MB, free: 328 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1525, allocations: 15.98 kB / 484.9 MB, free: 312 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.1529, allocations: 292.8 kB / 485.2 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.1531, allocations: 54.69 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.732e-05/0.1532, allocations: 20.84 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.1532, allocations: 8 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.1534, allocations: 63.33 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.1534, allocations: 0 / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005822/0.154, allocations: 185.2 kB / 485.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.1541, allocations: 88.92 kB / 485.6 MB, free: 15.51 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.1543, allocations: 165.5 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.1543, allocations: 29.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.313e-05/0.1544, allocations: 96.12 kB / 485.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.262e-05/0.1544, allocations: 23.66 kB / 485.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.1545, allocations: 29.7 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.1546, allocations: 326.8 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.1547, allocations: 12 kB / 486.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.1548, allocations: 46.56 kB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001146/0.1549, allocations: 57.64 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1549, allocations: 3.938 kB / 486.3 MB, free: 14.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1551, allocations: 101.7 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1551, allocations: 11.98 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1551, allocations: 80 / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.1551, allocations: 4 kB / 486.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.448e-05/0.1552, allocations: 15.94 kB / 486.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1553, allocations: 7.922 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.974e-05/0.1553, allocations: 4 kB / 486.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.1553, allocations: 3.984 kB / 486.5 MB, free: 14.54 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 9.404e-05/0.1554, allocations: 121.8 kB / 486.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1555, allocations: 15.81 kB / 486.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.273e-05/0.1555, allocations: 12.72 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1555, allocations: 7.984 kB / 486.6 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.1555, allocations: 3.938 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1555, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/0.156, allocations: 387.3 kB / 487 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.156, allocations: 3.984 kB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.226e-05/0.156, allocations: 11.94 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.156, allocations: 4.031 kB / 487 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.156, allocations: 4 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.156, allocations: 3.938 kB / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.156, allocations: 0 / 487.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002147/0.1563, allocations: 204.3 kB / 487.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.604e-05/0.1563, allocations: 88.95 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1564, allocations: 4 kB / 487.3 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.103e-05/0.1564, allocations: 8 kB / 487.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.1565, allocations: 8.547 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-05/0.1565, allocations: 4 kB / 487.4 MB, free: 13.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.998e-05/0.1566, allocations: 127.2 kB / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1566, allocations: 0 / 487.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1569, allocations: 51.98 kB / 487.5 MB, free: 13.38 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.00137/0.1583, allocations: 0.533 MB / 488.1 MB, free: 13.02 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002198/0.1585, allocations: 63.91 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1586, allocations: 0 / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.1586, allocations: 28 kB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.159, allocations: 35.84 kB / 488.2 MB, free: 12.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004611/0.1595, allocations: 206.9 kB / 488.4 MB, free: 12.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.1598, allocations: 0.704 MB / 489.1 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.466e-05/0.1598, allocations: 21.17 kB / 489.1 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.1599, allocations: 27.42 kB / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1599, allocations: 0 / 489.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Templates: time 0.005494/0.1654, allocations: 2.345 MB / 491.5 MB, free: 9.566 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches