Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.CombiTable1Ds.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.CombiTable1Ds.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009689/0.000969, allocations: 102.4 kB / 16.02 MB, free: 76 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.001222/0.001222, allocations: 185.3 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.134/2.134, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.5158/0.5158, allocations: 43.58 MB / 315 MB, free: 8.949 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.0004978/0.0004978, allocations: 12.38 kB / 384.6 MB, free: 7.871 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.15, allocations: 58.87 MB / 443.4 MB, free: 12.9 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002332/0.1524, allocations: 1.263 MB / 444.7 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007334/0.1531, allocations: 315.6 kB / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.151e-05/0.1532, allocations: 0 / 445 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1535, allocations: 11.94 kB / 445 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001725/0.1536, allocations: 31.91 kB / 445.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1539, allocations: 63.86 kB / 445.1 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.154, allocations: 43.91 kB / 445.2 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1542, allocations: 23.97 kB / 445.2 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.034e-05/0.1542, allocations: 23.8 kB / 445.2 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.31e-05/0.1543, allocations: 15.92 kB / 445.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.1543, allocations: 0 / 445.2 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.583e-05/0.1544, allocations: 28 kB / 445.3 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.1545, allocations: 11.91 kB / 445.3 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.1545, allocations: 41.58 kB / 445.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.1547, allocations: 72.02 kB / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1547, allocations: 0 / 445.4 MB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1547, allocations: 3.938 kB / 445.4 MB, free: 10.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1547, allocations: 4 kB / 445.4 MB, free: 10.94 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.0004911/0.1552, allocations: 379.2 kB / 445.8 MB, free: 10.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1553, allocations: 8.031 kB / 445.8 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.057e-05/0.1553, allocations: 12.83 kB / 445.8 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.1555, allocations: 192 kB / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.1556, allocations: 384 / 446 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.18e-05/0.1556, allocations: 4.375 kB / 446 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.1557, allocations: 53.81 kB / 446 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1558, allocations: 7.906 kB / 446 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.1558, allocations: 4 kB / 446 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1558, allocations: 0 / 446 MB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.391e-05/0.1559, allocations: 23.92 kB / 446.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1563, allocations: 268.9 kB / 446.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.1565, allocations: 50.56 kB / 446.4 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.191e-05/0.1565, allocations: 16.94 kB / 446.4 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.382e-05/0.1566, allocations: 4 kB / 446.4 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.1566, allocations: 34.5 kB / 446.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.1566, allocations: 0 / 446.4 MB, free: 9.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005856/0.1572, allocations: 157.4 kB / 446.6 MB, free: 9.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.853e-05/0.1573, allocations: 55.34 kB / 446.6 MB, free: 9.516 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1574, allocations: 150 kB / 446.8 MB, free: 9.355 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.1574, allocations: 25.7 kB / 446.8 MB, free: 9.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.68e-05/0.1575, allocations: 96.12 kB / 446.9 MB, free: 9.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.071e-05/0.1575, allocations: 11.75 kB / 446.9 MB, free: 9.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.1575, allocations: 13.72 kB / 446.9 MB, free: 9.195 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1577, allocations: 322.8 kB / 447.2 MB, free: 8.871 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.071e-05/0.1577, allocations: 23.98 kB / 447.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.947e-05/0.1578, allocations: 23.98 kB / 447.3 MB, free: 8.824 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001297/0.1579, allocations: 52.83 kB / 447.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.158, allocations: 0 / 447.3 MB, free: 8.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001789/0.1581, allocations: 97.45 kB / 447.4 MB, free: 8.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.403e-05/0.1582, allocations: 8 kB / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.1582, allocations: 0 / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1582, allocations: 0 / 447.4 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.1583, allocations: 15.98 kB / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.1583, allocations: 0 / 447.5 MB, free: 8.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.1583, allocations: 8 kB / 447.5 MB, free: 8.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.1583, allocations: 0 / 447.5 MB, free: 8.637 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.562e-05/0.1584, allocations: 129.8 kB / 447.6 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.1585, allocations: 3.906 kB / 447.6 MB, free: 8.496 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002419/0.1587, allocations: 102.2 kB / 447.7 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.1587, allocations: 3.938 kB / 447.7 MB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1587, allocations: 4.062 kB / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1587, allocations: 0 / 447.7 MB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004178/0.1592, allocations: 350.5 kB / 448 MB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1592, allocations: 4 kB / 448 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.1592, allocations: 15.98 kB / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.1593, allocations: 0 / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1593, allocations: 0 / 448.1 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.1593, allocations: 3.938 kB / 448.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1593, allocations: 3.938 kB / 448.1 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002175/0.1595, allocations: 183.4 kB / 448.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.69e-05/0.1596, allocations: 89.28 kB / 448.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.1596, allocations: 0 / 448.3 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.066e-05/0.1597, allocations: 11.94 kB / 448.3 MB, free: 7.641 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.1597, allocations: 11.97 kB / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.596e-06/0.1597, allocations: 0 / 448.4 MB, free: 7.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.1598, allocations: 111.3 kB / 448.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1598, allocations: 0 / 448.5 MB, free: 7.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1601, allocations: 19.98 kB / 448.5 MB, free: 7.5 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.0009387/0.161, allocations: 404.3 kB / 448.9 MB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.1612, allocations: 63.89 kB / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1612, allocations: 0 / 448.9 MB, free: 7.074 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.586e-05/0.1613, allocations: 27.98 kB / 449 MB, free: 7.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.1617, allocations: 19.92 kB / 449 MB, free: 7.027 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003844/0.1621, allocations: 180.7 kB / 449.2 MB, free: 6.824 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.1623, allocations: 0.6887 MB / 449.9 MB, free: 6.109 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.867e-05/0.1624, allocations: 7.984 kB / 449.9 MB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.617e-05/0.1624, allocations: 15.38 kB / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1624, allocations: 0 / 449.9 MB, free: 6.09 MB / 382.1 MB Notification: Performance of Templates: time 0.003692/0.1661, allocations: 1.007 MB / 450.9 MB, free: 5.082 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches