Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.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 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008138/0.0008138, allocations: 93.23 kB / 17.35 MB, free: 6.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008657/0.0008657, allocations: 202.9 kB / 18.28 MB, free: 5.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.504/1.504, allocations: 227.8 MB / 246.9 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2246/0.2246, allocations: 46.2 MB / 345.3 MB, free: 11.36 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0004435/0.0004435, allocations: 12 kB / 419.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1439, allocations: 63.57 MB / 483.2 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.002276/0.1462, allocations: 1.442 MB / 484.6 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00246/0.1487, allocations: 1.581 MB / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.025e-05/0.1488, allocations: 0 / 486.2 MB, free: 1.062 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.1491, allocations: 31.84 kB / 486.2 MB, free: 1.031 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.1494, allocations: 87.73 kB / 486.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001791/0.1495, allocations: 63.81 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.1497, allocations: 103.7 kB / 486.5 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.231e-05/0.1498, allocations: 4 kB / 486.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.992e-05/0.1499, allocations: 43.77 kB / 486.5 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1501, allocations: 43.78 kB / 486.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.1501, allocations: 4 kB / 486.6 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.1503, allocations: 103.9 kB / 486.7 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.988e-05/0.1504, allocations: 19.91 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.705e-05/0.1504, allocations: 57.5 kB / 486.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002619/0.1507, allocations: 163.6 kB / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1507, allocations: 0 / 486.9 MB, free: 352 kB / 350.1 MB Notification: Performance of FrontEnd: time 5.761e-06/0.1507, allocations: 3.984 kB / 486.9 MB, free: 348 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1507, allocations: 0 / 486.9 MB, free: 348 kB / 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.0006252/0.1514, allocations: 407.2 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.1514, allocations: 8.875 kB / 487.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.1515, allocations: 12.84 kB / 487.3 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.1517, allocations: 212.6 kB / 487.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.1518, allocations: 3.938 kB / 487.5 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.956e-05/0.1518, allocations: 11.98 kB / 487.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.152, allocations: 75.33 kB / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.152, allocations: 0 / 487.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.152, allocations: 3.938 kB / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.152, allocations: 0 / 487.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.486e-05/0.1521, allocations: 23.98 kB / 487.7 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.1525, allocations: 280.9 kB / 487.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.1527, allocations: 62.61 kB / 488 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.629e-05/0.1528, allocations: 20.84 kB / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.1528, allocations: 0 / 488 MB, free: 15.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/0.153, allocations: 75.38 kB / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.242e-06/0.153, allocations: 0 / 488.1 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005399/0.1536, allocations: 173.1 kB / 488.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.858e-05/0.1537, allocations: 85.05 kB / 488.3 MB, free: 14.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.1538, allocations: 158.5 kB / 488.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.1539, allocations: 29.7 kB / 488.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.1539, allocations: 100.1 kB / 488.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.784e-05/0.154, allocations: 31.62 kB / 488.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.822e-05/0.154, allocations: 13.72 kB / 488.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.1542, allocations: 322.8 kB / 489 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.1543, allocations: 23.92 kB / 489 MB, free: 14.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.14e-05/0.1544, allocations: 38.56 kB / 489 MB, free: 13.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001207/0.1545, allocations: 65.81 kB / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1545, allocations: 0 / 489.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000197/0.1547, allocations: 105.5 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1547, allocations: 4 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1547, allocations: 4 kB / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.1548, allocations: 0 / 489.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1549, allocations: 15.98 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.1549, allocations: 3.938 kB / 489.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.256e-05/0.1549, allocations: 4 kB / 489.2 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.1549, allocations: 11.97 kB / 489.2 MB, free: 13.75 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.0001126/0.1551, allocations: 117.8 kB / 489.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.1551, allocations: 19.8 kB / 489.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1551, allocations: 12.72 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.1552, allocations: 0 / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1552, allocations: 3.938 kB / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1552, allocations: 0 / 489.4 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.1557, allocations: 395.3 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1557, allocations: 4.562 kB / 489.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.722e-05/0.1557, allocations: 15.92 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1558, allocations: 3.938 kB / 489.8 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.1558, allocations: 4 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1558, allocations: 0 / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1558, allocations: 4 kB / 489.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.156, allocations: 204.3 kB / 490 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.532e-05/0.1561, allocations: 96.94 kB / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.1561, allocations: 0 / 490.1 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1562, allocations: 4 kB / 490.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.1563, allocations: 11.98 kB / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1563, allocations: 0 / 490.1 MB, free: 12.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001322/0.1564, allocations: 130.5 kB / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1564, allocations: 0 / 490.3 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003037/0.1568, allocations: 47.98 kB / 490.3 MB, free: 12.59 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.002002/0.1588, allocations: 0.5369 MB / 490.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002084/0.159, allocations: 59.91 kB / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.159, allocations: 0 / 490.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.1591, allocations: 32 kB / 490.9 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.1595, allocations: 35.91 kB / 491 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.16, allocations: 226 kB / 491.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1604, allocations: 0.6965 MB / 491.9 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.654e-05/0.1604, allocations: 21.17 kB / 491.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.1605, allocations: 23.42 kB / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1605, allocations: 0 / 491.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of Templates: time 0.006312/0.1668, allocations: 2.281 MB / 494.2 MB, free: 8.82 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test57/Test57.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test57.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches