Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7") translateModel(ModelicaTest.Tables.CombiTable1D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.001599, allocations: 203.1 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.1 MB / 222.6 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3918/0.3918, allocations: 43.5 MB / 313.5 MB, free: 8.52 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001505/0.001505, allocations: 67.91 kB / 382 MB, free: 8.742 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.1471, allocations: 57.78 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test7): time 0.003152/0.1503, allocations: 1.614 MB / 441.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005894/0.1509, allocations: 319.6 kB / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.151, allocations: 0 / 441.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001705/0.1512, allocations: 23.92 kB / 441.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.1513, allocations: 31.91 kB / 441.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002254/0.1515, allocations: 83.83 kB / 441.9 MB, free: 12.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.1516, allocations: 55.78 kB / 441.9 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.1517, allocations: 19.97 kB / 442 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.1518, allocations: 23.88 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.1518, allocations: 11.92 kB / 442 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.461e-05/0.1518, allocations: 4 kB / 442 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.601e-05/0.1519, allocations: 35.97 kB / 442 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.1519, allocations: 7.938 kB / 442 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.152, allocations: 27.8 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001163/0.1521, allocations: 75.95 kB / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1521, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 6.11e-07/0.1521, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.076e-06/0.1521, allocations: 0 / 442.1 MB, free: 12.52 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003716/0.1525, allocations: 395.2 kB / 442.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.715e-05/0.1525, allocations: 8.031 kB / 442.5 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.998e-05/0.1526, allocations: 8.844 kB / 442.5 MB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.1527, allocations: 184.2 kB / 442.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.055e-06/0.1527, allocations: 4.375 kB / 442.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.1528, allocations: 4.375 kB / 442.7 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1529, allocations: 53.8 kB / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1529, allocations: 0 / 442.8 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.1529, allocations: 3.938 kB / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.1529, allocations: 0 / 442.8 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.392e-05/0.153, allocations: 23.98 kB / 442.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003466/0.1534, allocations: 280.9 kB / 443.1 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.1535, allocations: 50.53 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.07e-05/0.1536, allocations: 20.8 kB / 443.2 MB, free: 11.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1536, allocations: 12.02 kB / 443.2 MB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.1537, allocations: 30.56 kB / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.1537, allocations: 0 / 443.2 MB, free: 11.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004973/0.1542, allocations: 145.2 kB / 443.3 MB, free: 11.15 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.314e-05/0.1542, allocations: 55.41 kB / 443.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1544, allocations: 157.4 kB / 443.5 MB, free: 10.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.387e-05/0.1544, allocations: 25.7 kB / 443.6 MB, free: 10.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.1544, allocations: 96.12 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.81e-05/0.1545, allocations: 23.66 kB / 443.7 MB, free: 10.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.1545, allocations: 17.72 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000197/0.1547, allocations: 318.8 kB / 444 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.488e-05/0.1548, allocations: 19.98 kB / 444 MB, free: 10.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.12e-05/0.1548, allocations: 23.98 kB / 444.1 MB, free: 10.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.155, allocations: 52.83 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.155, allocations: 0 / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001862/0.1552, allocations: 89.5 kB / 444.2 MB, free: 10.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.1552, allocations: 11.94 kB / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1552, allocations: 0 / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.1552, allocations: 0 / 444.2 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.14e-05/0.1553, allocations: 15.98 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.1553, allocations: 4 kB / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.253e-05/0.1553, allocations: 256 / 444.2 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.1554, allocations: 15.94 kB / 444.2 MB, free: 10.19 MB / 382.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 (5): * Single equations (assignments): 5 * 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 8.707e-05/0.1555, allocations: 121.8 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.1555, allocations: 7.906 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.1557, allocations: 97.91 kB / 444.5 MB, free: 9.949 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.1557, allocations: 4 kB / 444.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.1557, allocations: 0 / 444.5 MB, free: 9.945 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1557, allocations: 3.984 kB / 444.5 MB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.1561, allocations: 350.5 kB / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1562, allocations: 0 / 444.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.381e-05/0.1562, allocations: 19.92 kB / 444.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1562, allocations: 0 / 444.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.79e-06/0.1562, allocations: 0 / 444.8 MB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.1562, allocations: 7.938 kB / 444.8 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1563, allocations: 3.938 kB / 444.8 MB, free: 9.512 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.1565, allocations: 179.4 kB / 445 MB, free: 9.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.1565, allocations: 81.02 kB / 445.1 MB, free: 9.223 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1565, allocations: 8 kB / 445.1 MB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.314e-05/0.1566, allocations: 7.922 kB / 445.1 MB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.079e-05/0.1566, allocations: 8 kB / 445.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.1566, allocations: 0 / 445.1 MB, free: 9.199 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.603e-05/0.1567, allocations: 123.2 kB / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1567, allocations: 0 / 445.2 MB, free: 9.078 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.157, allocations: 8 kB / 445.3 MB, free: 9.07 MB / 382.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008543/0.1578, allocations: 410.4 kB / 445.7 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.158, allocations: 59.95 kB / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.158, allocations: 0 / 445.7 MB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.553e-05/0.1581, allocations: 23.98 kB / 445.7 MB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002934/0.1584, allocations: 15.98 kB / 445.7 MB, free: 8.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003213/0.1587, allocations: 199.2 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.159, allocations: 0.6965 MB / 446.6 MB, free: 7.656 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.979e-05/0.1591, allocations: 16.22 kB / 446.7 MB, free: 7.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.1591, allocations: 11.44 kB / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.1591, allocations: 0 / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of Templates: time 0.003679/0.1628, allocations: 1.05 MB / 447.7 MB, free: 6.582 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches