Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001077/0.001077, allocations: 114.2 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.001109/0.001109, allocations: 205.2 kB / 18.74 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.445/1.445, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 76.09 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3921, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test30): time 0.003524/0.3957, allocations: 1.686 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.3969, allocations: 0.5497 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.713e-05/0.397, allocations: 1.562 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3973, allocations: 74.17 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003718/0.3977, allocations: 106.1 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003716/0.3981, allocations: 129.5 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.3983, allocations: 94.23 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3984, allocations: 16.48 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.452e-05/0.3985, allocations: 44.33 kB / 0.5336 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3986, allocations: 53.94 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.732e-05/0.3987, allocations: 4.125 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001185/0.3988, allocations: 56.91 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.299e-05/0.3989, allocations: 25.55 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.568e-05/0.3989, allocations: 37.17 kB / 0.5338 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3992, allocations: 115.9 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.3992, allocations: 1.375 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.136e-06/0.3992, allocations: 7.984 kB / 0.5339 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.188e-06/0.3992, allocations: 0 / 0.5339 GB, free: 11.41 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005831/0.3998, allocations: 423.7 kB / 0.5343 GB, free: 10.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.3998, allocations: 9.625 kB / 0.5344 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.3999, allocations: 18.27 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.4001, allocations: 203.8 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4001, allocations: 3.125 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.006e-05/0.4002, allocations: 7.125 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.4004, allocations: 67.67 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4004, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.4004, allocations: 1.375 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.4004, allocations: 0 / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001508/0.4006, allocations: 47.67 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.4011, allocations: 314 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4014, allocations: 59.69 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.4015, allocations: 28.33 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4015, allocations: 0.8438 kB / 0.5351 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.4016, allocations: 32.28 kB / 0.5351 GB, free: 10.23 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 3.426e-06/0.4016, allocations: 3.984 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001581/0.4031, allocations: 402.2 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.4032, allocations: 56.38 kB / 0.5355 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000236/0.4034, allocations: 205.5 kB / 0.5357 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.4035, allocations: 34.64 kB / 0.5358 GB, free: 9.773 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.381e-05/0.4036, allocations: 106.2 kB / 0.5359 GB, free: 9.672 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.41e-05/0.4036, allocations: 39.47 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.4037, allocations: 25.44 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.4038, allocations: 327 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.404, allocations: 47.92 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/0.4041, allocations: 39.56 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.4043, allocations: 100.5 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.4043, allocations: 0 / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003172/0.4047, allocations: 146.4 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.4047, allocations: 5.062 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.4047, allocations: 1.406 kB / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4047, allocations: 0 / 0.5366 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.4049, allocations: 36.92 kB / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.4049, allocations: 0 / 0.5366 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.3e-05/0.4049, allocations: 14.77 kB / 0.5366 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.405, allocations: 2.438 kB / 0.5366 GB, free: 9.09 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 (11): * Single equations (assignments): 11 * 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.0001071/0.4051, allocations: 129.9 kB / 0.5367 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.4051, allocations: 12.66 kB / 0.5368 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003925/0.4055, allocations: 167.9 kB / 0.5369 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.4055, allocations: 6.031 kB / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.4055, allocations: 0 / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4055, allocations: 0 / 0.5369 GB, free: 8.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006362/0.4062, allocations: 485.2 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4062, allocations: 1.062 kB / 0.5374 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.4063, allocations: 24.67 kB / 0.5374 GB, free: 8.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.4063, allocations: 5.125 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4064, allocations: 10.48 kB / 0.5374 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.4064, allocations: 1.406 kB / 0.5374 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.4064, allocations: 5.031 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.4067, allocations: 256.1 kB / 0.5377 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.846e-05/0.4068, allocations: 88.64 kB / 0.5378 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.4068, allocations: 5.094 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.25e-05/0.4069, allocations: 10.8 kB / 0.5378 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.709e-05/0.407, allocations: 8.5 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.407, allocations: 11.08 kB / 0.5378 GB, free: 8.055 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000135/0.4071, allocations: 163 kB / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4071, allocations: 0 / 0.5379 GB, free: 7.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000278/0.4074, allocations: 26.12 kB / 0.538 GB, free: 7.938 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001144/0.4086, allocations: 465.2 kB / 0.5384 GB, free: 7.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003437/0.4089, allocations: 102.5 kB / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4089, allocations: 0 / 0.5385 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001406/0.4091, allocations: 59.53 kB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.4095, allocations: 31.98 kB / 0.5386 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005689/0.4101, allocations: 295.4 kB / 0.5389 GB, free: 7.391 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.4104, allocations: 0.7146 MB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.066e-05/0.4105, allocations: 25.12 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.4105, allocations: 16.41 kB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4105, allocations: 0 / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of Templates: time 0.004227/0.4147, allocations: 1.576 MB / 0.5412 GB, free: 5.848 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches