Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001662/0.001662, allocations: 112.5 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002061/0.00206, allocations: 200 kB / 19.4 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 46.12 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 75.88 kB / 482 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.404, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.004294/0.4083, allocations: 1.667 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.4098, allocations: 0.5508 MB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.4099, allocations: 1.375 kB / 0.5338 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.4106, allocations: 448.8 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006542/0.4113, allocations: 291.4 kB / 0.5345 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.4118, allocations: 138.4 kB / 0.5347 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.4123, allocations: 171 kB / 0.5348 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.4124, allocations: 11.31 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.4127, allocations: 110.2 kB / 0.535 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.413, allocations: 214.2 kB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.279e-05/0.4131, allocations: 4.031 kB / 0.5352 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.4132, allocations: 36.86 kB / 0.5352 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.4134, allocations: 86.78 kB / 0.5353 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.4135, allocations: 97.64 kB / 0.5354 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.414, allocations: 257.1 kB / 0.5356 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/0.414, allocations: 4 kB / 0.5356 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.414, allocations: 1.094 kB / 0.5356 GB, free: 10.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.891e-05/0.4141, allocations: 4 kB / 0.5356 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001145/0.4152, allocations: 0.6353 MB / 0.5362 GB, free: 10.34 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.4153, allocations: 10.06 kB / 0.5363 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001222/0.4154, allocations: 42.34 kB / 0.5363 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.4158, allocations: 293.7 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.4158, allocations: 5.594 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.4158, allocations: 2.625 kB / 0.5366 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.416, allocations: 54.73 kB / 0.5366 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.416, allocations: 8 kB / 0.5366 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4161, allocations: 1.531 kB / 0.5366 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.4161, allocations: 0 / 0.5366 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.4162, allocations: 26.66 kB / 0.5367 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.4168, allocations: 389.5 kB / 0.537 GB, free: 9.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.4171, allocations: 40.22 kB / 0.5371 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.975e-05/0.4172, allocations: 19.83 kB / 0.5371 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.4172, allocations: 1.25 kB / 0.5371 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4172, allocations: 34.5 kB / 0.5371 GB, free: 9.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.4172, allocations: 1.219 kB / 0.5371 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0007708/0.418, allocations: 223 kB / 0.5374 GB, free: 9.359 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4181, allocations: 64.34 kB / 0.5374 GB, free: 9.285 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001262/0.4194, allocations: 0.8646 MB / 0.5383 GB, free: 8.867 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.4194, allocations: 25.7 kB / 0.5383 GB, free: 8.836 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000261/0.4197, allocations: 226 kB / 0.5385 GB, free: 8.641 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.242e-05/0.4197, allocations: 17.83 kB / 0.5385 GB, free: 8.625 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.4198, allocations: 17.78 kB / 0.5385 GB, free: 8.605 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.4199, allocations: 360.3 kB / 0.5389 GB, free: 8.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.828e-05/0.42, allocations: 22.17 kB / 0.5389 GB, free: 8.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.505e-05/0.4201, allocations: 19.27 kB / 0.5389 GB, free: 8.242 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.4203, allocations: 52.27 kB / 0.539 GB, free: 8.211 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.4203, allocations: 1.125 kB / 0.539 GB, free: 8.211 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002517/0.4205, allocations: 115.2 kB / 0.5391 GB, free: 8.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4206, allocations: 13.48 kB / 0.5391 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.4206, allocations: 0 / 0.5391 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.4206, allocations: 5.125 kB / 0.5391 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.036e-05/0.4207, allocations: 9 kB / 0.5391 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.4207, allocations: 1.188 kB / 0.5391 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.4208, allocations: 11.33 kB / 0.5391 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4208, allocations: 1.062 kB / 0.5391 GB, free: 8.117 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 (5): * Single equations (assignments): 5 * 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.0002329/0.421, allocations: 209.8 kB / 0.5393 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.4211, allocations: 38.47 kB / 0.5393 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003233/0.4214, allocations: 139.6 kB / 0.5395 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.4214, allocations: 4.219 kB / 0.5395 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.4214, allocations: 1.125 kB / 0.5395 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.4215, allocations: 3.938 kB / 0.5395 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.4222, allocations: 461.9 kB / 0.5399 GB, free: 7.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4222, allocations: 5.078 kB / 0.5399 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.154e-05/0.4222, allocations: 9.406 kB / 0.5399 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.4223, allocations: 5.219 kB / 0.54 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.4223, allocations: 7.922 kB / 0.54 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.4223, allocations: 1.281 kB / 0.54 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4223, allocations: 0 / 0.54 GB, free: 7.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.4226, allocations: 211 kB / 0.5402 GB, free: 7.254 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.066e-05/0.4227, allocations: 109.8 kB / 0.5403 GB, free: 7.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.4228, allocations: 5.188 kB / 0.5403 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001179/0.4229, allocations: 19.39 kB / 0.5403 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.656e-05/0.4229, allocations: 1.125 kB / 0.5403 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.423, allocations: 2.25 kB / 0.5403 GB, free: 7.117 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0008041/0.4238, allocations: 0.653 MB / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.4238, allocations: 0 / 0.5409 GB, free: 6.801 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002846/0.4241, allocations: 22.47 kB / 0.541 GB, free: 6.797 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 (5): * Single equations (assignments): 5 * 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.001077/0.4251, allocations: 398.3 kB / 0.5413 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.4254, allocations: 49.12 kB / 0.5414 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4254, allocations: 0 / 0.5414 GB, free: 6.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.32e-05/0.4255, allocations: 28.17 kB / 0.5414 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.426, allocations: 28.97 kB / 0.5414 GB, free: 6.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.4275, allocations: 0.8329 MB / 0.5422 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.428, allocations: 0.8183 MB / 0.543 GB, free: 5.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.167e-05/0.4281, allocations: 16.91 kB / 0.5431 GB, free: 5.305 MB / 398.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4281, allocations: 1.062 kB / 0.5431 GB, free: 5.305 MB / 398.1 MB Notification: Performance of Templates: time 0.008331/0.4364, allocations: 3.725 MB / 0.5467 GB, free: 2.074 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches