Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.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.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.CombiTable1Dv.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.3 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.234/1.234, 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.0009707/0.0009707, allocations: 102.4 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.3108/0.3108, allocations: 44.22 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003134/0.0003134, allocations: 8 kB / 459.9 MB, free: 1.516 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3415/0.3419, allocations: 61.9 MB / 0.5096 GB, free: 37.71 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1006/0.4425, allocations: 88.35 MB / 0.5958 GB, free: 6.766 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002197/0.4428, allocations: 83.89 kB / 0.5959 GB, free: 6.688 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0105/0.4533, allocations: 4.458 MB / 0.6003 GB, free: 2.234 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4533, allocations: 0 / 0.6003 GB, free: 2.234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4533, allocations: 4 kB / 0.6003 GB, free: 2.23 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.0003548/0.4537, allocations: 387 kB / 0.6006 GB, free: 1.805 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.4537, allocations: 12.55 kB / 0.6007 GB, free: 1.793 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.881e-05/0.4538, allocations: 11.91 kB / 0.6007 GB, free: 1.781 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.454, allocations: 186.9 kB / 0.6008 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.454, allocations: 0 / 0.6008 GB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.767e-05/0.454, allocations: 4 kB / 0.6008 GB, free: 1.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.4542, allocations: 67.36 kB / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.4542, allocations: 0 / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4542, allocations: 0 / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.4542, allocations: 0 / 0.6009 GB, free: 1.477 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.109e-05/0.4543, allocations: 35.91 kB / 0.6009 GB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.4547, allocations: 276.9 kB / 0.6012 GB, free: 1.121 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4549, allocations: 54.5 kB / 0.6013 GB, free: 1.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.4549, allocations: 3.984 kB / 0.6013 GB, free: 1.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.4549, allocations: 38.59 kB / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.4549, allocations: 0 / 0.6013 GB, free: 1.008 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.000531/0.4555, allocations: 161.4 kB / 0.6015 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4555, allocations: 85.05 kB / 0.6015 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.4556, allocations: 126.6 kB / 0.6017 GB, free: 0.6133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.4557, allocations: 33.7 kB / 0.6017 GB, free: 0.5742 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.4557, allocations: 84.14 kB / 0.6018 GB, free: 500 kB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.4557, allocations: 23.73 kB / 0.6018 GB, free: 476 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.4557, allocations: 4 kB / 0.6018 GB, free: 472 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4559, allocations: 314.8 kB / 0.6021 GB, free: 148 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.932e-05/0.4559, allocations: 23.98 kB / 0.6021 GB, free: 124 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.456, allocations: 41.69 kB / 0.6022 GB, free: 76 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.917e-05/0.4561, allocations: 28.2 kB / 0.6022 GB, free: 48 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.4561, allocations: 3.953 kB / 0.6022 GB, free: 44 kB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001985/0.4563, allocations: 93.58 kB / 0.6023 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.4563, allocations: 5.406 kB / 0.6023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.4563, allocations: 7.984 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.4564, allocations: 4 kB / 0.6023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.087e-05/0.4564, allocations: 11.94 kB / 0.6023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.4564, allocations: 4 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.244e-05/0.4565, allocations: 7.984 kB / 0.6023 GB, free: 15.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.4565, allocations: 0 / 0.6023 GB, free: 15.91 MB / 426.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 8.374e-05/0.4566, allocations: 113.8 kB / 0.6024 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.285e-05/0.4566, allocations: 19.86 kB / 0.6024 GB, free: 15.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002452/0.4569, allocations: 101.6 kB / 0.6025 GB, free: 15.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.4569, allocations: 4 kB / 0.6025 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.4569, allocations: 0 / 0.6025 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4569, allocations: 0 / 0.6025 GB, free: 15.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004442/0.4574, allocations: 370.4 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4574, allocations: 4 kB / 0.6029 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.74e-05/0.4574, allocations: 11.98 kB / 0.6029 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4575, allocations: 4 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.085e-06/0.4575, allocations: 0 / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4575, allocations: 3.938 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.4575, allocations: 4 kB / 0.6029 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.4577, allocations: 191.3 kB / 0.6031 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.524e-05/0.4578, allocations: 85.11 kB / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4578, allocations: 256 / 0.6032 GB, free: 14.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.4579, allocations: 19.98 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.032e-05/0.4579, allocations: 0 / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4579, allocations: 4 kB / 0.6032 GB, free: 14.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.689e-05/0.458, allocations: 110.1 kB / 0.6033 GB, free: 14.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.458, allocations: 0 / 0.6033 GB, free: 14.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002401/0.4582, allocations: 27.91 kB / 0.6033 GB, free: 14.75 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.0009196/0.4592, allocations: 460.7 kB / 0.6038 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002018/0.4594, allocations: 55.91 kB / 0.6038 GB, free: 14.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.4594, allocations: 4 kB / 0.6038 GB, free: 14.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.81e-05/0.4595, allocations: 31.97 kB / 0.6039 GB, free: 14.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.4597, allocations: 19.94 kB / 0.6039 GB, free: 14.35 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/0.4601, allocations: 176.8 kB / 0.6041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4603, allocations: 0.6887 MB / 0.6047 GB, free: 13.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 7.138e-05/0.4604, allocations: 16.16 kB / 0.6047 GB, free: 13.42 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.4604, allocations: 15.42 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of SimCode: time 4.31e-07/0.4605, allocations: 4 kB / 0.6048 GB, free: 13.4 MB / 426.7 MB Notification: Performance of Templates: time 0.003465/0.4639, allocations: 1.289 MB / 0.606 GB, free: 12.12 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches