Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001546/0.001546, allocations: 110.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001722/0.001722, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 227.4 MB / 246.5 MB, free: 10.81 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.2295/0.2295, allocations: 46.11 MB / 343.8 MB, free: 11.74 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.002329/0.002329, allocations: 85.39 kB / 417.1 MB, free: 20.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1339/0.1363, allocations: 62.45 MB / 479.6 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003987/0.1403, allocations: 1.875 MB / 481.5 MB, free: 3.672 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1429, allocations: 1.666 MB / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.977e-05/0.1429, allocations: 0 / 483.1 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003101/0.1433, allocations: 51.77 kB / 483.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1436, allocations: 119.6 kB / 483.3 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.1439, allocations: 87.84 kB / 483.4 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.1441, allocations: 203.4 kB / 483.6 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.329e-05/0.1442, allocations: 9.688 kB / 483.6 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.1444, allocations: 87.56 kB / 483.7 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000222/0.1446, allocations: 87.55 kB / 483.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.1446, allocations: 8 kB / 483.8 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.1448, allocations: 115.9 kB / 483.9 MB, free: 1.242 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.1449, allocations: 43.83 kB / 483.9 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.55e-05/0.145, allocations: 59.61 kB / 484 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000343/0.1454, allocations: 227.6 kB / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.1454, allocations: 0 / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1454, allocations: 0 / 484.2 MB, free: 0.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.762e-06/0.1454, allocations: 4 kB / 484.2 MB, free: 0.9141 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007254/0.1461, allocations: 492.6 kB / 484.7 MB, free: 396 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1462, allocations: 8.031 kB / 484.7 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.712e-05/0.1462, allocations: 20.66 kB / 484.7 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003534/0.1466, allocations: 260.9 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1466, allocations: 4.375 kB / 485 MB, free: 64 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.1467, allocations: 12.06 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.1469, allocations: 101.1 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1469, allocations: 0 / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1469, allocations: 4 kB / 485.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.147, allocations: 8 kB / 485.1 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.1471, allocations: 31.92 kB / 485.1 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002768/0.1474, allocations: 218.4 kB / 485.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002683/0.1476, allocations: 109.2 kB / 485.4 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.1478, allocations: 49.56 kB / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.1478, allocations: 0 / 485.5 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002829/0.1481, allocations: 105.1 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 3.076e-06/0.1481, allocations: 4 kB / 485.6 MB, free: 15.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004886/0.1486, allocations: 161.3 kB / 485.8 MB, free: 15.16 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.1487, allocations: 140.5 kB / 485.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.149, allocations: 232.2 kB / 486.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.1491, allocations: 33.64 kB / 486.1 MB, free: 14.71 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.1492, allocations: 120.1 kB / 486.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.325e-05/0.1492, allocations: 23.66 kB / 486.3 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/0.1493, allocations: 29.7 kB / 486.3 MB, free: 14.53 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1495, allocations: 330.8 kB / 486.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.088e-05/0.1495, allocations: 27.98 kB / 486.7 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.1497, allocations: 73.12 kB / 486.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1499, allocations: 87.39 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1499, allocations: 3.938 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000275/0.1502, allocations: 141.9 kB / 487 MB, free: 13.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1502, allocations: 8 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1502, allocations: 4 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.1502, allocations: 4 kB / 487 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.1504, allocations: 27.92 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1504, allocations: 4.062 kB / 487 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.819e-05/0.1505, allocations: 8 kB / 487 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.1505, allocations: 4 kB / 487 MB, free: 13.77 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001296/0.1506, allocations: 134.3 kB / 487.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1507, allocations: 27.72 kB / 487.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.798e-05/0.1507, allocations: 16.98 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.1507, allocations: 4 kB / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1507, allocations: 0 / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1507, allocations: 0 / 487.2 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002341/0.151, allocations: 237.4 kB / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.151, allocations: 0 / 487.4 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.151, allocations: 11.92 kB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.151, allocations: 4 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.1511, allocations: 3.984 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1511, allocations: 0 / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1511, allocations: 4 kB / 487.5 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.1514, allocations: 169.6 kB / 487.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.933e-05/0.1515, allocations: 96.91 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.1515, allocations: 4 kB / 487.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-05/0.1516, allocations: 8.078 kB / 487.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.845e-05/0.1516, allocations: 11.94 kB / 487.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1517, allocations: 7.984 kB / 487.8 MB, free: 12.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002065/0.1519, allocations: 177.6 kB / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1519, allocations: 0 / 487.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.1522, allocations: 55.98 kB / 488 MB, free: 12.73 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001712/0.1539, allocations: 492.2 kB / 488.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002704/0.1542, allocations: 87.83 kB / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1542, allocations: 0 / 488.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.1543, allocations: 47.91 kB / 488.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003708/0.1547, allocations: 62.86 kB / 488.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005896/0.1553, allocations: 327.8 kB / 489 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.1557, allocations: 0.7164 MB / 489.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.888e-05/0.1558, allocations: 25.53 kB / 489.7 MB, free: 11.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.1558, allocations: 31.42 kB / 489.7 MB, free: 11.06 MB / 366.1 MB Notification: Performance of SimCode: time 2.464e-06/0.1559, allocations: 4 kB / 489.8 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Templates: time 0.007493/0.1634, allocations: 3.116 MB / 492.9 MB, free: 7.965 MB / 366.1 MB make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.makefile (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches