Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001328, allocations: 177 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009423/0.0009423, allocations: 96.11 kB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2997/0.2997, allocations: 44.21 MB / 387.5 MB, free: 38.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.000349, allocations: 8 kB / 459.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3467/0.3471, allocations: 61.9 MB / 0.5096 GB, free: 37.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1113/0.4584, allocations: 88.24 MB / 0.5957 GB, free: 6.879 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001782/0.4586, allocations: 83.94 kB / 0.5958 GB, free: 6.801 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009922/0.4686, allocations: 4.45 MB / 0.6001 GB, free: 2.355 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4686, allocations: 0 / 0.6001 GB, free: 2.355 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.4686, allocations: 0 / 0.6001 GB, free: 2.355 MB / 410.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.0003745/0.469, allocations: 383 kB / 0.6005 GB, free: 1.934 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.4691, allocations: 12.56 kB / 0.6005 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.4691, allocations: 7.906 kB / 0.6005 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002024/0.4693, allocations: 194.9 kB / 0.6007 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.4693, allocations: 0 / 0.6007 GB, free: 1.684 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.4693, allocations: 4 kB / 0.6007 GB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.4695, allocations: 67.36 kB / 0.6008 GB, free: 1.602 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.4695, allocations: 4 kB / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.4695, allocations: 0 / 0.6008 GB, free: 1.598 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.4696, allocations: 7.922 kB / 0.6008 GB, free: 1.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.1e-05/0.4696, allocations: 27.92 kB / 0.6008 GB, free: 1.562 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.47, allocations: 276.9 kB / 0.6011 GB, free: 1.242 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.4702, allocations: 38.56 kB / 0.6011 GB, free: 1.195 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.4702, allocations: 7.938 kB / 0.6011 GB, free: 1.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.4702, allocations: 42.5 kB / 0.6012 GB, free: 1.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4702, allocations: 0 / 0.6012 GB, free: 1.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00051/0.4707, allocations: 145.5 kB / 0.6013 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.4708, allocations: 81.05 kB / 0.6014 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.4709, allocations: 134 kB / 0.6015 GB, free: 0.7539 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.4709, allocations: 25.7 kB / 0.6015 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.471, allocations: 88.14 kB / 0.6016 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.471, allocations: 19.75 kB / 0.6016 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.446e-06/0.471, allocations: 0 / 0.6016 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001102/0.4711, allocations: 318.8 kB / 0.602 GB, free: 300 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.546e-05/0.4712, allocations: 23.98 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.4713, allocations: 37.7 kB / 0.602 GB, free: 232 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.403e-05/0.4714, allocations: 23.98 kB / 0.602 GB, free: 208 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.4714, allocations: 7.984 kB / 0.602 GB, free: 200 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001635/0.4715, allocations: 81.58 kB / 0.6021 GB, free: 112 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.4716, allocations: 4 kB / 0.6021 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4716, allocations: 0 / 0.6021 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.4716, allocations: 0 / 0.6021 GB, free: 108 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.051e-05/0.4717, allocations: 19.92 kB / 0.6021 GB, free: 88 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.4717, allocations: 8 kB / 0.6021 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.355e-05/0.4717, allocations: 11.98 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.4717, allocations: 0 / 0.6022 GB, free: 68 kB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.109e-05/0.4718, allocations: 113.8 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.4719, allocations: 11.86 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002147/0.4721, allocations: 93.62 kB / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.4721, allocations: 4 kB / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4721, allocations: 0 / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.4721, allocations: 0 / 0.6024 GB, free: 15.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003778/0.4725, allocations: 362.8 kB / 0.6027 GB, free: 15.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4725, allocations: 4.062 kB / 0.6027 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.451e-05/0.4726, allocations: 15.98 kB / 0.6027 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.4726, allocations: 0 / 0.6027 GB, free: 15.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.4726, allocations: 4 kB / 0.6027 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4726, allocations: 0 / 0.6027 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4726, allocations: 3.938 kB / 0.6027 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002153/0.4728, allocations: 187.3 kB / 0.6029 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.62e-05/0.4729, allocations: 85.09 kB / 0.603 GB, free: 15.09 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.4729, allocations: 7.938 kB / 0.603 GB, free: 15.08 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.473, allocations: 8 kB / 0.603 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.603e-05/0.473, allocations: 4.266 kB / 0.603 GB, free: 15.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.473, allocations: 8 kB / 0.603 GB, free: 15.06 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.54e-05/0.4731, allocations: 101.4 kB / 0.6031 GB, free: 14.96 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4731, allocations: 0 / 0.6031 GB, free: 14.96 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000241/0.4734, allocations: 35.89 kB / 0.6032 GB, free: 14.93 MB / 426.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 () * 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 (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.0009509/0.4743, allocations: 462.7 kB / 0.6036 GB, free: 14.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.4745, allocations: 55.91 kB / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.4746, allocations: 0 / 0.6037 GB, free: 14.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.189e-05/0.4746, allocations: 27.98 kB / 0.6037 GB, free: 14.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001827/0.4748, allocations: 15.95 kB / 0.6037 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003796/0.4752, allocations: 168.8 kB / 0.6039 GB, free: 14.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002526/0.4755, allocations: 0.6965 MB / 0.6045 GB, free: 13.63 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 4.967e-05/0.4755, allocations: 8.188 kB / 0.6045 GB, free: 13.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.4756, allocations: 19.42 kB / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4756, allocations: 0 / 0.6046 GB, free: 13.61 MB / 426.7 MB Notification: Performance of Templates: time 0.003263/0.4788, allocations: 1.265 MB / 0.6058 GB, free: 12.35 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches