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.00162/0.00162, allocations: 118.1 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00185/0.001851, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.618/1.618, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2434/0.2434, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4445, allocations: 62.42 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.003377/0.448, allocations: 1.622 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.449, allocations: 0.5519 MB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.314e-05/0.4491, allocations: 0 / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002971/0.4494, allocations: 77.86 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.4497, allocations: 102 kB / 0.5333 GB, free: 11.83 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003143/0.4501, allocations: 123 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.4502, allocations: 84.88 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4504, allocations: 16.23 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.856e-05/0.4504, allocations: 36.41 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001167/0.4506, allocations: 52.7 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.4506, allocations: 6.75 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4507, allocations: 48.84 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.4508, allocations: 20.17 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.237e-05/0.4508, allocations: 33.19 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.451, allocations: 110.6 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.4511, allocations: 0 / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4511, allocations: 1.375 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.622e-06/0.4511, allocations: 0 / 0.5338 GB, free: 11.52 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.0005137/0.4516, allocations: 415.6 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.4516, allocations: 13.62 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.4517, allocations: 12.97 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002052/0.4519, allocations: 209.2 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.4519, allocations: 5.688 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.4519, allocations: 3.125 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.4521, allocations: 59.55 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4521, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.4521, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.4521, allocations: 1.375 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.4523, allocations: 28.48 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004256/0.4527, allocations: 314.9 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.4528, allocations: 44.44 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.414e-05/0.4529, allocations: 17.19 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.4529, allocations: 1.375 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.4529, allocations: 38.56 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.453, allocations: 1.375 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009811/0.4539, allocations: 233.8 kB / 0.5351 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.454, allocations: 52.56 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002316/0.4542, allocations: 226.6 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.4543, allocations: 25.7 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.951e-05/0.4543, allocations: 114 kB / 0.5355 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.956e-05/0.4544, allocations: 23 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.661e-05/0.4545, allocations: 28.48 kB / 0.5356 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.4546, allocations: 326.1 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.36e-05/0.4547, allocations: 27.73 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.53e-05/0.4548, allocations: 33.19 kB / 0.536 GB, free: 9.477 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.455, allocations: 78.27 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.455, allocations: 0 / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002429/0.4553, allocations: 110 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.4553, allocations: 8.984 kB / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4553, allocations: 0 / 0.5362 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4553, allocations: 5.156 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.4554, allocations: 21.77 kB / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.4555, allocations: 0 / 0.5362 GB, free: 9.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.4555, allocations: 7.25 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.4555, allocations: 2.281 kB / 0.5362 GB, free: 9.348 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.0001202/0.4557, allocations: 129.3 kB / 0.5363 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.92e-05/0.4557, allocations: 12.59 kB / 0.5363 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/0.456, allocations: 138.7 kB / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.456, allocations: 1.312 kB / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4561, allocations: 0 / 0.5365 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.4561, allocations: 9.281 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005845/0.4566, allocations: 422.8 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4567, allocations: 0 / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.4567, allocations: 17.89 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.4568, allocations: 8.969 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.4568, allocations: 1.625 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.4568, allocations: 1.844 kB / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4568, allocations: 0 / 0.5369 GB, free: 8.699 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.4571, allocations: 209.2 kB / 0.5371 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.268e-05/0.4572, allocations: 95.84 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.4572, allocations: 5.469 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.16e-05/0.4573, allocations: 7.781 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.319e-05/0.4573, allocations: 10.28 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.4573, allocations: 2.656 kB / 0.5372 GB, free: 8.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4575, allocations: 171.9 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4575, allocations: 0 / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003557/0.4579, allocations: 15.03 kB / 0.5374 GB, free: 8.281 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.001233/0.4591, allocations: 456.2 kB / 0.5378 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002882/0.4594, allocations: 82.73 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.4595, allocations: 0 / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4596, allocations: 43.83 kB / 0.5379 GB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.4601, allocations: 29.02 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/0.4609, allocations: 266 kB / 0.5382 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003617/0.4613, allocations: 0.7121 MB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.102e-05/0.4614, allocations: 20.84 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.4614, allocations: 17.59 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4614, allocations: 0 / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of Templates: time 0.004652/0.4661, allocations: 1.398 MB / 0.5403 GB, free: 6.328 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