Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 108.6 kB / 17.04 MB, free: 5.809 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.001313/0.001313, allocations: 195 kB / 17.98 MB, free: 5.027 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.663/1.663, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2278/0.2278, allocations: 43.52 MB / 314.7 MB, free: 492 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.001584/0.001584, allocations: 68.47 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1397, allocations: 57.78 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.0033/0.1431, allocations: 1.571 MB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006598/0.1438, allocations: 323.5 kB / 443.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.1439, allocations: 0 / 443.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.1442, allocations: 95.73 kB / 443.9 MB, free: 4.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002145/0.1445, allocations: 67.73 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002425/0.1447, allocations: 71.84 kB / 444.1 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.1449, allocations: 83.8 kB / 444.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001485/0.1451, allocations: 24.06 kB / 444.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.152e-05/0.1451, allocations: 31.91 kB / 444.2 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.1453, allocations: 55.81 kB / 444.3 MB, free: 3.828 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1453, allocations: 4 kB / 444.3 MB, free: 3.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.1454, allocations: 27.98 kB / 444.3 MB, free: 3.797 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.822e-05/0.1454, allocations: 27.91 kB / 444.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.1455, allocations: 35.75 kB / 444.4 MB, free: 3.734 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1456, allocations: 111.6 kB / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1456, allocations: 0 / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1457, allocations: 0 / 444.5 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1457, allocations: 4 kB / 444.5 MB, free: 3.621 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004331/0.1461, allocations: 403 kB / 444.9 MB, free: 3.18 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.1461, allocations: 15.89 kB / 444.9 MB, free: 3.164 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.1462, allocations: 12.75 kB / 444.9 MB, free: 3.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.1463, allocations: 196.1 kB / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.1464, allocations: 384 / 445.1 MB, free: 2.922 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.691e-05/0.1464, allocations: 4.375 kB / 445.1 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.1465, allocations: 61.61 kB / 445.2 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.1466, allocations: 3.938 kB / 445.2 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.1466, allocations: 4 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.1466, allocations: 3.938 kB / 445.2 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.409e-05/0.1467, allocations: 39.95 kB / 445.2 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003411/0.147, allocations: 300.7 kB / 445.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.1471, allocations: 50.5 kB / 445.6 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.801e-05/0.1472, allocations: 28.97 kB / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.687e-05/0.1472, allocations: 0 / 445.6 MB, free: 2.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1472, allocations: 30.56 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.1473, allocations: 0 / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005815/0.1478, allocations: 189 kB / 445.8 MB, free: 2.137 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.1479, allocations: 55.48 kB / 445.8 MB, free: 2.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.1481, allocations: 231.5 kB / 446.1 MB, free: 1.836 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.1481, allocations: 29.7 kB / 446.1 MB, free: 1.801 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1481, allocations: 112.1 kB / 446.2 MB, free: 1.688 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1482, allocations: 27.55 kB / 446.2 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.1482, allocations: 21.72 kB / 446.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.909e-05/0.1483, allocations: 322.8 kB / 446.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.377e-05/0.1483, allocations: 27.92 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.564e-05/0.1484, allocations: 32.03 kB / 446.6 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.1485, allocations: 64.77 kB / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1485, allocations: 0 / 446.7 MB, free: 1.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001644/0.1487, allocations: 97.58 kB / 446.8 MB, free: 1.082 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.1487, allocations: 5.25 kB / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1487, allocations: 0 / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1488, allocations: 0 / 446.8 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.1489, allocations: 23.98 kB / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.1489, allocations: 0 / 446.8 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/0.1489, allocations: 11.92 kB / 446.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-06/0.1489, allocations: 0 / 446.8 MB, free: 1.043 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 (8): * Single equations (assignments): 8 * 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.899e-05/0.149, allocations: 133.7 kB / 447 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.467e-05/0.1491, allocations: 19.8 kB / 447 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002475/0.1493, allocations: 115 kB / 447.1 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.1493, allocations: 11.98 kB / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1493, allocations: 0 / 447.1 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.1494, allocations: 3.938 kB / 447.1 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004419/0.1498, allocations: 390.4 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1498, allocations: 0 / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.1499, allocations: 19.98 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1499, allocations: 3.938 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.1499, allocations: 4 kB / 447.5 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.15, allocations: 8 kB / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.15, allocations: 384 / 447.5 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002482/0.1502, allocations: 199.7 kB / 447.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.1503, allocations: 81.02 kB / 447.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.23e-05/0.1503, allocations: 11.92 kB / 447.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.1505, allocations: 4 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1505, allocations: 15.98 kB / 447.8 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.1505, allocations: 4 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001612/0.1507, allocations: 167.2 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1507, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.151, allocations: 24 kB / 448 MB, free: 15.75 MB / 334.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 (8): * Single equations (assignments): 8 * 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.001055/0.152, allocations: 398.2 kB / 448.4 MB, free: 15.44 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002493/0.1523, allocations: 79.86 kB / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1523, allocations: 0 / 448.5 MB, free: 15.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.35e-05/0.1524, allocations: 35.98 kB / 448.5 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.1528, allocations: 11.98 kB / 448.5 MB, free: 15.31 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.1534, allocations: 262.1 kB / 448.8 MB, free: 15.03 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.1537, allocations: 0.7132 MB / 449.5 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.541e-05/0.1538, allocations: 12.67 kB / 449.5 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.1538, allocations: 19.42 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1538, allocations: 3.938 kB / 449.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of Templates: time 0.004031/0.1579, allocations: 1.206 MB / 450.7 MB, free: 13.06 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches