Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.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.Test4,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.CombiTable1D.Test4") translateModel(ModelicaTest.Tables.CombiTable1D.Test4,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.CombiTable1D.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001218, allocations: 102.5 kB / 16.27 MB, free: 5.93 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.001276/0.001276, allocations: 193.5 kB / 17.2 MB, free: 5.574 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.752/1.752, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.2307/0.2307, allocations: 43.52 MB / 313.9 MB, free: 0.5273 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.001527/0.001527, allocations: 72.39 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1425, allocations: 57.79 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test4): time 0.003524/0.146, allocations: 1.566 MB / 442.1 MB, free: 5.316 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006909/0.1468, allocations: 339.4 kB / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1468, allocations: 0 / 442.4 MB, free: 4.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003117/0.1472, allocations: 91.75 kB / 442.5 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002013/0.1474, allocations: 67.78 kB / 442.6 MB, free: 4.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002671/0.1477, allocations: 103.4 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.1479, allocations: 71.89 kB / 442.7 MB, free: 4.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.148, allocations: 24.11 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.1481, allocations: 43.83 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1482, allocations: 59.81 kB / 442.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1482, allocations: 4 kB / 442.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.879e-05/0.1483, allocations: 31.94 kB / 442.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.182e-05/0.1484, allocations: 19.92 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.525e-05/0.1484, allocations: 35.73 kB / 443 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001707/0.1486, allocations: 103.6 kB / 443.1 MB, free: 4.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1486, allocations: 3.984 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1486, allocations: 0 / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1486, allocations: 4 kB / 443.1 MB, free: 4.332 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005063/0.1491, allocations: 415 kB / 443.5 MB, free: 3.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1492, allocations: 11.89 kB / 443.5 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.1492, allocations: 16.75 kB / 443.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.1494, allocations: 204 kB / 443.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/0.1494, allocations: 384 / 443.7 MB, free: 3.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.321e-05/0.1494, allocations: 4.375 kB / 443.7 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001697/0.1496, allocations: 87.31 kB / 443.8 MB, free: 3.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.318e-05/0.1497, allocations: 3.906 kB / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.1497, allocations: 0 / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.1497, allocations: 0 / 443.8 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1498, allocations: 39.91 kB / 443.8 MB, free: 3.469 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000407/0.1502, allocations: 397.1 kB / 444.2 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.1505, allocations: 81.16 kB / 444.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.946e-05/0.1505, allocations: 29.8 kB / 444.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1506, allocations: 11.92 kB / 444.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1506, allocations: 42.5 kB / 444.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.1506, allocations: 0 / 444.4 MB, free: 2.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.000669/0.1513, allocations: 241.2 kB / 444.6 MB, free: 2.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.1513, allocations: 81.05 kB / 444.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.1515, allocations: 235.5 kB / 444.9 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.1515, allocations: 29.7 kB / 445 MB, free: 2.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.036e-05/0.1516, allocations: 104.1 kB / 445.1 MB, free: 2.113 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.173e-05/0.1516, allocations: 31.55 kB / 445.1 MB, free: 2.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.1516, allocations: 29.7 kB / 445.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.1517, allocations: 322.8 kB / 445.4 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.1518, allocations: 31.98 kB / 445.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.368e-05/0.1519, allocations: 49.69 kB / 445.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001481/0.152, allocations: 93.73 kB / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.152, allocations: 0 / 445.6 MB, free: 1.539 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001912/0.1522, allocations: 125.5 kB / 445.7 MB, free: 1.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1523, allocations: 4 kB / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.1523, allocations: 0 / 445.7 MB, free: 1.406 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.1523, allocations: 3.984 kB / 445.7 MB, free: 1.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.751e-05/0.1524, allocations: 27.94 kB / 445.8 MB, free: 1.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.296e-06/0.1524, allocations: 7.922 kB / 445.8 MB, free: 1.367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.1524, allocations: 8 kB / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1524, allocations: 0 / 445.8 MB, free: 1.359 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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.831e-05/0.1525, allocations: 137.8 kB / 445.9 MB, free: 1.215 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.679e-05/0.1526, allocations: 11.81 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1529, allocations: 158.6 kB / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1529, allocations: 0 / 446.1 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.1529, allocations: 7.938 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1529, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004682/0.1534, allocations: 0.4946 MB / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1534, allocations: 32 / 446.6 MB, free: 496 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.663e-05/0.1535, allocations: 27.92 kB / 446.6 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.606e-06/0.1535, allocations: 4 kB / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.667e-06/0.1535, allocations: 0 / 446.6 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1535, allocations: 4 kB / 446.6 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1535, allocations: 3.984 kB / 446.6 MB, free: 456 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1537, allocations: 303.5 kB / 446.9 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.741e-05/0.1538, allocations: 88.95 kB / 447 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.1538, allocations: 7.984 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.627e-05/0.1539, allocations: 8 kB / 447 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.474e-05/0.1539, allocations: 7.984 kB / 447 MB, free: 0 / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1539, allocations: 0 / 447 MB, free: 0 / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001327/0.1541, allocations: 171.2 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.954e-06/0.1541, allocations: 3.938 kB / 447.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1544, allocations: 31.92 kB / 447.2 MB, free: 15.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.0009449/0.1554, allocations: 401.5 kB / 447.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1556, allocations: 83.88 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1556, allocations: 0 / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1558, allocations: 47.91 kB / 447.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.1562, allocations: 35.25 kB / 447.8 MB, free: 15.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005596/0.1568, allocations: 292.3 kB / 448.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1571, allocations: 0.7158 MB / 448.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.169e-05/0.1572, allocations: 16.42 kB / 448.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.008e-05/0.1573, allocations: 19.42 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1573, allocations: 0 / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Templates: time 0.004655/0.1619, allocations: 1.313 MB / 450.1 MB, free: 12.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches