Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001359/0.001359, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.455/1.455, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008029/0.0008029, allocations: 90.53 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.332/0.332, allocations: 43.47 MB / 358.6 MB, free: 52.35 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.511e-05, allocations: 8 kB / 425.3 MB, free: 8.887 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 58.84 MB / 484.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3303/0.4412, allocations: 86.3 MB / 0.5571 GB, free: 2.727 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.4414, allocations: 81.02 kB / 0.5572 GB, free: 2.652 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008711/0.4501, allocations: 3.965 MB / 0.561 GB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4502, allocations: 0 / 0.561 GB, free: 14.72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4502, allocations: 0 / 0.561 GB, free: 14.72 MB / 394.7 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.0003434/0.4505, allocations: 401.3 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.4506, allocations: 8.031 kB / 0.5614 GB, free: 14.29 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.4506, allocations: 11.34 kB / 0.5614 GB, free: 14.28 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.4508, allocations: 204.5 kB / 0.5616 GB, free: 14.04 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4509, allocations: 4 kB / 0.5616 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.4509, allocations: 0 / 0.5616 GB, free: 14.03 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001139/0.451, allocations: 45.91 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.451, allocations: 0 / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.451, allocations: 4 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.451, allocations: 1.375 kB / 0.5617 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.4511, allocations: 16 kB / 0.5617 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003248/0.4514, allocations: 292.8 kB / 0.562 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001413/0.4516, allocations: 34.52 kB / 0.562 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.433e-05/0.4516, allocations: 12.86 kB / 0.562 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.4516, allocations: 8.078 kB / 0.562 GB, free: 13.56 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.4517, allocations: 38.56 kB / 0.5621 GB, free: 13.51 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.153e-06/0.4517, allocations: 0 / 0.5621 GB, free: 13.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003358/0.452, allocations: 109.2 kB / 0.5622 GB, free: 13.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.4521, allocations: 59.19 kB / 0.5622 GB, free: 13.33 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4522, allocations: 199 kB / 0.5624 GB, free: 13.13 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.609e-05/0.4523, allocations: 25.7 kB / 0.5624 GB, free: 13.1 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.4523, allocations: 112.1 kB / 0.5625 GB, free: 12.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.4523, allocations: 23.64 kB / 0.5626 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.866e-06/0.4524, allocations: 0.8438 kB / 0.5626 GB, free: 12.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.255e-05/0.4525, allocations: 318.8 kB / 0.5629 GB, free: 12.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.4525, allocations: 15.98 kB / 0.5629 GB, free: 12.63 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.077e-05/0.4525, allocations: 8 kB / 0.5629 GB, free: 12.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.382e-05/0.4525, allocations: 12 kB / 0.5629 GB, free: 12.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4525, allocations: 0 / 0.5629 GB, free: 12.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.087e-05/0.4526, allocations: 66.09 kB / 0.563 GB, free: 12.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.4527, allocations: 5.719 kB / 0.563 GB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.4527, allocations: 8 kB / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.4527, allocations: 0.9375 kB / 0.563 GB, free: 12.53 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.555e-05/0.4528, allocations: 12 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.4528, allocations: 3.812 kB / 0.563 GB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.538e-05/0.4528, allocations: 11.94 kB / 0.563 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4528, allocations: 0 / 0.563 GB, free: 12.5 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/0.4529, allocations: 105 kB / 0.5631 GB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.4529, allocations: 11.91 kB / 0.5631 GB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001391/0.4531, allocations: 95.19 kB / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-06/0.4531, allocations: 0 / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.915e-06/0.4531, allocations: 0 / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4531, allocations: 3.938 kB / 0.5632 GB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003356/0.4535, allocations: 350.5 kB / 0.5635 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4535, allocations: 0 / 0.5635 GB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.4535, allocations: 19.98 kB / 0.5636 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.4535, allocations: 0 / 0.5636 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-06/0.4535, allocations: 4 kB / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.4536, allocations: 3.938 kB / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4536, allocations: 3.953 kB / 0.5636 GB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.4537, allocations: 155.5 kB / 0.5637 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/0.4538, allocations: 97.14 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.4538, allocations: 3.938 kB / 0.5638 GB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.942e-05/0.4539, allocations: 8 kB / 0.5638 GB, free: 11.56 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.4539, allocations: 11.97 kB / 0.5638 GB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.4539, allocations: 4.641 kB / 0.5638 GB, free: 11.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00013/0.4541, allocations: 166.5 kB / 0.564 GB, free: 11.39 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4541, allocations: 0 / 0.564 GB, free: 11.39 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002073/0.4543, allocations: 23.98 kB / 0.564 GB, free: 11.36 MB / 394.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007625/0.455, allocations: 374 kB / 0.5644 GB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.279e-05/0.4551, allocations: 35.98 kB / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4552, allocations: 0 / 0.5644 GB, free: 11.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.802e-05/0.4552, allocations: 12 kB / 0.5644 GB, free: 11.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001926/0.4554, allocations: 15.89 kB / 0.5644 GB, free: 11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003385/0.4557, allocations: 179.6 kB / 0.5646 GB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.456, allocations: 0.7043 MB / 0.5653 GB, free: 10.08 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.594e-05/0.4561, allocations: 12.19 kB / 0.5653 GB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.3e-05/0.4561, allocations: 15.44 kB / 0.5653 GB, free: 10.05 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.4561, allocations: 0 / 0.5653 GB, free: 10.05 MB / 394.7 MB Notification: Performance of Templates: time 0.003166/0.4593, allocations: 1.179 MB / 0.5665 GB, free: 8.879 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches