Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008176/0.0008176, allocations: 95.61 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001047/0.001046, allocations: 202.6 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.7 MB / 247.5 MB, free: 11.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.19 MB / 345.9 MB, free: 11.36 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003443, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 63.58 MB / 483.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.002139/0.1382, allocations: 1.403 MB / 485.2 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001774/0.14, allocations: 0.959 MB / 486.1 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.1402, allocations: 4 kB / 486.1 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003271/0.1405, allocations: 71.8 kB / 486.2 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00033/0.1409, allocations: 87.72 kB / 486.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.1411, allocations: 59.88 kB / 486.3 MB, free: 1.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002064/0.1413, allocations: 99.69 kB / 486.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.432e-05/0.1414, allocations: 4.234 kB / 486.4 MB, free: 1.457 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1415, allocations: 47.7 kB / 486.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.1416, allocations: 43.84 kB / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1416, allocations: 0 / 486.5 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1418, allocations: 39.97 kB / 486.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.358e-05/0.1418, allocations: 15.92 kB / 486.6 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.828e-05/0.1419, allocations: 61.39 kB / 486.6 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1421, allocations: 80.09 kB / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1421, allocations: 0 / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1421, allocations: 0 / 486.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1421, allocations: 0 / 486.7 MB, free: 1.168 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00051/0.1426, allocations: 395.1 kB / 487.1 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.1426, allocations: 12.88 kB / 487.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.1427, allocations: 16.75 kB / 487.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.1429, allocations: 208.8 kB / 487.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.143, allocations: 384 / 487.3 MB, free: 476 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.143, allocations: 4.125 kB / 487.3 MB, free: 472 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.1431, allocations: 53.62 kB / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1431, allocations: 0 / 487.4 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.1432, allocations: 3.984 kB / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1432, allocations: 0 / 487.4 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.499e-05/0.1433, allocations: 12 kB / 487.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002535/0.1435, allocations: 189.7 kB / 487.6 MB, free: 156 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.1437, allocations: 46.62 kB / 487.6 MB, free: 100 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.1438, allocations: 24.78 kB / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.159e-05/0.1438, allocations: 0 / 487.7 MB, free: 72 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001858/0.144, allocations: 71.33 kB / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.794e-06/0.144, allocations: 0 / 487.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002896/0.1443, allocations: 97.48 kB / 487.8 MB, free: 15.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.1443, allocations: 51.41 kB / 487.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/0.1445, allocations: 190.9 kB / 488.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/0.1446, allocations: 29.7 kB / 488.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.614e-05/0.1446, allocations: 100.1 kB / 488.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1446, allocations: 7.906 kB / 488.2 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.558e-05/0.1447, allocations: 17.72 kB / 488.2 MB, free: 15.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1448, allocations: 330.7 kB / 488.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.329e-05/0.1449, allocations: 15.98 kB / 488.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.609e-05/0.145, allocations: 29.7 kB / 488.6 MB, free: 15.08 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.514e-05/0.1451, allocations: 41.72 kB / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1451, allocations: 0 / 488.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001757/0.1453, allocations: 93.36 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1453, allocations: 10.66 kB / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.1453, allocations: 0 / 488.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1453, allocations: 3.938 kB / 488.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.279e-05/0.1454, allocations: 8 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.1454, allocations: 0 / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.1455, allocations: 8.297 kB / 488.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.656e-06/0.1455, allocations: 4 kB / 488.7 MB, free: 14.9 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 (7): * Single equations (assignments): 7 * 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 9.861e-05/0.1456, allocations: 128.4 kB / 488.9 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.989e-05/0.1456, allocations: 15.89 kB / 488.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.1457, allocations: 20.98 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.1457, allocations: 4 kB / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.1457, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1457, allocations: 0 / 488.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001575/0.1458, allocations: 197.4 kB / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1459, allocations: 0 / 489.1 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.1459, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1459, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.1459, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1459, allocations: 4 kB / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1459, allocations: 0 / 489.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.1461, allocations: 105 kB / 489.2 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.585e-05/0.1462, allocations: 89.02 kB / 489.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.1462, allocations: 7.984 kB / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.985e-05/0.1462, allocations: 0 / 489.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.942e-05/0.1463, allocations: 7.938 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.1463, allocations: 4 kB / 489.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001209/0.1464, allocations: 152.7 kB / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1464, allocations: 0 / 489.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002166/0.1466, allocations: 24 kB / 489.5 MB, free: 14.06 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.0009346/0.1476, allocations: 408.3 kB / 489.9 MB, free: 13.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.1477, allocations: 35.98 kB / 489.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1478, allocations: 0 / 489.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/0.1478, allocations: 28 kB / 490 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.1481, allocations: 31.89 kB / 490 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.1485, allocations: 254.8 kB / 490.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002679/0.1488, allocations: 0.7043 MB / 490.9 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.1489, allocations: 11.44 kB / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1489, allocations: 0 / 491 MB, free: 12.67 MB / 366.1 MB Notification: Performance of Templates: time 0.00352/0.1524, allocations: 1.711 MB / 492.7 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches