Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.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.Test3,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.Test3") translateModel(ModelicaTest.Tables.CombiTable1D.Test3,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.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 107.7 kB / 16.27 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001549/0.00155, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.738/1.738, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2461/0.2461, allocations: 43.53 MB / 313.9 MB, free: 0.5234 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.001804/0.001804, allocations: 75.81 kB / 382.7 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1436, allocations: 57.79 MB / 440.5 MB, free: 6.914 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test3): time 0.003964/0.1476, allocations: 1.539 MB / 442.1 MB, free: 5.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006985/0.1483, allocations: 327.5 kB / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.845e-05/0.1484, allocations: 0 / 442.4 MB, free: 5.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003435/0.1488, allocations: 75.72 kB / 442.5 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1491, allocations: 67.73 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000338/0.1495, allocations: 91.67 kB / 442.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001837/0.1496, allocations: 63.84 kB / 442.7 MB, free: 4.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.1498, allocations: 15.92 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.557e-05/0.1499, allocations: 31.91 kB / 442.7 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.15, allocations: 39.84 kB / 442.8 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.15, allocations: 8 kB / 442.8 MB, free: 4.648 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1501, allocations: 35.97 kB / 442.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.432e-05/0.1502, allocations: 15.92 kB / 442.8 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.1503, allocations: 27.81 kB / 442.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.1504, allocations: 75.73 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1505, allocations: 3.938 kB / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1505, allocations: 0 / 442.9 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.275e-06/0.1505, allocations: 0 / 442.9 MB, free: 4.492 MB / 318.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.0005095/0.151, allocations: 391.1 kB / 443.3 MB, free: 4.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.1511, allocations: 19.89 kB / 443.3 MB, free: 4.043 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.896e-05/0.1511, allocations: 12.83 kB / 443.3 MB, free: 4.031 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.1513, allocations: 190.2 kB / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.1513, allocations: 384 / 443.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.383e-05/0.1514, allocations: 4.375 kB / 443.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1515, allocations: 53.8 kB / 443.6 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.1516, allocations: 4 kB / 443.6 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.07e-05/0.1516, allocations: 3.938 kB / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1516, allocations: 0 / 443.6 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.408e-05/0.1517, allocations: 27.92 kB / 443.6 MB, free: 3.711 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1521, allocations: 292.8 kB / 443.9 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002259/0.1524, allocations: 38.56 kB / 443.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.1524, allocations: 24.88 kB / 444 MB, free: 3.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1524, allocations: 4 kB / 444 MB, free: 3.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.583e-05/0.1525, allocations: 38.5 kB / 444 MB, free: 3.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.383e-06/0.1525, allocations: 0 / 444 MB, free: 3.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005913/0.1531, allocations: 149.2 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.684e-05/0.1531, allocations: 59.39 kB / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.1533, allocations: 186.1 kB / 444.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.1533, allocations: 29.7 kB / 444.4 MB, free: 2.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.679e-05/0.1533, allocations: 104 kB / 444.5 MB, free: 2.695 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.1534, allocations: 19.8 kB / 444.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.379e-05/0.1534, allocations: 21.7 kB / 444.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.17e-05/0.1535, allocations: 322.8 kB / 444.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.561e-05/0.1536, allocations: 19.97 kB / 444.9 MB, free: 2.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.441e-05/0.1536, allocations: 23.98 kB / 444.9 MB, free: 2.281 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1537, allocations: 52.83 kB / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1537, allocations: 0 / 445 MB, free: 2.227 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000167/0.1539, allocations: 89.5 kB / 445.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1539, allocations: 4 kB / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.154, allocations: 0 / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.154, allocations: 0 / 445.1 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.962e-05/0.154, allocations: 12 kB / 445.1 MB, free: 2.117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1541, allocations: 4 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.885e-05/0.1541, allocations: 11.98 kB / 445.1 MB, free: 2.102 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.731e-06/0.1541, allocations: 0 / 445.1 MB, free: 2.102 MB / 318.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 7.12e-05/0.1542, allocations: 129.7 kB / 445.2 MB, free: 1.965 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.456e-05/0.1542, allocations: 7.906 kB / 445.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.1545, allocations: 101.9 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.1545, allocations: 288 / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1545, allocations: 8.312 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1545, allocations: 3.984 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.1548, allocations: 370.4 kB / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1548, allocations: 0 / 445.7 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.121e-05/0.1549, allocations: 11.98 kB / 445.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.1549, allocations: 3.938 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.1549, allocations: 0 / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1549, allocations: 7.938 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1549, allocations: 4 kB / 445.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001833/0.1551, allocations: 179.3 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.324e-05/0.1552, allocations: 85.02 kB / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.1552, allocations: 0 / 446 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.873e-05/0.1553, allocations: 15.92 kB / 446 MB, free: 1.09 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.187e-05/0.1553, allocations: 4 kB / 446 MB, free: 1.086 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1553, allocations: 4 kB / 446 MB, free: 1.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.408e-05/0.1554, allocations: 147.2 kB / 446.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1554, allocations: 3.938 kB / 446.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002334/0.1557, allocations: 16 kB / 446.2 MB, free: 0.918 MB / 318.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.0008546/0.1565, allocations: 390.8 kB / 446.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002009/0.1567, allocations: 63.89 kB / 446.6 MB, free: 0.543 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1567, allocations: 7.938 kB / 446.6 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.862e-05/0.1568, allocations: 23.98 kB / 446.6 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1572, allocations: 15.98 kB / 446.7 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.1576, allocations: 210 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.1579, allocations: 0.7002 MB / 447.6 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.194e-05/0.158, allocations: 15.92 kB / 447.6 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.664e-05/0.158, allocations: 15.44 kB / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of SimCode: time 1.052e-06/0.158, allocations: 0 / 447.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of Templates: time 0.00421/0.1623, allocations: 1.116 MB / 448.7 MB, free: 14.4 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches