Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.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.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001462/0.001462, allocations: 117.6 kB / 17.78 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001574/0.001575, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2479/0.2479, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 72.09 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5041/0.5054, allocations: 62.44 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003365/0.5089, allocations: 1.614 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00101/0.5099, allocations: 0.5297 MB / 0.5331 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.51, allocations: 5.312 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003704/0.5104, allocations: 80.75 kB / 0.5332 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.5107, allocations: 98.09 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.511, allocations: 98.5 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.5111, allocations: 88.86 kB / 0.5335 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.5113, allocations: 12.25 kB / 0.5335 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.274e-05/0.5113, allocations: 31.03 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.5115, allocations: 60.69 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.5115, allocations: 6.75 kB / 0.5336 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.5116, allocations: 48.78 kB / 0.5336 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.426e-05/0.5117, allocations: 20.19 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.5117, allocations: 33.23 kB / 0.5337 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.5119, allocations: 106.6 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.512, allocations: 0 / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.512, allocations: 0 / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.512, allocations: 0 / 0.5338 GB, free: 11.57 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.0005187/0.5125, allocations: 411.5 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.5125, allocations: 13.62 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.5126, allocations: 17.75 kB / 0.5342 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.5129, allocations: 208.5 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.5129, allocations: 6.438 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.5129, allocations: 6.625 kB / 0.5344 GB, free: 10.89 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.5131, allocations: 62.12 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.5131, allocations: 4.891 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.5131, allocations: 0 / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.5132, allocations: 1.062 kB / 0.5345 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.758e-05/0.5133, allocations: 26.98 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5137, allocations: 300.4 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.932e-05/0.5138, allocations: 46 kB / 0.5348 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.931e-05/0.5139, allocations: 16.39 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.5139, allocations: 1.281 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.514, allocations: 34.66 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.514, allocations: 1.344 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009482/0.5149, allocations: 228.9 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.515, allocations: 56.59 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002725/0.5153, allocations: 211.3 kB / 0.5353 GB, free: 10.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.5153, allocations: 25.7 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.5154, allocations: 113.7 kB / 0.5355 GB, free: 9.926 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.907e-05/0.5154, allocations: 31.05 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.685e-05/0.5155, allocations: 19.56 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5157, allocations: 323.6 kB / 0.5358 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.074e-05/0.5158, allocations: 24.98 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.594e-05/0.5158, allocations: 26.77 kB / 0.5359 GB, free: 9.535 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.516, allocations: 59.83 kB / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.516, allocations: 0 / 0.5359 GB, free: 9.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002208/0.5162, allocations: 108.4 kB / 0.536 GB, free: 9.434 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5163, allocations: 5.156 kB / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.5163, allocations: 0 / 0.5361 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.5163, allocations: 5.375 kB / 0.5361 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.5164, allocations: 21.73 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5164, allocations: 0 / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.49e-05/0.5165, allocations: 7.406 kB / 0.5361 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.5165, allocations: 2.188 kB / 0.5361 GB, free: 9.418 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.0001218/0.5166, allocations: 128.8 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.5167, allocations: 12.91 kB / 0.5362 GB, free: 9.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002863/0.517, allocations: 124.5 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.517, allocations: 1.375 kB / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.517, allocations: 0 / 0.5363 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.517, allocations: 3.938 kB / 0.5363 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.5176, allocations: 411.5 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.5176, allocations: 3.984 kB / 0.5367 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.433e-05/0.5177, allocations: 14.44 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.5177, allocations: 9.25 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.5177, allocations: 9.203 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5177, allocations: 1.312 kB / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.5177, allocations: 0 / 0.5368 GB, free: 8.777 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.518, allocations: 200.2 kB / 0.537 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.865e-05/0.5181, allocations: 92.2 kB / 0.5371 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.087e-05/0.5181, allocations: 10.19 kB / 0.5371 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.5182, allocations: 3.219 kB / 0.5371 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.5182, allocations: 11.38 kB / 0.5371 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.235e-06/0.5183, allocations: 2.094 kB / 0.5371 GB, free: 8.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001707/0.5184, allocations: 171.4 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5184, allocations: 0 / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.5187, allocations: 18.94 kB / 0.5373 GB, free: 8.363 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.001089/0.5198, allocations: 462.5 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002299/0.52, allocations: 61.92 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5201, allocations: 0.9688 kB / 0.5378 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.463e-05/0.5202, allocations: 41.67 kB / 0.5378 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5205, allocations: 26.25 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005171/0.521, allocations: 264.6 kB / 0.5381 GB, free: 7.863 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5214, allocations: 0.7067 MB / 0.5388 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.298e-05/0.5214, allocations: 20.23 kB / 0.5388 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.286e-05/0.5215, allocations: 13 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5215, allocations: 1.219 kB / 0.5388 GB, free: 7.133 MB / 398.1 MB Notification: Performance of Templates: time 0.004416/0.5259, allocations: 1.355 MB / 0.5401 GB, free: 6.441 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches