Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001067/0.001067, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001072/0.001072, allocations: 109.8 kB / 296.7 MB, free: 6.461 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3866/0.3866, allocations: 44.84 MB / 392.7 MB, free: 34.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 67.84 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3432, allocations: 62.02 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003041/0.3463, allocations: 1.646 MB / 0.5168 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008564/0.3472, allocations: 0.5373 MB / 0.5173 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.634e-05/0.3472, allocations: 0 / 0.5173 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002244/0.3474, allocations: 24 kB / 0.5173 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.3477, allocations: 58.92 kB / 0.5174 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.348, allocations: 104.6 kB / 0.5175 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.3481, allocations: 66.61 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.3482, allocations: 13.28 kB / 0.5175 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.904e-05/0.3483, allocations: 23.8 kB / 0.5176 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.12e-05/0.3484, allocations: 24.38 kB / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.458e-05/0.3484, allocations: 0 / 0.5176 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.833e-05/0.3485, allocations: 33.3 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3485, allocations: 10.52 kB / 0.5176 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.022e-05/0.3486, allocations: 25.56 kB / 0.5177 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3487, allocations: 85.61 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3488, allocations: 2.812 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3488, allocations: 0 / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3488, allocations: 0 / 0.5177 GB, free: 36.12 MB / 378.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.0004755/0.3493, allocations: 380.3 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.3493, allocations: 8.781 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.937e-05/0.3493, allocations: 10.47 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3495, allocations: 194.8 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.3495, allocations: 4.375 kB / 0.5183 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.3495, allocations: 7.344 kB / 0.5183 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.3497, allocations: 48.72 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.3497, allocations: 0 / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3497, allocations: 0 / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.3497, allocations: 3.938 kB / 0.5184 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.075e-05/0.3498, allocations: 25.72 kB / 0.5184 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003097/0.3501, allocations: 288.4 kB / 0.5187 GB, free: 35.17 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000186/0.3503, allocations: 42.41 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.733e-05/0.3504, allocations: 24.7 kB / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.3504, allocations: 0 / 0.5187 GB, free: 35.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.238e-05/0.3504, allocations: 30.56 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 2.265e-06/0.3504, allocations: 4 kB / 0.5188 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000502/0.3509, allocations: 149 kB / 0.5189 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.23e-05/0.351, allocations: 58.5 kB / 0.519 GB, free: 34.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3511, allocations: 166.3 kB / 0.5191 GB, free: 34.84 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.3511, allocations: 25.7 kB / 0.5191 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.3511, allocations: 102 kB / 0.5192 GB, free: 34.71 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.3512, allocations: 26.08 kB / 0.5193 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.3512, allocations: 19.44 kB / 0.5193 GB, free: 34.67 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.517e-05/0.3513, allocations: 318.6 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.055e-05/0.3513, allocations: 21.41 kB / 0.5196 GB, free: 34.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.327e-05/0.3514, allocations: 18.75 kB / 0.5196 GB, free: 34.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001126/0.3515, allocations: 48.7 kB / 0.5197 GB, free: 34.33 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3515, allocations: 4 kB / 0.5197 GB, free: 34.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001568/0.3517, allocations: 93.31 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.3517, allocations: 5.562 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.3517, allocations: 0 / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3517, allocations: 0 / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.341e-05/0.3518, allocations: 14.14 kB / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.81e-06/0.3518, allocations: 0 / 0.5198 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.835e-05/0.3519, allocations: 14.34 kB / 0.5198 GB, free: 34.26 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.812e-06/0.3519, allocations: 2.531 kB / 0.5198 GB, free: 34.26 MB / 378.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.3519, allocations: 119.3 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.352, allocations: 9.219 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002036/0.3522, allocations: 101.9 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3522, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3522, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3522, allocations: 3.938 kB / 0.52 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003154/0.3525, allocations: 351.5 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3526, allocations: 2.938 kB / 0.5204 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.3526, allocations: 15.89 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3526, allocations: 0 / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.3526, allocations: 3.938 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3526, allocations: 2.812 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3526, allocations: 3.984 kB / 0.5204 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003688/0.353, allocations: 0.7638 MB / 0.5211 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.413e-05/0.353, allocations: 86.92 kB / 0.5212 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.541e-05/0.3531, allocations: 10.72 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.132e-05/0.3531, allocations: 10.25 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.3532, allocations: 5.734 kB / 0.5212 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.587e-06/0.3532, allocations: 4 kB / 0.5212 GB, free: 32.88 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.938e-05/0.3533, allocations: 128.5 kB / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3533, allocations: 0 / 0.5214 GB, free: 32.8 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.3536, allocations: 20.59 kB / 0.5214 GB, free: 32.79 MB / 378.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 (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.0008086/0.3544, allocations: 391.2 kB / 0.5218 GB, free: 32.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001833/0.3546, allocations: 48.52 kB / 0.5218 GB, free: 32.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3546, allocations: 7.938 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.906e-05/0.3547, allocations: 24.03 kB / 0.5218 GB, free: 32.57 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003552/0.355, allocations: 25.31 kB / 0.5219 GB, free: 32.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004239/0.3555, allocations: 322.9 kB / 0.5222 GB, free: 32.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/0.3556, allocations: 0.6959 MB / 0.5228 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.211e-05/0.3557, allocations: 15.8 kB / 0.5229 GB, free: 31.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.397e-05/0.3557, allocations: 13.12 kB / 0.5229 GB, free: 31.56 MB / 378.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3557, allocations: 0 / 0.5229 GB, free: 31.56 MB / 378.7 MB Notification: Performance of Templates: time 0.003209/0.3589, allocations: 1.112 MB / 0.524 GB, free: 31.4 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches