Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00115/0.00115, 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.344/1.344, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001024/0.001024, allocations: 99.69 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3707/0.3707, allocations: 44.83 MB / 392.7 MB, free: 34.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3515/0.3528, allocations: 62.02 MB / 0.5152 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002782/0.3556, allocations: 1.706 MB / 0.5168 GB, free: 36.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.3566, allocations: 0.5412 MB / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.639e-05/0.3567, allocations: 0 / 0.5173 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003263/0.357, allocations: 101.1 kB / 0.5174 GB, free: 36.16 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002449/0.3573, allocations: 97.2 kB / 0.5175 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.3576, allocations: 103 kB / 0.5176 GB, free: 36.07 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.3578, allocations: 102.2 kB / 0.5177 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3579, allocations: 26.75 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.835e-05/0.358, allocations: 31.75 kB / 0.5178 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3581, allocations: 70.81 kB / 0.5179 GB, free: 35.99 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.843e-05/0.3581, allocations: 7 kB / 0.5179 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.599e-05/0.3582, allocations: 44.72 kB / 0.5179 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.3583, allocations: 30.08 kB / 0.5179 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.793e-05/0.3583, allocations: 40.59 kB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001808/0.3585, allocations: 127 kB / 0.5181 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3585, allocations: 0 / 0.5181 GB, free: 35.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.3585, allocations: 0 / 0.5181 GB, free: 35.88 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.029e-06/0.3586, allocations: 0 / 0.5181 GB, free: 35.88 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005182/0.3591, allocations: 426.1 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.3591, allocations: 11.12 kB / 0.5185 GB, free: 35.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.524e-05/0.3592, allocations: 18.31 kB / 0.5185 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001935/0.3594, allocations: 212.1 kB / 0.5187 GB, free: 35.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.3594, allocations: 11.03 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.996e-05/0.3594, allocations: 3.375 kB / 0.5187 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001665/0.3596, allocations: 82.64 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.3596, allocations: 3.375 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.3596, allocations: 6.875 kB / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3597, allocations: 0 / 0.5188 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.3598, allocations: 40.75 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004303/0.3602, allocations: 346 kB / 0.5192 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3603, allocations: 66.33 kB / 0.5193 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.3604, allocations: 26.72 kB / 0.5193 GB, free: 34.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.308e-05/0.3605, allocations: 10.52 kB / 0.5193 GB, free: 34.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3605, allocations: 30.56 kB / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.3605, allocations: 0 / 0.5193 GB, free: 34.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009514/0.3615, allocations: 330.4 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.309e-05/0.3615, allocations: 54.44 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3617, allocations: 237.9 kB / 0.5199 GB, free: 34.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/0.3617, allocations: 25.7 kB / 0.5199 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.545e-05/0.3617, allocations: 119.9 kB / 0.5201 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.707e-05/0.3618, allocations: 41.5 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.031e-05/0.3618, allocations: 32.61 kB / 0.5201 GB, free: 34.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.3619, allocations: 321.1 kB / 0.5204 GB, free: 33.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.362, allocations: 51.77 kB / 0.5205 GB, free: 33.88 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.536e-05/0.3621, allocations: 46.47 kB / 0.5205 GB, free: 33.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.3622, allocations: 109.9 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3623, allocations: 2.812 kB / 0.5206 GB, free: 33.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002329/0.3625, allocations: 150.5 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.3625, allocations: 5.781 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.3625, allocations: 4 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.3626, allocations: 3.938 kB / 0.5208 GB, free: 33.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.3627, allocations: 35.02 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.3627, allocations: 2.844 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.3627, allocations: 2.906 kB / 0.5208 GB, free: 33.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.318e-06/0.3628, allocations: 2.375 kB / 0.5208 GB, free: 33.74 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 (13): * Single equations (assignments): 13 * 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 8.252e-05/0.3628, allocations: 140.6 kB / 0.521 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3629, allocations: 15.81 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.3632, allocations: 199.7 kB / 0.5212 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3632, allocations: 2.938 kB / 0.5212 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3632, allocations: 0 / 0.5212 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3632, allocations: 0 / 0.5212 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005164/0.3638, allocations: 0.5001 MB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3638, allocations: 2.781 kB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.395e-05/0.3639, allocations: 23.73 kB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3639, allocations: 0 / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.3639, allocations: 6.875 kB / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3639, allocations: 0 / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3639, allocations: 0 / 0.5217 GB, free: 33.11 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005549/0.3645, allocations: 0.8807 MB / 0.5226 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.966e-05/0.3645, allocations: 83.77 kB / 0.5226 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.3645, allocations: 2.875 kB / 0.5226 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.195e-05/0.3646, allocations: 9.938 kB / 0.5227 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.68e-05/0.3647, allocations: 17.22 kB / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.393e-06/0.3647, allocations: 6.812 kB / 0.5227 GB, free: 32.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.3648, allocations: 188.1 kB / 0.5229 GB, free: 32.09 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3648, allocations: 0 / 0.5229 GB, free: 32.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.3652, allocations: 24.72 kB / 0.5229 GB, free: 32.09 MB / 378.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 (13): * Single equations (assignments): 13 * 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.0009401/0.3661, allocations: 454 kB / 0.5233 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002632/0.3664, allocations: 113.4 kB / 0.5234 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3664, allocations: 0 / 0.5234 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.3665, allocations: 60.39 kB / 0.5235 GB, free: 31.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.3669, allocations: 23.66 kB / 0.5235 GB, free: 31.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005586/0.3674, allocations: 0.5073 MB / 0.524 GB, free: 31.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.3676, allocations: 0.7292 MB / 0.5247 GB, free: 30.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.682e-05/0.3677, allocations: 25.39 kB / 0.5247 GB, free: 30.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.469e-05/0.3677, allocations: 16.16 kB / 0.5247 GB, free: 30.71 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3677, allocations: 4 kB / 0.5247 GB, free: 30.7 MB / 378.7 MB Notification: Performance of Templates: time 0.003721/0.3715, allocations: 1.579 MB / 0.5263 GB, free: 30.52 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches