Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009317/0.0009316, allocations: 98.22 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001044/0.001044, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2437/0.2437, allocations: 46.18 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003126/0.0003128, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.1432, allocations: 63.58 MB / 482.4 MB, free: 4.531 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002334/0.1456, allocations: 1.419 MB / 483.8 MB, free: 3.102 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1472, allocations: 0.9401 MB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.845e-05/0.1473, allocations: 0 / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002608/0.1476, allocations: 31.89 kB / 484.8 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002313/0.1478, allocations: 75.69 kB / 484.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.148, allocations: 67.8 kB / 485 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1481, allocations: 87.7 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.077e-05/0.1482, allocations: 19.97 kB / 485.1 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.914e-05/0.1483, allocations: 39.78 kB / 485.1 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.645e-05/0.1484, allocations: 31.84 kB / 485.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1484, allocations: 7.938 kB / 485.1 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.733e-05/0.1485, allocations: 32 kB / 485.2 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.1486, allocations: 23.91 kB / 485.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.704e-05/0.1486, allocations: 37.64 kB / 485.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001428/0.1488, allocations: 88.08 kB / 485.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.1488, allocations: 4 kB / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1488, allocations: 0 / 485.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1488, allocations: 4 kB / 485.3 MB, free: 1.609 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.000697/0.1495, allocations: 409.1 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.1496, allocations: 11.97 kB / 485.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.762e-05/0.1496, allocations: 11.91 kB / 485.7 MB, free: 1.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.1499, allocations: 206.7 kB / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1499, allocations: 0 / 485.9 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1499, allocations: 8 kB / 486 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.1501, allocations: 57.61 kB / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.1501, allocations: 0 / 486 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.1501, allocations: 4 kB / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1501, allocations: 0 / 486 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.643e-05/0.1502, allocations: 19.98 kB / 486 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/0.1506, allocations: 284.9 kB / 486.3 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/0.1508, allocations: 66.61 kB / 486.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.029e-05/0.1508, allocations: 20.84 kB / 486.4 MB, free: 388 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1509, allocations: 4 kB / 486.4 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001835/0.1511, allocations: 67.39 kB / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1511, allocations: 0 / 486.5 MB, free: 304 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005373/0.1516, allocations: 181 kB / 486.6 MB, free: 116 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.236e-05/0.1517, allocations: 55.41 kB / 486.7 MB, free: 48 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1519, allocations: 210.8 kB / 486.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1519, allocations: 29.7 kB / 486.9 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.536e-05/0.152, allocations: 104.1 kB / 487 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.152, allocations: 23.7 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.1521, allocations: 4 kB / 487.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1522, allocations: 322.8 kB / 487.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.504e-05/0.1523, allocations: 20 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.167e-05/0.1523, allocations: 41.64 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.01e-05/0.1524, allocations: 23.98 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1524, allocations: 4 kB / 487.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000257/0.1527, allocations: 101.5 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1527, allocations: 4 kB / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1527, allocations: 0 / 487.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.1527, allocations: 4 kB / 487.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.1528, allocations: 15.98 kB / 487.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.1528, allocations: 4.031 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1529, allocations: 7.938 kB / 487.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.1529, allocations: 7.953 kB / 487.6 MB, free: 15.1 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001203/0.153, allocations: 129.8 kB / 487.7 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.153, allocations: 15.81 kB / 487.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.414e-05/0.1531, allocations: 13.41 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1531, allocations: 0 / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-05/0.1532, allocations: 3.984 kB / 487.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1532, allocations: 8 kB / 487.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.1536, allocations: 391.3 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1536, allocations: 4 kB / 488.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.533e-05/0.1537, allocations: 15.92 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1537, allocations: 0 / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1537, allocations: 4 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1537, allocations: 0 / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.1537, allocations: 8.188 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002105/0.1539, allocations: 204.2 kB / 488.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.154, allocations: 96.98 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.154, allocations: 0 / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.948e-05/0.1541, allocations: 4.188 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.268e-05/0.1541, allocations: 11.94 kB / 488.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.1542, allocations: 7.938 kB / 488.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001277/0.1543, allocations: 164.2 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1543, allocations: 0 / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1545, allocations: 24 kB / 488.7 MB, free: 13.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001116/0.1557, allocations: 458.6 kB / 489.1 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001725/0.1559, allocations: 59.86 kB / 489.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.1559, allocations: 0 / 489.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.811e-05/0.1559, allocations: 23.98 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1563, allocations: 23.98 kB / 489.2 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005191/0.1568, allocations: 262.1 kB / 489.5 MB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003683/0.1572, allocations: 0.7121 MB / 490.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.756e-05/0.1573, allocations: 21.17 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.1573, allocations: 15.44 kB / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1573, allocations: 0 / 490.2 MB, free: 12.45 MB / 366.1 MB Notification: Performance of Templates: time 0.004499/0.1618, allocations: 1.611 MB / 491.9 MB, free: 10.84 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches