Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001486, allocations: 101.4 kB / 16.26 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.001914/0.001915, allocations: 192.6 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.623/1.623, 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.2147/0.2147, allocations: 43.52 MB / 313.9 MB, free: 0.5195 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.002748/0.002748, allocations: 68.97 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1361, allocations: 57.79 MB / 440.5 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.002807/0.139, allocations: 1.551 MB / 442.1 MB, free: 5.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005241/0.1395, allocations: 307.5 kB / 442.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.1396, allocations: 0 / 442.4 MB, free: 5.016 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.1399, allocations: 131.7 kB / 442.5 MB, free: 4.887 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1402, allocations: 91.64 kB / 442.6 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.1404, allocations: 71.84 kB / 442.7 MB, free: 4.727 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1406, allocations: 83.8 kB / 442.7 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.1407, allocations: 11.94 kB / 442.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.518e-05/0.1408, allocations: 43.88 kB / 442.8 MB, free: 4.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001311/0.1409, allocations: 79.8 kB / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1409, allocations: 0 / 442.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.129e-05/0.141, allocations: 35.98 kB / 442.9 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.665e-05/0.1411, allocations: 23.92 kB / 442.9 MB, free: 4.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.442e-05/0.1412, allocations: 31.69 kB / 443 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001695/0.1413, allocations: 103.6 kB / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1413, allocations: 0 / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1414, allocations: 0 / 443.1 MB, free: 4.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1414, allocations: 0 / 443.1 MB, free: 4.32 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.0005609/0.1419, allocations: 422.8 kB / 443.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.384e-05/0.142, allocations: 11.89 kB / 443.5 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.1421, allocations: 20.75 kB / 443.5 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.1423, allocations: 204 kB / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.1423, allocations: 384 / 443.7 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.812e-05/0.1423, allocations: 4.375 kB / 443.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.1425, allocations: 45.81 kB / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1425, allocations: 0 / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1425, allocations: 0 / 443.8 MB, free: 3.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.1425, allocations: 4 kB / 443.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.1426, allocations: 31.89 kB / 443.8 MB, free: 3.5 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003361/0.143, allocations: 288.8 kB / 444.1 MB, free: 3.168 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002291/0.1432, allocations: 42.56 kB / 444.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.857e-05/0.1433, allocations: 16.94 kB / 444.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.1433, allocations: 0 / 444.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.1434, allocations: 42.5 kB / 444.2 MB, free: 3.047 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.694e-06/0.1434, allocations: 7.938 kB / 444.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005808/0.1439, allocations: 149 kB / 444.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.144, allocations: 51.41 kB / 444.4 MB, free: 2.824 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.1442, allocations: 266.3 kB / 444.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.1442, allocations: 25.7 kB / 444.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/0.1443, allocations: 116.1 kB / 444.8 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.398e-05/0.1443, allocations: 23.64 kB / 444.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1443, allocations: 13.72 kB / 444.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.1444, allocations: 334.8 kB / 445.1 MB, free: 2.023 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.139e-05/0.1445, allocations: 11.98 kB / 445.2 MB, free: 2.012 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.963e-05/0.1445, allocations: 19.98 kB / 445.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001102/0.1447, allocations: 57.02 kB / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1447, allocations: 0 / 445.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001465/0.1448, allocations: 81.52 kB / 445.3 MB, free: 1.848 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.1448, allocations: 4 kB / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1449, allocations: 0 / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.1449, allocations: 0 / 445.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.696e-05/0.1449, allocations: 15.98 kB / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.145, allocations: 0 / 445.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.145, allocations: 4 kB / 445.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.145, allocations: 4 kB / 445.3 MB, free: 1.82 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 8.73e-05/0.1451, allocations: 141.7 kB / 445.5 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.1451, allocations: 11.81 kB / 445.5 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.1453, allocations: 102.6 kB / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1454, allocations: 0 / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.1454, allocations: 0 / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.1454, allocations: 0 / 445.6 MB, free: 1.559 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.1457, allocations: 366.5 kB / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1457, allocations: 0 / 445.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.1458, allocations: 11.98 kB / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1458, allocations: 0 / 446 MB, free: 1.133 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.1458, allocations: 4 kB / 446 MB, free: 1.129 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1458, allocations: 8.125 kB / 446 MB, free: 1.121 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1458, allocations: 7.938 kB / 446 MB, free: 1.113 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.146, allocations: 179.3 kB / 446.1 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.146, allocations: 89 kB / 446.2 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.146, allocations: 3.938 kB / 446.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.1461, allocations: 7.938 kB / 446.2 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.406e-05/0.1462, allocations: 3.984 kB / 446.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-06/0.1462, allocations: 4 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000116/0.1463, allocations: 203.2 kB / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1463, allocations: 0 / 446.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000231/0.1465, allocations: 19.94 kB / 446.5 MB, free: 0.5781 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.000956/0.1475, allocations: 400.2 kB / 446.9 MB, free: 272 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001982/0.1477, allocations: 43.91 kB / 446.9 MB, free: 228 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1477, allocations: 4 kB / 446.9 MB, free: 224 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.537e-05/0.1478, allocations: 23.98 kB / 446.9 MB, free: 200 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.1482, allocations: 19.58 kB / 447 MB, free: 184 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.1487, allocations: 282.5 kB / 447.2 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.1491, allocations: 0.7158 MB / 447.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.931e-05/0.1491, allocations: 4 kB / 447.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.1491, allocations: 11.44 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1492, allocations: 3.938 kB / 448 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Templates: time 0.004545/0.1537, allocations: 1.14 MB / 449.1 MB, free: 13.99 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches