Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 94.59 kB / 17.01 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001953/0.001952, allocations: 195.3 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.235/0.235, allocations: 46.18 MB / 344.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002536/0.0002538, allocations: 8.219 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1436, allocations: 63.58 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.002327/0.146, allocations: 1.307 MB / 483.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.1471, allocations: 499.2 kB / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.1472, allocations: 0 / 484.2 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003149/0.1475, allocations: 75.83 kB / 484.3 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003082/0.1479, allocations: 87.72 kB / 484.4 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000333/0.1482, allocations: 79.84 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.1484, allocations: 71.81 kB / 484.5 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1485, allocations: 11.98 kB / 484.5 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.52e-05/0.1486, allocations: 31.84 kB / 484.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.1488, allocations: 47.83 kB / 484.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1488, allocations: 0 / 484.6 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001547/0.1489, allocations: 43.97 kB / 484.6 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.639e-05/0.149, allocations: 15.94 kB / 484.7 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.1491, allocations: 37.62 kB / 484.7 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.1493, allocations: 83.81 kB / 484.8 MB, free: 2.156 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.1493, allocations: 4 kB / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1493, allocations: 0 / 484.8 MB, free: 2.152 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.043e-06/0.1493, allocations: 0 / 484.8 MB, free: 2.152 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006804/0.15, allocations: 391.3 kB / 485.2 MB, free: 1.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.1501, allocations: 8.031 kB / 485.2 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1501, allocations: 19.81 kB / 485.2 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.1505, allocations: 197.4 kB / 485.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.593e-05/0.1505, allocations: 7.922 kB / 485.4 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.1505, allocations: 7.984 kB / 485.4 MB, free: 1.445 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.1507, allocations: 53.67 kB / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.1508, allocations: 0 / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.1508, allocations: 0 / 485.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.1508, allocations: 4 kB / 485.5 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/0.1509, allocations: 27.98 kB / 485.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.1515, allocations: 300.6 kB / 485.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1516, allocations: 50.55 kB / 485.8 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.347e-05/0.1517, allocations: 20.86 kB / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.1517, allocations: 0 / 485.9 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.357e-05/0.1517, allocations: 30.56 kB / 485.9 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1517, allocations: 3.938 kB / 485.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009306/0.1527, allocations: 257.3 kB / 486.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.121e-05/0.1527, allocations: 59.36 kB / 486.2 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002326/0.153, allocations: 210.8 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.153, allocations: 25.7 kB / 486.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.1531, allocations: 112 kB / 486.5 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.1531, allocations: 27.64 kB / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-06/0.1531, allocations: 0 / 486.6 MB, free: 176 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.1533, allocations: 322.8 kB / 486.9 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.1534, allocations: 31.98 kB / 486.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.545e-05/0.1534, allocations: 27.98 kB / 486.9 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.841e-05/0.1535, allocations: 27.98 kB / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1535, allocations: 0 / 487 MB, free: 15.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002179/0.1538, allocations: 121.7 kB / 487.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1538, allocations: 4 kB / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1538, allocations: 0 / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1538, allocations: 0 / 487.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.1539, allocations: 23.92 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.1539, allocations: 3.953 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.44e-05/0.154, allocations: 12 kB / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.154, allocations: 0 / 487.1 MB, free: 15.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.00011/0.1541, allocations: 130.4 kB / 487.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1542, allocations: 7.906 kB / 487.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.1545, allocations: 130.9 kB / 487.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.1545, allocations: 4 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1545, allocations: 0 / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.1545, allocations: 3.953 kB / 487.4 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005184/0.155, allocations: 427.2 kB / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.155, allocations: 0 / 487.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.23e-05/0.1551, allocations: 19.98 kB / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1551, allocations: 432 / 487.8 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1551, allocations: 7.891 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1551, allocations: 0 / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1551, allocations: 4 kB / 487.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000261/0.1554, allocations: 212.2 kB / 488.1 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.1555, allocations: 92.94 kB / 488.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.18e-05/0.1555, allocations: 7.984 kB / 488.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.553e-05/0.1556, allocations: 7.953 kB / 488.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.1556, allocations: 15.98 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.1556, allocations: 0 / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001427/0.1558, allocations: 168.7 kB / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1558, allocations: 0 / 488.3 MB, free: 14.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002585/0.1561, allocations: 27.98 kB / 488.4 MB, free: 14.24 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001071/0.1571, allocations: 447.2 kB / 488.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.1574, allocations: 67.91 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.1574, allocations: 4 kB / 488.9 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1575, allocations: 44.06 kB / 488.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1578, allocations: 18.8 kB / 488.9 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005865/0.1584, allocations: 282.2 kB / 489.2 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.1587, allocations: 0.7043 MB / 489.9 MB, free: 12.8 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.065e-05/0.1588, allocations: 16.66 kB / 489.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.376e-05/0.1589, allocations: 15.44 kB / 489.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1589, allocations: 3.938 kB / 489.9 MB, free: 12.76 MB / 366.1 MB Notification: Performance of Templates: time 0.004161/0.163, allocations: 1.257 MB / 491.2 MB, free: 11.5 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches