Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009673/0.0009673, allocations: 93.67 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001588, allocations: 202.4 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.371/1.371, allocations: 227.7 MB / 246.8 MB, free: 11.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2172/0.2172, allocations: 46.19 MB / 345.2 MB, free: 11.43 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002853/0.0002854, allocations: 12 kB / 419.5 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1232, allocations: 63.55 MB / 483.1 MB, free: 4.176 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002396/0.1257, allocations: 1.625 MB / 484.7 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.1275, allocations: 1.092 MB / 485.8 MB, free: 1.441 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.747e-05/0.1276, allocations: 7.938 kB / 485.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.128, allocations: 243.5 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003664/0.1284, allocations: 207.4 kB / 486.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002423/0.1287, allocations: 103.8 kB / 486.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.129, allocations: 259.2 kB / 486.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1291, allocations: 25.69 kB / 486.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001853/0.1293, allocations: 123.5 kB / 486.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002052/0.1295, allocations: 183.4 kB / 486.9 MB, free: 320 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1295, allocations: 4 kB / 486.9 MB, free: 316 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1297, allocations: 55.92 kB / 487 MB, free: 260 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.969e-05/0.1297, allocations: 63.75 kB / 487.1 MB, free: 196 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.099e-05/0.1298, allocations: 116.9 kB / 487.2 MB, free: 72 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003011/0.1302, allocations: 251.3 kB / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1302, allocations: 0 / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1302, allocations: 0 / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1302, allocations: 0 / 487.4 MB, free: 15.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007373/0.1309, allocations: 0.5394 MB / 488 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.131, allocations: 8.031 kB / 488 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.862e-05/0.131, allocations: 32.56 kB / 488 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.1314, allocations: 298.3 kB / 488.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.1314, allocations: 12.38 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.1315, allocations: 12.06 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.1317, allocations: 114 kB / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1317, allocations: 0 / 488.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1317, allocations: 8 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1318, allocations: 0 / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.1319, allocations: 39.97 kB / 488.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000559/0.1325, allocations: 496.6 kB / 489 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003665/0.1328, allocations: 121.2 kB / 489.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.133, allocations: 49.83 kB / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.133, allocations: 0 / 489.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.1332, allocations: 121 kB / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.1333, allocations: 0 / 489.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.00131/0.1346, allocations: 0.5116 MB / 489.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.1347, allocations: 77.11 kB / 489.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.1352, allocations: 0.4938 MB / 490.3 MB, free: 12.69 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.1352, allocations: 33.7 kB / 490.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000124/0.1353, allocations: 172.4 kB / 490.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/0.1354, allocations: 67.11 kB / 490.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.821e-05/0.1354, allocations: 29.7 kB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1356, allocations: 346.8 kB / 491 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1357, allocations: 55.97 kB / 491 MB, free: 11.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1359, allocations: 91.34 kB / 491.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.1362, allocations: 171.4 kB / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1362, allocations: 0 / 491.3 MB, free: 11.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004228/0.1366, allocations: 229.1 kB / 491.5 MB, free: 11.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.1366, allocations: 11.94 kB / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1366, allocations: 0 / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.1367, allocations: 0 / 491.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.1368, allocations: 51.91 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1368, allocations: 4 kB / 491.6 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.837e-05/0.1369, allocations: 8.062 kB / 491.6 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.866e-05/0.137, allocations: 12 kB / 491.6 MB, free: 11.38 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.00017/0.1371, allocations: 170.3 kB / 491.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.1372, allocations: 43.47 kB / 491.8 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.905e-05/0.1373, allocations: 47.81 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.1373, allocations: 4 kB / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1373, allocations: 0 / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.1373, allocations: 0 / 491.8 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009208/0.1383, allocations: 0.7389 MB / 492.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1383, allocations: 11.92 kB / 492.6 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.178e-05/0.1384, allocations: 28.12 kB / 492.6 MB, free: 10.26 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1384, allocations: 4 kB / 492.6 MB, free: 10.25 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.1384, allocations: 11.98 kB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.1384, allocations: 0 / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.1384, allocations: 4 kB / 492.6 MB, free: 10.24 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.1389, allocations: 425.6 kB / 493 MB, free: 9.793 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.699e-05/0.139, allocations: 112.6 kB / 493.2 MB, free: 9.664 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.269e-05/0.139, allocations: 15.98 kB / 493.2 MB, free: 9.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.1392, allocations: 8 kB / 493.2 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.1392, allocations: 27.84 kB / 493.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.461e-05/0.1393, allocations: 12 kB / 493.2 MB, free: 9.602 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003407/0.1396, allocations: 375.1 kB / 493.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.533e-06/0.1396, allocations: 0 / 493.6 MB, free: 9.238 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000357/0.14, allocations: 59.92 kB / 493.6 MB, free: 9.18 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.00115/0.1411, allocations: 0.5034 MB / 494.1 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.1415, allocations: 147.9 kB / 494.3 MB, free: 8.711 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1415, allocations: 4.125 kB / 494.3 MB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001584/0.1417, allocations: 79.84 kB / 494.4 MB, free: 8.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006715/0.1423, allocations: 69.39 kB / 494.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009035/0.1433, allocations: 0.6718 MB / 495.1 MB, free: 7.852 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.1436, allocations: 0.7866 MB / 495.9 MB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00012/0.1437, allocations: 41.92 kB / 495.9 MB, free: 7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.518e-05/0.1438, allocations: 27.44 kB / 496 MB, free: 6.973 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1438, allocations: 0 / 496 MB, free: 6.973 MB / 366.1 MB Notification: Performance of Templates: time 0.006477/0.1503, allocations: 2.989 MB / 499 MB, free: 4.016 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test78.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches