Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 183.8 kB / 17.06 MB, free: 5.074 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.238/1.238, allocations: 223.2 MB / 241 MB, free: 11.84 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.0007428/0.0007425, allocations: 93.55 kB / 292.2 MB, free: 10.91 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.2956/0.2956, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003114/0.0003114, allocations: 12 kB / 459.9 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3499/0.3503, allocations: 61.89 MB / 0.5096 GB, free: 38.09 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1061/0.4564, allocations: 88.06 MB / 0.5955 GB, free: 7.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.4566, allocations: 79.94 kB / 0.5956 GB, free: 7.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01044/0.4671, allocations: 4.391 MB / 0.5999 GB, free: 2.613 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4671, allocations: 3.938 kB / 0.5999 GB, free: 2.609 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.221e-05/0.4671, allocations: 4 kB / 0.5999 GB, free: 2.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004361/0.4676, allocations: 414.8 kB / 0.6003 GB, free: 2.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.4676, allocations: 8.562 kB / 0.6003 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4677, allocations: 15.91 kB / 0.6003 GB, free: 2.129 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.468, allocations: 218.6 kB / 0.6005 GB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.468, allocations: 7.891 kB / 0.6006 GB, free: 1.867 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.388e-05/0.468, allocations: 8 kB / 0.6006 GB, free: 1.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.4682, allocations: 49.67 kB / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4682, allocations: 3.984 kB / 0.6006 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.029e-05/0.4682, allocations: 0 / 0.6006 GB, free: 1.801 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.4682, allocations: 4 kB / 0.6006 GB, free: 1.797 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.463e-05/0.4683, allocations: 31.98 kB / 0.6006 GB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.4687, allocations: 300.8 kB / 0.6009 GB, free: 1.422 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.615e-05/0.4688, allocations: 50.48 kB / 0.601 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.4688, allocations: 0 / 0.601 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.4689, allocations: 38.56 kB / 0.601 GB, free: 1.316 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.4689, allocations: 0 / 0.601 GB, free: 1.316 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008297/0.4697, allocations: 253.5 kB / 0.6013 GB, free: 1.062 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.837e-05/0.4697, allocations: 59.39 kB / 0.6013 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002203/0.47, allocations: 216.2 kB / 0.6015 GB, free: 0.7695 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.47, allocations: 29.7 kB / 0.6015 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.32e-05/0.4701, allocations: 112 kB / 0.6017 GB, free: 0.6211 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4701, allocations: 19.72 kB / 0.6017 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4701, allocations: 0 / 0.6017 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.4702, allocations: 330.8 kB / 0.602 GB, free: 276 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.623e-05/0.4703, allocations: 27.98 kB / 0.602 GB, free: 248 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.4704, allocations: 35.97 kB / 0.6021 GB, free: 212 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.864e-05/0.4705, allocations: 31.98 kB / 0.6021 GB, free: 180 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.4705, allocations: 0 / 0.6021 GB, free: 180 kB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001906/0.4707, allocations: 105.5 kB / 0.6022 GB, free: 68 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.4707, allocations: 4 kB / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.4707, allocations: 0 / 0.6022 GB, free: 64 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.4707, allocations: 7.938 kB / 0.6022 GB, free: 56 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.4708, allocations: 19.98 kB / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4709, allocations: 0 / 0.6022 GB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.662e-05/0.4709, allocations: 11.98 kB / 0.6022 GB, free: 24 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.4709, allocations: 11.97 kB / 0.6022 GB, free: 12 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 (8): * Single equations (assignments): 8 * 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 0.0001064/0.471, allocations: 137.7 kB / 0.6024 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.567e-05/0.4711, allocations: 15.81 kB / 0.6024 GB, free: 15.85 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000264/0.4713, allocations: 127 kB / 0.6025 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4714, allocations: 0 / 0.6025 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4714, allocations: 4 kB / 0.6025 GB, free: 15.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4714, allocations: 3.984 kB / 0.6025 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.4719, allocations: 431.6 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4719, allocations: 32 / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.928e-05/0.472, allocations: 27.98 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.472, allocations: 4 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-06/0.472, allocations: 4 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.472, allocations: 0 / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.472, allocations: 3.953 kB / 0.603 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002401/0.4723, allocations: 229.9 kB / 0.6032 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.987e-05/0.4724, allocations: 101 kB / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4724, allocations: 0 / 0.6033 GB, free: 14.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.55e-05/0.4725, allocations: 15.95 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.4725, allocations: 3.984 kB / 0.6033 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.4725, allocations: 11.94 kB / 0.6033 GB, free: 14.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001428/0.4727, allocations: 180.3 kB / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4727, allocations: 0 / 0.6035 GB, free: 14.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.4729, allocations: 28 kB / 0.6035 GB, free: 14.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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.0009585/0.4739, allocations: 464.8 kB / 0.6039 GB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001978/0.4741, allocations: 71.89 kB / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4741, allocations: 0 / 0.604 GB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.297e-05/0.4742, allocations: 44.05 kB / 0.6041 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001956/0.4744, allocations: 18.92 kB / 0.6041 GB, free: 14.19 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004511/0.4749, allocations: 317.6 kB / 0.6044 GB, free: 13.85 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.4751, allocations: 0.716 MB / 0.6051 GB, free: 13.11 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 5.179e-05/0.4752, allocations: 16.97 kB / 0.6051 GB, free: 13.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.756e-05/0.4752, allocations: 15.44 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of SimCode: time 2.024e-06/0.4752, allocations: 4 kB / 0.6051 GB, free: 13.07 MB / 426.7 MB Notification: Performance of Templates: time 0.003283/0.4785, allocations: 1.406 MB / 0.6065 GB, free: 11.66 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches