Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.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.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001693/0.001693, allocations: 121.6 kB / 17.79 MB, free: 5.234 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001738/0.001738, allocations: 203.9 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, 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.2313/0.2313, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001351/0.001351, allocations: 75.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3911/0.3925, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.003207/0.3957, allocations: 1.616 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.3968, allocations: 0.562 MB / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.171e-05/0.3969, allocations: 0 / 0.5331 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005663/0.3975, allocations: 457.2 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004871/0.398, allocations: 292.5 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004361/0.3984, allocations: 165.1 kB / 0.534 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003103/0.3988, allocations: 170.8 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.3989, allocations: 15.95 kB / 0.5342 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001366/0.399, allocations: 105.3 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000254/0.3993, allocations: 207.6 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3993, allocations: 10.69 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.335e-05/0.3994, allocations: 30.52 kB / 0.5345 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001086/0.3995, allocations: 87.11 kB / 0.5346 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.403e-05/0.3996, allocations: 98.06 kB / 0.5347 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000302/0.3999, allocations: 246.7 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.4, allocations: 1.188 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.4, allocations: 0 / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.4, allocations: 0 / 0.5349 GB, free: 10.96 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.0007661/0.4007, allocations: 0.6383 MB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.4008, allocations: 13.22 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.4009, allocations: 46.34 kB / 0.5356 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.4012, allocations: 291.1 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4012, allocations: 1.5 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.4012, allocations: 2.062 kB / 0.5359 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.4014, allocations: 54 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.4014, allocations: 0 / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.4014, allocations: 4 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.4014, allocations: 1.25 kB / 0.5359 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.194e-05/0.4015, allocations: 25.78 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005041/0.402, allocations: 397.1 kB / 0.5363 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.268e-05/0.4021, allocations: 32.41 kB / 0.5364 GB, free: 9.586 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.727e-05/0.4022, allocations: 16.03 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.076e-05/0.4022, allocations: 0 / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.4022, allocations: 35.64 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.4022, allocations: 4 kB / 0.5364 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002731/0.4025, allocations: 107.9 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.4026, allocations: 52.41 kB / 0.5366 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/0.4036, allocations: 0.8672 MB / 0.5374 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.4036, allocations: 25.7 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.4038, allocations: 226 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4038, allocations: 4.812 kB / 0.5377 GB, free: 8.742 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.321e-05/0.4038, allocations: 16.75 kB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.404, allocations: 367.7 kB / 0.538 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.308e-05/0.404, allocations: 6 kB / 0.5381 GB, free: 8.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.386e-05/0.4041, allocations: 13.7 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.673e-05/0.4042, allocations: 30.62 kB / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4042, allocations: 0 / 0.5381 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001468/0.4044, allocations: 95.14 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.4044, allocations: 6.188 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.516e-06/0.4044, allocations: 0 / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4044, allocations: 0 / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.407e-05/0.4045, allocations: 4.531 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.4045, allocations: 5.094 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.068e-05/0.4046, allocations: 9.047 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-06/0.4046, allocations: 5.031 kB / 0.5382 GB, free: 8.262 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.0001855/0.4048, allocations: 218.6 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.4048, allocations: 37.94 kB / 0.5385 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002088/0.405, allocations: 112.5 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.405, allocations: 0.9688 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.4051, allocations: 0 / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.4051, allocations: 1.125 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002925/0.4054, allocations: 284.4 kB / 0.5388 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4054, allocations: 0 / 0.5388 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.4054, allocations: 8.172 kB / 0.5388 GB, free: 7.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.4054, allocations: 4.031 kB / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.4054, allocations: 1.094 kB / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4054, allocations: 0 / 0.5388 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.4054, allocations: 1.219 kB / 0.5389 GB, free: 7.746 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001996/0.4056, allocations: 197.6 kB / 0.539 GB, free: 7.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.657e-05/0.4057, allocations: 110.5 kB / 0.5391 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.467e-05/0.4058, allocations: 0 / 0.5391 GB, free: 7.453 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.099e-05/0.4058, allocations: 9.594 kB / 0.5392 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.342e-05/0.4058, allocations: 1.094 kB / 0.5392 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.4059, allocations: 1.594 kB / 0.5392 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006065/0.4065, allocations: 0.658 MB / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4065, allocations: 0 / 0.5398 GB, free: 7.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002425/0.4067, allocations: 14.06 kB / 0.5398 GB, free: 7.125 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.0007776/0.4075, allocations: 353.4 kB / 0.5401 GB, free: 6.922 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001482/0.4077, allocations: 23.11 kB / 0.5402 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.4077, allocations: 0 / 0.5402 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.673e-05/0.4077, allocations: 19.8 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004101/0.4081, allocations: 29.5 kB / 0.5402 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.4093, allocations: 0.7676 MB / 0.541 GB, free: 6.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.4098, allocations: 0.8232 MB / 0.5418 GB, free: 5.727 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.905e-05/0.4098, allocations: 14.61 kB / 0.5418 GB, free: 5.719 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.4099, allocations: 14.8 kB / 0.5418 GB, free: 5.707 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4099, allocations: 0 / 0.5418 GB, free: 5.707 MB / 398.1 MB Notification: Performance of Templates: time 0.004504/0.4144, allocations: 1.266 MB / 0.543 GB, free: 5.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches