Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002034/0.002033, allocations: 107 kB / 17.03 MB, free: 5.66 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.002273/0.002273, allocations: 190.9 kB / 17.96 MB, free: 5.066 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.701/1.701, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2373/0.2373, allocations: 43.53 MB / 314.7 MB, free: 460 kB / 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.001487/0.001487, allocations: 70.48 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.135, allocations: 57.79 MB / 442 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002827/0.1379, allocations: 1.546 MB / 443.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000535/0.1385, allocations: 315.5 kB / 443.8 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.1385, allocations: 3.938 kB / 443.8 MB, free: 4.246 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1388, allocations: 23.91 kB / 443.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001804/0.139, allocations: 47.72 kB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1392, allocations: 71.33 kB / 444 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.1394, allocations: 51.84 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1395, allocations: 15.94 kB / 444 MB, free: 4.043 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.1395, allocations: 19.92 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.531e-05/0.1396, allocations: 23.84 kB / 444.1 MB, free: 4 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.1396, allocations: 4 kB / 444.1 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.1397, allocations: 31.98 kB / 444.1 MB, free: 3.965 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.59e-05/0.1397, allocations: 11.94 kB / 444.1 MB, free: 3.953 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.108e-05/0.1398, allocations: 19.88 kB / 444.1 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001432/0.1399, allocations: 83.66 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.1399, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1399, allocations: 0 / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.14, allocations: 7.984 kB / 444.2 MB, free: 3.844 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.0003753/0.1403, allocations: 371.2 kB / 444.6 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.1404, allocations: 11.89 kB / 444.6 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.1404, allocations: 8.844 kB / 444.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.1406, allocations: 189.4 kB / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.1406, allocations: 384 / 444.8 MB, free: 3.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.1406, allocations: 8.375 kB / 444.8 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.1408, allocations: 53.75 kB / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.1408, allocations: 0 / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1408, allocations: 0 / 444.9 MB, free: 3.125 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1408, allocations: 4 kB / 444.9 MB, free: 3.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.1409, allocations: 27.97 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.1412, allocations: 268.9 kB / 445.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001837/0.1414, allocations: 54.48 kB / 445.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.1414, allocations: 12.86 kB / 445.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1414, allocations: 0 / 445.2 MB, free: 2.703 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.1415, allocations: 34.56 kB / 445.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.613e-06/0.1415, allocations: 0 / 445.2 MB, free: 2.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004761/0.1419, allocations: 141.3 kB / 445.4 MB, free: 2.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.142, allocations: 55.34 kB / 445.4 MB, free: 2.449 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.1421, allocations: 158.9 kB / 445.6 MB, free: 2.285 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.256e-06/0.1421, allocations: 25.7 kB / 445.6 MB, free: 2.254 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.1422, allocations: 96.12 kB / 445.7 MB, free: 2.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1422, allocations: 23.64 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.907e-05/0.1422, allocations: 13.72 kB / 445.7 MB, free: 2.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.1423, allocations: 330.8 kB / 446.1 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.725e-05/0.1424, allocations: 15.98 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.897e-05/0.1424, allocations: 19.98 kB / 446.1 MB, free: 1.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1425, allocations: 48.77 kB / 446.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1425, allocations: 0 / 446.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001589/0.1427, allocations: 77.58 kB / 446.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1427, allocations: 10.97 kB / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1427, allocations: 0 / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1427, allocations: 0 / 446.2 MB, free: 1.605 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.1428, allocations: 15.98 kB / 446.3 MB, free: 1.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.1428, allocations: 4 kB / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.425e-05/0.1429, allocations: 0 / 446.3 MB, free: 1.586 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.015e-06/0.1429, allocations: 7.938 kB / 446.3 MB, free: 1.578 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.661e-05/0.143, allocations: 125.8 kB / 446.4 MB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.126e-05/0.143, allocations: 7.906 kB / 446.4 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001856/0.1432, allocations: 90.22 kB / 446.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.1432, allocations: 4 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1432, allocations: 0 / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1432, allocations: 288 / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.1435, allocations: 346.5 kB / 446.8 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1435, allocations: 4 kB / 446.8 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.1436, allocations: 11.98 kB / 446.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.1436, allocations: 7.984 kB / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1436, allocations: 0 / 446.9 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1436, allocations: 3.938 kB / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1436, allocations: 0 / 446.9 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.1438, allocations: 175.4 kB / 447 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.48e-05/0.1438, allocations: 85.02 kB / 447.1 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1439, allocations: 7.938 kB / 447.1 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.1439, allocations: 3.938 kB / 447.1 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.195e-05/0.144, allocations: 11.98 kB / 447.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.144, allocations: 0 / 447.1 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.568e-05/0.144, allocations: 123.2 kB / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 0 / 447.3 MB, free: 500 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002312/0.1443, allocations: 12 kB / 447.3 MB, free: 488 kB / 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.000877/0.1452, allocations: 399.5 kB / 447.7 MB, free: 164 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1454, allocations: 43.97 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.1454, allocations: 0 / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.074e-05/0.1454, allocations: 27.92 kB / 447.7 MB, free: 92 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.1458, allocations: 23.67 kB / 447.8 MB, free: 72 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.1462, allocations: 173.6 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.1465, allocations: 0.6885 MB / 448.6 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.845e-05/0.1466, allocations: 11.98 kB / 448.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1466, allocations: 15.44 kB / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of SimCode: time 2.505e-06/0.1466, allocations: 0 / 448.6 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Templates: time 0.003589/0.1502, allocations: 1.091 MB / 449.7 MB, free: 14.05 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches