Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.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.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") translateModel(ModelicaTest.Tables.CombiTable2D.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 97.72 kB / 16.02 MB, free: 84 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.001931/0.001932, allocations: 185.4 kB / 16.92 MB, free: 6.934 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.989/1.989, allocations: 205.4 MB / 223.1 MB, free: 5.742 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.4063/0.4063, allocations: 43.57 MB / 315 MB, free: 8.73 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.0009387/0.0009388, allocations: 12.56 kB / 384.6 MB, free: 7.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1537, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test9): time 0.002166/0.1559, allocations: 1.298 MB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006644/0.1566, allocations: 299.7 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.766e-05/0.1567, allocations: 0 / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005968/0.1573, allocations: 455.2 kB / 445.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004186/0.1577, allocations: 243.5 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1581, allocations: 95.88 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1583, allocations: 159.6 kB / 446 MB, free: 10.14 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.1584, allocations: 11.98 kB / 446 MB, free: 10.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.1585, allocations: 99.8 kB / 446.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.1588, allocations: 203.5 kB / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1588, allocations: 0 / 446.3 MB, free: 9.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.1589, allocations: 16 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.159, allocations: 87.67 kB / 446.4 MB, free: 9.727 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1591, allocations: 124.8 kB / 446.5 MB, free: 9.598 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1595, allocations: 230.9 kB / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1595, allocations: 0 / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1595, allocations: 0 / 446.7 MB, free: 9.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.1595, allocations: 0 / 446.7 MB, free: 9.371 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.0006709/0.1602, allocations: 0.5914 MB / 447.3 MB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1603, allocations: 11.97 kB / 447.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.555e-05/0.1603, allocations: 40.47 kB / 447.4 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.1606, allocations: 300.1 kB / 447.7 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.1606, allocations: 4.375 kB / 447.7 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.1607, allocations: 8.375 kB / 447.7 MB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.1608, allocations: 53.81 kB / 447.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1609, allocations: 3.938 kB / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.1609, allocations: 0 / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1609, allocations: 0 / 447.7 MB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.161, allocations: 43.97 kB / 447.8 MB, free: 8.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004123/0.1614, allocations: 372.8 kB / 448.1 MB, free: 7.816 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001234/0.1616, allocations: 42.56 kB / 448.2 MB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.39e-05/0.1617, allocations: 32.88 kB / 448.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.1617, allocations: 0 / 448.2 MB, free: 7.73 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.1617, allocations: 30.56 kB / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 2.595e-06/0.1617, allocations: 0 / 448.2 MB, free: 7.691 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003271/0.1621, allocations: 137 kB / 448.4 MB, free: 7.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.1621, allocations: 51.41 kB / 448.4 MB, free: 7.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008824/0.163, allocations: 0.8496 MB / 449.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.704e-05/0.163, allocations: 25.7 kB / 449.3 MB, free: 6.598 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001837/0.1632, allocations: 216.1 kB / 449.5 MB, free: 6.383 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.1632, allocations: 7.906 kB / 449.5 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-05/0.1633, allocations: 13.72 kB / 449.5 MB, free: 6.355 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001782/0.1635, allocations: 358.7 kB / 449.9 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.126e-05/0.1635, allocations: 23.92 kB / 449.9 MB, free: 5.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.875e-05/0.1636, allocations: 15.98 kB / 449.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1638, allocations: 53.11 kB / 450 MB, free: 5.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1638, allocations: 0 / 450 MB, free: 5.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002232/0.164, allocations: 113.1 kB / 450.1 MB, free: 5.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.164, allocations: 8 kB / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.164, allocations: 0 / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.1641, allocations: 0 / 450.1 MB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.102e-05/0.1641, allocations: 11.98 kB / 450.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1642, allocations: 0 / 450.1 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.1642, allocations: 7.938 kB / 450.1 MB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.1642, allocations: 11.92 kB / 450.1 MB, free: 5.746 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 (3): * Single equations (assignments): 3 * 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.0002101/0.1645, allocations: 217.7 kB / 450.3 MB, free: 5.523 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-05/0.1645, allocations: 35.53 kB / 450.4 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002827/0.1648, allocations: 125 kB / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1648, allocations: 0 / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1649, allocations: 0 / 450.5 MB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.1649, allocations: 7.984 kB / 450.5 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.1652, allocations: 293.4 kB / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1652, allocations: 0 / 450.8 MB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.1653, allocations: 11.98 kB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1653, allocations: 0 / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.1653, allocations: 4 kB / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1653, allocations: 0 / 450.8 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.1653, allocations: 3.938 kB / 450.8 MB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1656, allocations: 211 kB / 451 MB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.837e-05/0.1657, allocations: 108.5 kB / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.1657, allocations: 0 / 451.1 MB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.543e-05/0.1658, allocations: 15.92 kB / 451.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.186e-05/0.1658, allocations: 4 kB / 451.1 MB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.256e-06/0.1659, allocations: 4 kB / 451.1 MB, free: 4.621 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006541/0.1665, allocations: 0.6472 MB / 451.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1665, allocations: 0 / 451.8 MB, free: 3.977 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000258/0.1668, allocations: 15.98 kB / 451.8 MB, free: 3.961 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 (3): * Single equations (assignments): 3 * 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.0008792/0.1677, allocations: 354.7 kB / 452.1 MB, free: 3.637 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.1679, allocations: 47.84 kB / 452.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1679, allocations: 0 / 452.2 MB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.915e-05/0.168, allocations: 32.06 kB / 452.2 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.1683, allocations: 21.95 kB / 452.2 MB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009569/0.1693, allocations: 0.8415 MB / 453.1 MB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1697, allocations: 0.8185 MB / 453.9 MB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.434e-05/0.1697, allocations: 7.984 kB / 453.9 MB, free: 1.812 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.768e-05/0.1697, allocations: 19.42 kB / 453.9 MB, free: 1.797 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1697, allocations: 0 / 453.9 MB, free: 1.797 MB / 382.1 MB Notification: Performance of Templates: time 0.004355/0.1741, allocations: 1.183 MB / 455.1 MB, free: 0.6133 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test9/Test9.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches