Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001361/0.001362, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001818/0.001818, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 80.2 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4065/0.408, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.003078/0.4111, allocations: 1.652 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.4124, allocations: 0.5556 MB / 0.5332 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.4125, allocations: 0 / 0.5332 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008138/0.4133, allocations: 449.3 kB / 0.5336 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006812/0.414, allocations: 300.2 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.4145, allocations: 134.3 kB / 0.534 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003762/0.4149, allocations: 158.5 kB / 0.5342 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001827/0.4151, allocations: 20.03 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.4153, allocations: 113.2 kB / 0.5343 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.4156, allocations: 214.9 kB / 0.5345 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.4156, allocations: 2.781 kB / 0.5345 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.4158, allocations: 29.59 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.4159, allocations: 81.78 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.416, allocations: 102.8 kB / 0.5347 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004666/0.4165, allocations: 266.1 kB / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4165, allocations: 0 / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4165, allocations: 0 / 0.535 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4166, allocations: 0 / 0.535 GB, free: 10.98 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.001037/0.4176, allocations: 0.6433 MB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.274e-05/0.4177, allocations: 9.625 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.4178, allocations: 38.28 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004106/0.4182, allocations: 301.8 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.4182, allocations: 6.625 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.4183, allocations: 2.375 kB / 0.5359 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.4184, allocations: 57.78 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.4185, allocations: 1.094 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.757e-06/0.4185, allocations: 0 / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.4185, allocations: 1.188 kB / 0.536 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.977e-05/0.4186, allocations: 30.72 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006271/0.4192, allocations: 386 kB / 0.5364 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.4195, allocations: 47.31 kB / 0.5364 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.208e-05/0.4195, allocations: 16.34 kB / 0.5364 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.4196, allocations: 4 kB / 0.5364 GB, free: 9.578 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.4196, allocations: 31.72 kB / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.4196, allocations: 0 / 0.5365 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006691/0.4203, allocations: 228.5 kB / 0.5367 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.4203, allocations: 51.41 kB / 0.5367 GB, free: 9.332 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.4214, allocations: 0.8694 MB / 0.5376 GB, free: 8.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.4214, allocations: 29.7 kB / 0.5376 GB, free: 8.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.4216, allocations: 234.1 kB / 0.5378 GB, free: 8.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.399e-05/0.4216, allocations: 8.844 kB / 0.5379 GB, free: 8.664 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-05/0.4217, allocations: 18 kB / 0.5379 GB, free: 8.645 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.4218, allocations: 368.2 kB / 0.5382 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.416e-05/0.4219, allocations: 14.23 kB / 0.5382 GB, free: 8.289 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.655e-05/0.422, allocations: 19.42 kB / 0.5383 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000147/0.4222, allocations: 56.27 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4222, allocations: 0.875 kB / 0.5383 GB, free: 8.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002397/0.4224, allocations: 111.2 kB / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4224, allocations: 5.812 kB / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4224, allocations: 0 / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.4225, allocations: 0 / 0.5384 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.4225, allocations: 14.48 kB / 0.5384 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4226, allocations: 4 kB / 0.5384 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.77e-05/0.4226, allocations: 7.344 kB / 0.5384 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.4226, allocations: 5.344 kB / 0.5384 GB, free: 8.16 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 (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 0.0002083/0.4228, allocations: 214.9 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.4229, allocations: 37.72 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.4232, allocations: 134.8 kB / 0.5388 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4233, allocations: 9.328 kB / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4233, allocations: 0 / 0.5388 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.4233, allocations: 4.938 kB / 0.5388 GB, free: 7.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.4239, allocations: 457.7 kB / 0.5393 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.4239, allocations: 1.375 kB / 0.5393 GB, free: 7.488 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.89e-05/0.4239, allocations: 17.23 kB / 0.5393 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.4239, allocations: 0 / 0.5393 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.424, allocations: 5.531 kB / 0.5393 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.424, allocations: 0 / 0.5393 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.424, allocations: 5.5 kB / 0.5393 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/0.4243, allocations: 206.1 kB / 0.5395 GB, free: 7.301 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.416e-05/0.4244, allocations: 109.3 kB / 0.5396 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.4244, allocations: 12.97 kB / 0.5396 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.613e-05/0.4245, allocations: 3.344 kB / 0.5396 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.384e-05/0.4245, allocations: 10.08 kB / 0.5396 GB, free: 7.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.4245, allocations: 5.125 kB / 0.5396 GB, free: 7.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007376/0.4253, allocations: 0.6538 MB / 0.5403 GB, free: 6.844 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4253, allocations: 0 / 0.5403 GB, free: 6.844 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.4256, allocations: 21.7 kB / 0.5403 GB, free: 6.84 MB / 398.1 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.001045/0.4266, allocations: 402.5 kB / 0.5407 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002553/0.4269, allocations: 48.23 kB / 0.5407 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4269, allocations: 4 kB / 0.5407 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001052/0.427, allocations: 27.86 kB / 0.5407 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.4275, allocations: 25.92 kB / 0.5408 GB, free: 6.574 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.429, allocations: 0.7868 MB / 0.5415 GB, free: 6.164 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005233/0.4296, allocations: 0.8196 MB / 0.5423 GB, free: 5.402 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.492e-05/0.4297, allocations: 21.84 kB / 0.5424 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.4297, allocations: 12.97 kB / 0.5424 GB, free: 5.383 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4297, allocations: 0 / 0.5424 GB, free: 5.383 MB / 398.1 MB Notification: Performance of Templates: time 0.006192/0.4359, allocations: 1.494 MB / 0.5438 GB, free: 4.379 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches