Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001623/0.001623, allocations: 103.5 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002488/0.002488, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2365/0.2365, allocations: 46.1 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 76.81 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1428, allocations: 62.46 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003558/0.1464, allocations: 1.773 MB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1483, allocations: 1.029 MB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.948e-05/0.1484, allocations: 0 / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.1488, allocations: 35.91 kB / 482.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002542/0.1491, allocations: 79.67 kB / 482.2 MB, free: 2.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1493, allocations: 63.88 kB / 482.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1495, allocations: 99.69 kB / 482.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.47e-05/0.1496, allocations: 8 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.7e-05/0.1497, allocations: 47.72 kB / 482.4 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.1498, allocations: 35.78 kB / 482.5 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.1498, allocations: 4 kB / 482.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/0.1499, allocations: 39.98 kB / 482.5 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.082e-05/0.15, allocations: 19.91 kB / 482.5 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.909e-05/0.1501, allocations: 39.67 kB / 482.6 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002163/0.1503, allocations: 123.9 kB / 482.7 MB, free: 2.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1503, allocations: 4 kB / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1503, allocations: 0 / 482.7 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.1503, allocations: 0 / 482.7 MB, free: 2.336 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.0006034/0.1509, allocations: 422.9 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.151, allocations: 8.875 kB / 483.1 MB, free: 1.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.151, allocations: 8.844 kB / 483.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.1513, allocations: 216 kB / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.1513, allocations: 384 / 483.3 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.1513, allocations: 8.125 kB / 483.3 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1515, allocations: 61.61 kB / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.1515, allocations: 0 / 483.4 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1515, allocations: 4 kB / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1516, allocations: 0 / 483.4 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.828e-05/0.1516, allocations: 19.98 kB / 483.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003883/0.152, allocations: 284.9 kB / 483.7 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.1522, allocations: 66.61 kB / 483.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.1523, allocations: 16.86 kB / 483.8 MB, free: 1.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.1523, allocations: 7.984 kB / 483.8 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.1525, allocations: 67.33 kB / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.1525, allocations: 0 / 483.9 MB, free: 1.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005908/0.1531, allocations: 181 kB / 484 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1532, allocations: 59.39 kB / 484.1 MB, free: 0.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.1534, allocations: 206.9 kB / 484.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1534, allocations: 29.7 kB / 484.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.1535, allocations: 104.1 kB / 484.4 MB, free: 408 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.953e-05/0.1535, allocations: 19.7 kB / 484.5 MB, free: 388 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-05/0.1536, allocations: 29.7 kB / 484.5 MB, free: 352 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1537, allocations: 326.8 kB / 484.8 MB, free: 16 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.46e-05/0.1538, allocations: 28 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.656e-05/0.1539, allocations: 37.66 kB / 484.9 MB, free: 15.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.154, allocations: 53.7 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.154, allocations: 0 / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001921/0.1542, allocations: 109.4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1542, allocations: 4 kB / 485 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1543, allocations: 4.031 kB / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1543, allocations: 0 / 485 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.277e-05/0.1544, allocations: 16 kB / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1544, allocations: 0 / 485 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.802e-05/0.1544, allocations: 11.92 kB / 485.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1544, allocations: 4 kB / 485.1 MB, free: 15.73 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.0001023/0.1546, allocations: 129.7 kB / 485.2 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1546, allocations: 11.89 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.073e-05/0.1547, allocations: 17.41 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1547, allocations: 4 kB / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.1547, allocations: 0 / 485.2 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1547, allocations: 3.938 kB / 485.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004432/0.1551, allocations: 403.1 kB / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1551, allocations: 0 / 485.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.1552, allocations: 8.375 kB / 485.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1552, allocations: 4 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.1552, allocations: 3.938 kB / 485.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1552, allocations: 8.031 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1552, allocations: 3.984 kB / 485.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002371/0.1555, allocations: 208.2 kB / 485.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/0.1555, allocations: 89.09 kB / 485.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.876e-05/0.1556, allocations: 7.938 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.842e-05/0.1556, allocations: 3.938 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.1557, allocations: 15.98 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1557, allocations: 4 kB / 486 MB, free: 14.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001415/0.1559, allocations: 156.3 kB / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1559, allocations: 0 / 486.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000262/0.1561, allocations: 23.98 kB / 486.1 MB, free: 14.54 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.00111/0.1572, allocations: 454.2 kB / 486.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.1575, allocations: 59.92 kB / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.1575, allocations: 0 / 486.6 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.354e-05/0.1576, allocations: 27.98 kB / 486.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.1579, allocations: 34.7 kB / 486.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005001/0.1584, allocations: 268.8 kB / 487 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1587, allocations: 0.7082 MB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.654e-05/0.1588, allocations: 16.88 kB / 487.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.597e-05/0.1588, allocations: 15.44 kB / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1588, allocations: 0 / 487.7 MB, free: 13.08 MB / 366.1 MB Notification: Performance of Templates: time 0.004552/0.1634, allocations: 1.659 MB / 489.4 MB, free: 11.43 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches