Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 113 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 212.9 kB / 19.4 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 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.2037/0.2037, allocations: 46.09 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 75.88 kB / 482 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2889, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.002672/0.2916, allocations: 1.612 MB / 0.5332 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009103/0.2925, allocations: 0.5279 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.2926, allocations: 0 / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005196/0.2931, allocations: 456.9 kB / 0.5342 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004141/0.2935, allocations: 296.9 kB / 0.5345 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003077/0.2939, allocations: 120 kB / 0.5346 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001917/0.2941, allocations: 169 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.794e-05/0.2942, allocations: 9.672 kB / 0.5348 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.2943, allocations: 109.6 kB / 0.5349 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002433/0.2945, allocations: 209.9 kB / 0.5351 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.2945, allocations: 6.812 kB / 0.5351 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.2946, allocations: 23.52 kB / 0.5351 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.398e-05/0.2947, allocations: 73.83 kB / 0.5352 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.187e-05/0.2948, allocations: 109.8 kB / 0.5353 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.2951, allocations: 241.4 kB / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2951, allocations: 0 / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2951, allocations: 0 / 0.5355 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.2951, allocations: 0 / 0.5355 GB, free: 11.04 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006433/0.2958, allocations: 0.6309 MB / 0.5361 GB, free: 10.46 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.107e-05/0.2958, allocations: 12.25 kB / 0.5361 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.634e-05/0.2959, allocations: 42.97 kB / 0.5362 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002502/0.2961, allocations: 298.1 kB / 0.5365 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.2961, allocations: 384 / 0.5365 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.2962, allocations: 6.672 kB / 0.5365 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.2963, allocations: 47.47 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.2963, allocations: 0 / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.2963, allocations: 1.219 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.2963, allocations: 4 kB / 0.5365 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.373e-05/0.2964, allocations: 29.03 kB / 0.5365 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.2969, allocations: 382.1 kB / 0.5369 GB, free: 9.711 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.997e-05/0.297, allocations: 30.91 kB / 0.5369 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.265e-05/0.297, allocations: 10.45 kB / 0.5369 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/0.297, allocations: 1.125 kB / 0.5369 GB, free: 9.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.2971, allocations: 36.03 kB / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 2.495e-06/0.2971, allocations: 0 / 0.537 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002449/0.2973, allocations: 101.2 kB / 0.5371 GB, free: 9.559 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.057e-05/0.2974, allocations: 51.41 kB / 0.5371 GB, free: 9.496 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008492/0.2982, allocations: 0.8651 MB / 0.538 GB, free: 9.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/0.2982, allocations: 29.64 kB / 0.538 GB, free: 9.043 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.2984, allocations: 221.2 kB / 0.5382 GB, free: 8.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.2984, allocations: 9.266 kB / 0.5382 GB, free: 8.844 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.02e-05/0.2985, allocations: 16.81 kB / 0.5382 GB, free: 8.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2986, allocations: 363.3 kB / 0.5386 GB, free: 8.477 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.559e-05/0.2987, allocations: 9.141 kB / 0.5386 GB, free: 8.473 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.321e-05/0.2987, allocations: 5.469 kB / 0.5386 GB, free: 8.473 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.2988, allocations: 27.62 kB / 0.5386 GB, free: 8.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2988, allocations: 1.031 kB / 0.5386 GB, free: 8.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001468/0.299, allocations: 92.56 kB / 0.5387 GB, free: 8.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.299, allocations: 9.328 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.299, allocations: 1.375 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.299, allocations: 0 / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.282e-05/0.2991, allocations: 5.156 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.2991, allocations: 0 / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.728e-05/0.2992, allocations: 1.438 kB / 0.5387 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.2992, allocations: 1.375 kB / 0.5387 GB, free: 8.383 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 (2): * Single equations (assignments): 2 * 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.0001862/0.2994, allocations: 222.3 kB / 0.5389 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2994, allocations: 40.69 kB / 0.539 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.2996, allocations: 103.8 kB / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.265e-06/0.2996, allocations: 0 / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2996, allocations: 0 / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.2997, allocations: 1.281 kB / 0.5391 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000269/0.2999, allocations: 289.5 kB / 0.5394 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2999, allocations: 1 kB / 0.5394 GB, free: 7.867 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.764e-05/0.3, allocations: 8.453 kB / 0.5394 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3, allocations: 4.031 kB / 0.5394 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-06/0.3, allocations: 1.031 kB / 0.5394 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3, allocations: 0 / 0.5394 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3, allocations: 1.906 kB / 0.5394 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.3002, allocations: 187.9 kB / 0.5396 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.036e-05/0.3003, allocations: 109.5 kB / 0.5397 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3003, allocations: 0 / 0.5397 GB, free: 7.574 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.735e-05/0.3004, allocations: 9.625 kB / 0.5397 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.3004, allocations: 1.375 kB / 0.5397 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.3004, allocations: 1.094 kB / 0.5397 GB, free: 7.566 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005947/0.301, allocations: 0.6605 MB / 0.5403 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.301, allocations: 0 / 0.5403 GB, free: 7.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002571/0.3013, allocations: 23.31 kB / 0.5403 GB, free: 7.234 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 (2): * Single equations (assignments): 2 * 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.0007796/0.3021, allocations: 344 kB / 0.5407 GB, free: 7.043 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000137/0.3022, allocations: 16.73 kB / 0.5407 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3023, allocations: 1.219 kB / 0.5407 GB, free: 7.039 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.023e-05/0.3023, allocations: 14.94 kB / 0.5407 GB, free: 7.031 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.3027, allocations: 39.52 kB / 0.5407 GB, free: 7.008 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.3037, allocations: 0.8105 MB / 0.5415 GB, free: 6.559 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.3041, allocations: 0.8125 MB / 0.5423 GB, free: 5.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.352e-05/0.3042, allocations: 16.25 kB / 0.5423 GB, free: 5.789 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3042, allocations: 0 / 0.5423 GB, free: 5.789 MB / 398.1 MB Notification: Performance of Templates: time 0.006326/0.3105, allocations: 3.476 MB / 0.5457 GB, free: 3.094 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches