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.001118/0.001118, allocations: 118.2 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 202 kB / 18.73 MB, free: 4.316 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.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2516/0.2516, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.459, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test8): time 0.004125/0.4632, allocations: 1.614 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.4644, allocations: 0.5574 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.576e-05/0.4645, allocations: 1.125 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007512/0.4653, allocations: 453.2 kB / 0.5336 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000553/0.4659, allocations: 293.1 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004799/0.4664, allocations: 175 kB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.4667, allocations: 167.8 kB / 0.5342 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.4669, allocations: 14.86 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002995/0.4672, allocations: 105.7 kB / 0.5343 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000469/0.4677, allocations: 210.8 kB / 0.5345 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.4677, allocations: 6.594 kB / 0.5345 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001371/0.4679, allocations: 31.31 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002011/0.4681, allocations: 78.42 kB / 0.5346 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001513/0.4682, allocations: 103.2 kB / 0.5347 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005676/0.4688, allocations: 254.2 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.697e-06/0.4688, allocations: 1.094 kB / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.4688, allocations: 0 / 0.5349 GB, free: 10.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.921e-05/0.4689, allocations: 3.938 kB / 0.5349 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00127/0.4701, allocations: 0.6449 MB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.754e-05/0.4702, allocations: 8.5 kB / 0.5356 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.4703, allocations: 46.91 kB / 0.5356 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/0.4707, allocations: 308.2 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.4708, allocations: 384 / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4708, allocations: 6.5 kB / 0.5359 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.471, allocations: 53.98 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.471, allocations: 0 / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.471, allocations: 0 / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.471, allocations: 1.531 kB / 0.536 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.998e-05/0.4711, allocations: 25.98 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008201/0.472, allocations: 392.2 kB / 0.5364 GB, free: 9.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.4721, allocations: 28.61 kB / 0.5364 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.141e-05/0.4722, allocations: 19.66 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.4722, allocations: 1.156 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.4722, allocations: 35.53 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.412e-06/0.4722, allocations: 0 / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003817/0.4726, allocations: 104.7 kB / 0.5365 GB, free: 9.461 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4727, allocations: 51.41 kB / 0.5366 GB, free: 9.398 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/0.4741, allocations: 0.8741 MB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.4741, allocations: 26.45 kB / 0.5375 GB, free: 8.941 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.4743, allocations: 226.2 kB / 0.5377 GB, free: 8.746 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.4743, allocations: 9.266 kB / 0.5377 GB, free: 8.738 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.4744, allocations: 12.53 kB / 0.5377 GB, free: 8.723 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002327/0.4746, allocations: 366.9 kB / 0.5381 GB, free: 8.371 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.061e-05/0.4747, allocations: 6.781 kB / 0.5381 GB, free: 8.371 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.222e-05/0.4747, allocations: 13.14 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.887e-05/0.4749, allocations: 34.66 kB / 0.5381 GB, free: 8.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.4749, allocations: 5.062 kB / 0.5381 GB, free: 8.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002499/0.4751, allocations: 90.81 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4752, allocations: 9.422 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4752, allocations: 0 / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.4752, allocations: 1.688 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.4753, allocations: 4.281 kB / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.4753, allocations: 0 / 0.5382 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.4754, allocations: 5.609 kB / 0.5382 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.4754, allocations: 1.094 kB / 0.5382 GB, free: 8.266 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.0002696/0.4757, allocations: 222.3 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.15e-05/0.4758, allocations: 42.25 kB / 0.5385 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002961/0.4761, allocations: 112.8 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4761, allocations: 0 / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4761, allocations: 5.562 kB / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4761, allocations: 0 / 0.5386 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.4766, allocations: 287.1 kB / 0.5389 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.4766, allocations: 5.375 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.4766, allocations: 4.719 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4766, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.4767, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.4767, allocations: 1.375 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4767, allocations: 0 / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.477, allocations: 194.8 kB / 0.5391 GB, free: 7.566 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.4771, allocations: 112.8 kB / 0.5392 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.4771, allocations: 9.016 kB / 0.5392 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.399e-05/0.4772, allocations: 2.281 kB / 0.5392 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.998e-05/0.4772, allocations: 1.094 kB / 0.5392 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.4772, allocations: 0 / 0.5392 GB, free: 7.438 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008453/0.4781, allocations: 0.6545 MB / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4781, allocations: 0 / 0.5398 GB, free: 7.121 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002699/0.4784, allocations: 23.97 kB / 0.5398 GB, free: 7.113 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.0008973/0.4793, allocations: 356.6 kB / 0.5402 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001534/0.4794, allocations: 23.45 kB / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.4795, allocations: 0 / 0.5402 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.512e-05/0.4795, allocations: 19.67 kB / 0.5402 GB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.48, allocations: 32.09 kB / 0.5403 GB, free: 6.875 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4814, allocations: 0.7808 MB / 0.541 GB, free: 6.465 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005227/0.482, allocations: 0.8188 MB / 0.5418 GB, free: 5.703 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.971e-05/0.4821, allocations: 18.41 kB / 0.5418 GB, free: 5.691 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.4821, allocations: 10.97 kB / 0.5418 GB, free: 5.684 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4821, allocations: 1.094 kB / 0.5418 GB, free: 5.684 MB / 398.1 MB Notification: Performance of Templates: time 0.005391/0.4875, allocations: 1.254 MB / 0.5431 GB, free: 5.062 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