Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 118.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.00135/0.00135, allocations: 197.2 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.458/1.458, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2537/0.2537, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001534, allocations: 80.09 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3929, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test2): time 0.005091/0.3981, allocations: 1.67 MB / 0.5327 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3993, allocations: 0.5531 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.792e-05/0.3994, allocations: 0 / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.4, allocations: 449.1 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005531/0.4006, allocations: 300.5 kB / 0.5339 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004933/0.4011, allocations: 129.7 kB / 0.534 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004792/0.4015, allocations: 176.8 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.4017, allocations: 17.06 kB / 0.5342 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003024/0.402, allocations: 118 kB / 0.5343 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003804/0.4024, allocations: 206.9 kB / 0.5345 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.4024, allocations: 7.719 kB / 0.5345 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.4026, allocations: 56.2 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.4028, allocations: 86.39 kB / 0.5347 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.4029, allocations: 104.2 kB / 0.5348 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004527/0.4033, allocations: 278.1 kB / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.4033, allocations: 0 / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4034, allocations: 0 / 0.535 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.4034, allocations: 1.094 kB / 0.535 GB, free: 10.93 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.0008807/0.4043, allocations: 0.6578 MB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.4043, allocations: 9.469 kB / 0.5357 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.429e-05/0.4044, allocations: 48.03 kB / 0.5357 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/0.4047, allocations: 306.8 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.4048, allocations: 1.375 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.4048, allocations: 3.844 kB / 0.536 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.405, allocations: 60.67 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.405, allocations: 0 / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.593e-05/0.405, allocations: 5.094 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4051, allocations: 1.094 kB / 0.5361 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.4052, allocations: 32.69 kB / 0.5361 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.4058, allocations: 397.4 kB / 0.5365 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.406, allocations: 47.59 kB / 0.5366 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.673e-05/0.406, allocations: 16.47 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.4061, allocations: 1.094 kB / 0.5366 GB, free: 9.496 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.4061, allocations: 43.75 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.4061, allocations: 3.938 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001111/0.4072, allocations: 312.1 kB / 0.5369 GB, free: 9.258 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.4073, allocations: 56.69 kB / 0.537 GB, free: 9.191 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/0.4083, allocations: 0.8683 MB / 0.5378 GB, free: 8.77 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.4084, allocations: 26.83 kB / 0.5378 GB, free: 8.738 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.4086, allocations: 229.3 kB / 0.5381 GB, free: 8.539 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.4086, allocations: 24.22 kB / 0.5381 GB, free: 8.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-05/0.4087, allocations: 22.58 kB / 0.5381 GB, free: 8.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.4088, allocations: 356.6 kB / 0.5384 GB, free: 8.156 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.888e-05/0.4089, allocations: 29.42 kB / 0.5385 GB, free: 8.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.189e-05/0.409, allocations: 31.31 kB / 0.5385 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.4091, allocations: 56.12 kB / 0.5386 GB, free: 8.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4091, allocations: 1.406 kB / 0.5386 GB, free: 8.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002315/0.4094, allocations: 142.4 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.4094, allocations: 5.438 kB / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.4094, allocations: 0 / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4094, allocations: 0 / 0.5387 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.4095, allocations: 26.08 kB / 0.5387 GB, free: 7.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.4096, allocations: 5.438 kB / 0.5387 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.351e-05/0.4096, allocations: 6.891 kB / 0.5387 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4096, allocations: 2.719 kB / 0.5387 GB, free: 7.988 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 (8): * Single equations (assignments): 8 * 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.0001738/0.4098, allocations: 210.2 kB / 0.5389 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.989e-05/0.4099, allocations: 50.42 kB / 0.539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003415/0.4102, allocations: 163.8 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4102, allocations: 1.312 kB / 0.5391 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.4103, allocations: 9.047 kB / 0.5392 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.4103, allocations: 0 / 0.5392 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006923/0.411, allocations: 0.495 MB / 0.5396 GB, free: 7.266 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.411, allocations: 3.938 kB / 0.5396 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.561e-05/0.4111, allocations: 18.3 kB / 0.5397 GB, free: 7.258 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.4111, allocations: 5.469 kB / 0.5397 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/0.4111, allocations: 4.938 kB / 0.5397 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.4111, allocations: 1.156 kB / 0.5397 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4111, allocations: 0.9375 kB / 0.5397 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003074/0.4114, allocations: 242 kB / 0.5399 GB, free: 7.051 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.137e-05/0.4115, allocations: 122.8 kB / 0.54 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.166e-05/0.4116, allocations: 5.203 kB / 0.54 GB, free: 6.918 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.695e-05/0.4117, allocations: 7.375 kB / 0.54 GB, free: 6.914 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.4117, allocations: 7.422 kB / 0.54 GB, free: 6.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-06/0.4117, allocations: 3.797 kB / 0.54 GB, free: 6.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006643/0.4124, allocations: 0.653 MB / 0.5407 GB, free: 6.594 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4124, allocations: 0 / 0.5407 GB, free: 6.594 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4127, allocations: 21.84 kB / 0.5407 GB, free: 6.594 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.00108/0.4138, allocations: 462.3 kB / 0.5411 GB, free: 6.352 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002342/0.414, allocations: 63.47 kB / 0.5412 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.414, allocations: 5.219 kB / 0.5412 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.4141, allocations: 37.88 kB / 0.5412 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.4146, allocations: 32.31 kB / 0.5413 GB, free: 6.289 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4158, allocations: 0.8254 MB / 0.5421 GB, free: 5.844 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.4163, allocations: 0.8304 MB / 0.5429 GB, free: 5.074 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.017e-05/0.4164, allocations: 22.53 kB / 0.5429 GB, free: 5.062 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.4165, allocations: 17.23 kB / 0.5429 GB, free: 5.051 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4165, allocations: 0 / 0.5429 GB, free: 5.051 MB / 398.1 MB Notification: Performance of Templates: time 0.005095/0.4216, allocations: 1.733 MB / 0.5446 GB, free: 3.586 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches