Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,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.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,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.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001644/0.001644, allocations: 120.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00223/0.00223, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.44/1.44, allocations: 227.4 MB / 246.9 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.2281/0.2281, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001572, allocations: 80.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4902/0.4918, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003952/0.4958, allocations: 1.687 MB / 0.5327 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.4971, allocations: 0.5493 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.022e-05/0.4971, allocations: 0 / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.4974, allocations: 49.53 kB / 0.5333 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003062/0.4978, allocations: 95.11 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.4981, allocations: 134.9 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001801/0.4983, allocations: 84.75 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.4984, allocations: 13.86 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.4985, allocations: 36.22 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001054/0.4986, allocations: 41.7 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.4987, allocations: 8.125 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.4988, allocations: 51.55 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.4989, allocations: 28.16 kB / 0.5337 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.439e-05/0.4989, allocations: 33.23 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.4991, allocations: 101.3 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.4991, allocations: 3.984 kB / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4992, allocations: 0 / 0.5339 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.257e-06/0.4992, allocations: 1.375 kB / 0.5339 GB, free: 11.47 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.0005894/0.4998, allocations: 411.6 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.4998, allocations: 13.62 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.4999, allocations: 13 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.5001, allocations: 199.1 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.5001, allocations: 5.75 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.252e-05/0.5002, allocations: 6.688 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.5004, allocations: 63.53 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.5004, allocations: 3.984 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.5004, allocations: 1.375 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.5004, allocations: 1.375 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.5006, allocations: 45.91 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.501, allocations: 305.6 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.5013, allocations: 57.8 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.885e-05/0.5014, allocations: 24.81 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5014, allocations: 9.281 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.5015, allocations: 31.78 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.233e-06/0.5015, allocations: 3.938 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001521/0.503, allocations: 393.5 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.44e-05/0.5031, allocations: 56.56 kB / 0.5354 GB, free: 10.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.5033, allocations: 173.2 kB / 0.5356 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.5033, allocations: 30.77 kB / 0.5356 GB, free: 9.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.5034, allocations: 100.7 kB / 0.5357 GB, free: 9.777 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.5034, allocations: 36.75 kB / 0.5358 GB, free: 9.746 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-05/0.5035, allocations: 28.34 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.5036, allocations: 322.3 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.5038, allocations: 47.97 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.5039, allocations: 43.52 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.5042, allocations: 104.2 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5042, allocations: 1.125 kB / 0.5363 GB, free: 9.301 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003279/0.5045, allocations: 145.2 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.5045, allocations: 5.719 kB / 0.5364 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5046, allocations: 3.938 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/0.5046, allocations: 1.375 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.5047, allocations: 28.8 kB / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.5047, allocations: 0 / 0.5365 GB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.608e-05/0.5048, allocations: 14.61 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.5048, allocations: 2.156 kB / 0.5365 GB, free: 9.195 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.0001124/0.5049, allocations: 125.8 kB / 0.5366 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.96e-05/0.505, allocations: 13.67 kB / 0.5366 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004367/0.5054, allocations: 177 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.5054, allocations: 1 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5055, allocations: 1.094 kB / 0.5368 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5055, allocations: 4 kB / 0.5368 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007097/0.5062, allocations: 466.1 kB / 0.5372 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5062, allocations: 1.469 kB / 0.5372 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.5063, allocations: 31.69 kB / 0.5373 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.5063, allocations: 1.344 kB / 0.5373 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.5064, allocations: 6.844 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.5064, allocations: 1.094 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5064, allocations: 0.9375 kB / 0.5373 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004201/0.5068, allocations: 267.4 kB / 0.5375 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.5069, allocations: 84.22 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5069, allocations: 1.125 kB / 0.5376 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.812e-05/0.507, allocations: 10.61 kB / 0.5376 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.5071, allocations: 12.23 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5071, allocations: 3.281 kB / 0.5376 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001441/0.5072, allocations: 132.7 kB / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5072, allocations: 0 / 0.5378 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.5075, allocations: 29.8 kB / 0.5378 GB, free: 8.07 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.001164/0.5087, allocations: 464.3 kB / 0.5382 GB, free: 7.824 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003626/0.5091, allocations: 106.9 kB / 0.5383 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5091, allocations: 0 / 0.5383 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.5093, allocations: 62.73 kB / 0.5384 GB, free: 7.754 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004081/0.5097, allocations: 20.48 kB / 0.5384 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006438/0.5103, allocations: 279.5 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.5107, allocations: 0.7046 MB / 0.5394 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.37e-05/0.5108, allocations: 21.56 kB / 0.5394 GB, free: 6.805 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.881e-05/0.5109, allocations: 18.66 kB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5109, allocations: 0 / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of Templates: time 0.005484/0.5164, allocations: 1.558 MB / 0.5409 GB, free: 5.996 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches