Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.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.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001137, allocations: 100.1 kB / 15.88 MB, free: 4 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.001249/0.001249, allocations: 200.2 kB / 16.79 MB, free: 6.805 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.873/1.873, allocations: 205.1 MB / 222.6 MB, free: 4.758 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.4048/0.4048, allocations: 43.49 MB / 313.5 MB, free: 8.5 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.001503/0.001503, allocations: 67.91 kB / 382 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1574, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test6): time 0.003581/0.1611, allocations: 1.641 MB / 441.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000838/0.1619, allocations: 307.7 kB / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.521e-05/0.162, allocations: 0 / 441.8 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004137/0.1624, allocations: 87.81 kB / 441.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001705/0.1626, allocations: 71.78 kB / 441.9 MB, free: 12.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.1629, allocations: 63.92 kB / 442 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.163, allocations: 75.77 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001886/0.1632, allocations: 20.44 kB / 442.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.153e-05/0.1633, allocations: 31.91 kB / 442.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.1634, allocations: 59.81 kB / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.487e-05/0.1634, allocations: 0 / 442.2 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.626e-05/0.1635, allocations: 39.92 kB / 442.2 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.764e-05/0.1636, allocations: 23.92 kB / 442.2 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1636, allocations: 27.75 kB / 442.3 MB, free: 12.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1638, allocations: 107.6 kB / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.1638, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1638, allocations: 0 / 442.4 MB, free: 12.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.777e-06/0.1638, allocations: 0 / 442.4 MB, free: 12.3 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005552/0.1644, allocations: 411 kB / 442.8 MB, free: 11.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.1644, allocations: 8.031 kB / 442.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.1645, allocations: 12.75 kB / 442.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002216/0.1647, allocations: 204.8 kB / 443 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.1647, allocations: 12.31 kB / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.1648, allocations: 384 / 443 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.1649, allocations: 61.61 kB / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.165, allocations: 0 / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.165, allocations: 0 / 443.1 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.165, allocations: 4 kB / 443.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001031/0.1651, allocations: 31.97 kB / 443.1 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004126/0.1655, allocations: 316.7 kB / 443.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001306/0.1657, allocations: 46.56 kB / 443.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.65e-05/0.1657, allocations: 20.97 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.986e-05/0.1658, allocations: 8.062 kB / 443.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/0.1658, allocations: 34.56 kB / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 3.577e-06/0.1658, allocations: 0 / 443.5 MB, free: 10.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006421/0.1664, allocations: 185 kB / 443.7 MB, free: 10.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1665, allocations: 55.39 kB / 443.7 MB, free: 10.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002211/0.1667, allocations: 234.3 kB / 444 MB, free: 10.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.383e-05/0.1668, allocations: 29.7 kB / 444 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1668, allocations: 104.1 kB / 444.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.1669, allocations: 27.64 kB / 444.1 MB, free: 10.33 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1669, allocations: 21.72 kB / 444.2 MB, free: 10.3 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1671, allocations: 322.8 kB / 444.5 MB, free: 9.98 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.993e-05/0.1672, allocations: 27.92 kB / 444.5 MB, free: 9.953 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.737e-05/0.1672, allocations: 27.97 kB / 444.5 MB, free: 9.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.1674, allocations: 64.81 kB / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.1674, allocations: 0 / 444.6 MB, free: 9.859 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002038/0.1676, allocations: 97.48 kB / 444.7 MB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1676, allocations: 4 kB / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.1676, allocations: 0 / 444.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.1677, allocations: 4 kB / 444.7 MB, free: 9.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.1678, allocations: 23.91 kB / 444.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1678, allocations: 4 kB / 444.7 MB, free: 9.723 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.592e-05/0.1678, allocations: 15.92 kB / 444.7 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.1679, allocations: 4 kB / 444.7 MB, free: 9.703 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 (8): * Single equations (assignments): 8 * 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.0001082/0.168, allocations: 129.8 kB / 444.9 MB, free: 9.566 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.434e-05/0.168, allocations: 15.8 kB / 444.9 MB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.1683, allocations: 119.3 kB / 445 MB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1683, allocations: 4 kB / 445 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1683, allocations: 0 / 445 MB, free: 9.422 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1684, allocations: 3.938 kB / 445 MB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.1689, allocations: 390.5 kB / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1689, allocations: 384 / 445.4 MB, free: 8.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.09e-05/0.169, allocations: 19.92 kB / 445.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.169, allocations: 7.938 kB / 445.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.169, allocations: 8 kB / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.169, allocations: 0 / 445.4 MB, free: 8.945 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.169, allocations: 3.938 kB / 445.4 MB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000266/0.1693, allocations: 199.3 kB / 445.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.598e-05/0.1693, allocations: 89.02 kB / 445.7 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1694, allocations: 11.86 kB / 445.7 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.707e-05/0.1694, allocations: 4 kB / 445.7 MB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.782e-05/0.1695, allocations: 11.98 kB / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.1695, allocations: 0 / 445.7 MB, free: 8.598 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001743/0.1697, allocations: 172.2 kB / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1697, allocations: 0 / 445.9 MB, free: 8.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002416/0.17, allocations: 20 kB / 445.9 MB, free: 8.41 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 (8): * Single equations (assignments): 8 * 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.0009713/0.1709, allocations: 403.7 kB / 446.3 MB, free: 8.043 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.1712, allocations: 71.89 kB / 446.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1712, allocations: 0 / 446.4 MB, free: 7.973 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/0.1713, allocations: 31.98 kB / 446.4 MB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.1717, allocations: 19.92 kB / 446.4 MB, free: 7.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005711/0.1723, allocations: 291.8 kB / 446.7 MB, free: 7.605 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.1726, allocations: 0.7121 MB / 447.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.686e-05/0.1727, allocations: 8.969 kB / 447.4 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.682e-05/0.1727, allocations: 19.42 kB / 447.5 MB, free: 6.84 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1727, allocations: 4 kB / 447.5 MB, free: 6.836 MB / 382.1 MB Notification: Performance of Templates: time 0.003766/0.1765, allocations: 1.139 MB / 448.6 MB, free: 5.695 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches