Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001641/0.001641, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002373/0.002374, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001432/0.001432, allocations: 76.28 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4439, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.004136/0.4482, allocations: 1.61 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.4497, allocations: 0.5486 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.917e-05/0.4498, allocations: 0 / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000395/0.4502, allocations: 74.14 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003339/0.4506, allocations: 109.8 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.4509, allocations: 114.9 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.4511, allocations: 81.06 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.4513, allocations: 20.25 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.324e-05/0.4513, allocations: 40.33 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.4515, allocations: 56.69 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.4515, allocations: 2.75 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.4516, allocations: 44.86 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.467e-05/0.4517, allocations: 20.17 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.777e-05/0.4517, allocations: 33.23 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002239/0.452, allocations: 110.1 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.452, allocations: 1.375 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.452, allocations: 0 / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.452, allocations: 4 kB / 0.5338 GB, free: 11.5 MB / 398.1 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.0006496/0.4527, allocations: 413.4 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.4527, allocations: 9.625 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.4528, allocations: 10.34 kB / 0.5342 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.453, allocations: 199.8 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.453, allocations: 1.75 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.095e-05/0.4531, allocations: 3.125 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001931/0.4533, allocations: 59.55 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.4533, allocations: 7.906 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.4533, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.4533, allocations: 1.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.4535, allocations: 40.39 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005435/0.454, allocations: 295.1 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.4542, allocations: 56.3 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.354e-05/0.4542, allocations: 25.12 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.062e-05/0.4543, allocations: 5.375 kB / 0.5349 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.444e-05/0.4543, allocations: 30.56 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.4543, allocations: 1.375 kB / 0.5349 GB, free: 10.35 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001086/0.4554, allocations: 245.3 kB / 0.5352 GB, free: 10.21 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.4555, allocations: 56.47 kB / 0.5352 GB, free: 10.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.4558, allocations: 210.3 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4558, allocations: 26.95 kB / 0.5354 GB, free: 9.969 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.842e-05/0.4559, allocations: 105.2 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/0.456, allocations: 35.42 kB / 0.5356 GB, free: 9.836 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.677e-05/0.456, allocations: 20.03 kB / 0.5356 GB, free: 9.816 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.4562, allocations: 326 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.4563, allocations: 33.19 kB / 0.5359 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.4564, allocations: 24.64 kB / 0.536 GB, free: 9.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.4566, allocations: 78.06 kB / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4566, allocations: 0 / 0.536 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002599/0.4569, allocations: 113.1 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/0.4569, allocations: 5.438 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4569, allocations: 0 / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.457, allocations: 1.062 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.4571, allocations: 17.77 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.4571, allocations: 0 / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.4572, allocations: 11.95 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.4572, allocations: 2.188 kB / 0.5362 GB, free: 9.344 MB / 398.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.4573, allocations: 132 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.558e-05/0.4574, allocations: 17.42 kB / 0.5363 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003932/0.4578, allocations: 131 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.4578, allocations: 1.219 kB / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4578, allocations: 0 / 0.5364 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4578, allocations: 3.938 kB / 0.5364 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005921/0.4584, allocations: 420 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4584, allocations: 1.062 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.749e-05/0.4585, allocations: 21.23 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.4585, allocations: 5 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.4586, allocations: 1 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.4586, allocations: 5.203 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.4586, allocations: 1.312 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002988/0.4589, allocations: 220.6 kB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.4589, allocations: 87.58 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.459, allocations: 5.312 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.33e-05/0.4591, allocations: 7.453 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.4591, allocations: 7.969 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.4591, allocations: 6.344 kB / 0.5372 GB, free: 8.395 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001701/0.4593, allocations: 175 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4593, allocations: 7.938 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000261/0.4596, allocations: 23.34 kB / 0.5374 GB, free: 8.258 MB / 398.1 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 (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.001158/0.4608, allocations: 449.8 kB / 0.5378 GB, free: 8.027 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002596/0.461, allocations: 75.42 kB / 0.5379 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.461, allocations: 3.938 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.4611, allocations: 44.5 kB / 0.5379 GB, free: 7.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.4615, allocations: 17.78 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006348/0.4622, allocations: 268 kB / 0.5382 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.4625, allocations: 0.7078 MB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.677e-05/0.4626, allocations: 24.84 kB / 0.5389 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.4627, allocations: 13.94 kB / 0.5389 GB, free: 7.035 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4627, allocations: 3.938 kB / 0.5389 GB, free: 7.031 MB / 398.1 MB Notification: Performance of Templates: time 0.004567/0.4673, allocations: 1.384 MB / 0.5403 GB, free: 6.332 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches