Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001156/0.001156, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001323/0.001323, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, 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.2399/0.2399, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4067, allocations: 62.45 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.00285/0.4096, allocations: 1.658 MB / 0.5326 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001655/0.4112, allocations: 1.197 MB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.4113, allocations: 0 / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.4115, allocations: 31.91 kB / 0.5338 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002593/0.4118, allocations: 81.73 kB / 0.5339 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.4122, allocations: 177.9 kB / 0.5341 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001383/0.4124, allocations: 79.39 kB / 0.5342 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.4125, allocations: 17.61 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.645e-05/0.4125, allocations: 36.23 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.4127, allocations: 36.2 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.4127, allocations: 4.125 kB / 0.5342 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001794/0.4129, allocations: 105.5 kB / 0.5343 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.413, allocations: 21.42 kB / 0.5344 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.774e-05/0.413, allocations: 21.38 kB / 0.5344 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002395/0.4133, allocations: 150.6 kB / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.646e-06/0.4133, allocations: 0 / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4133, allocations: 3.938 kB / 0.5345 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.4133, allocations: 0 / 0.5345 GB, free: 11.12 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.000505/0.4138, allocations: 423.1 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.4139, allocations: 9.219 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.4139, allocations: 9.656 kB / 0.535 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002082/0.4141, allocations: 196.6 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.4141, allocations: 5.5 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.627e-05/0.4142, allocations: 6.547 kB / 0.5352 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/0.4144, allocations: 83.2 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.4144, allocations: 4 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.4144, allocations: 5.031 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.4144, allocations: 1.125 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001434/0.4146, allocations: 38.41 kB / 0.5353 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004575/0.415, allocations: 310 kB / 0.5356 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001196/0.4152, allocations: 45.06 kB / 0.5356 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.513e-05/0.4152, allocations: 32.55 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.05e-05/0.4153, allocations: 1.625 kB / 0.5357 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4153, allocations: 35.75 kB / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.4153, allocations: 0 / 0.5357 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007844/0.4161, allocations: 234 kB / 0.5359 GB, free: 9.809 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.4162, allocations: 78.2 kB / 0.536 GB, free: 9.715 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001385/0.4163, allocations: 154 kB / 0.5361 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4163, allocations: 26.86 kB / 0.5362 GB, free: 9.551 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.4164, allocations: 95.39 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.4164, allocations: 30.83 kB / 0.5363 GB, free: 9.43 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.4164, allocations: 19.28 kB / 0.5363 GB, free: 9.41 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4166, allocations: 325.2 kB / 0.5366 GB, free: 9.086 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/0.4167, allocations: 32.94 kB / 0.5366 GB, free: 9.074 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.4169, allocations: 54.58 kB / 0.5367 GB, free: 9.039 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.4171, allocations: 91.27 kB / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4171, allocations: 0 / 0.5368 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002971/0.4174, allocations: 128.6 kB / 0.5369 GB, free: 8.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4174, allocations: 5.656 kB / 0.5369 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.4175, allocations: 0 / 0.5369 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4175, allocations: 4 kB / 0.5369 GB, free: 8.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.4176, allocations: 23.61 kB / 0.5369 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.4176, allocations: 0 / 0.5369 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.759e-05/0.4177, allocations: 14.05 kB / 0.5369 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.4177, allocations: 2.062 kB / 0.5369 GB, free: 8.895 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 (7): * Single equations (assignments): 7 * 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 8.739e-05/0.4178, allocations: 119.8 kB / 0.5371 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.627e-05/0.4178, allocations: 8.781 kB / 0.5371 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00037/0.4182, allocations: 142.3 kB / 0.5372 GB, free: 8.676 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4182, allocations: 5.375 kB / 0.5372 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.4182, allocations: 0 / 0.5372 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.4182, allocations: 3.938 kB / 0.5372 GB, free: 8.668 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.4188, allocations: 414.2 kB / 0.5376 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4188, allocations: 9.375 kB / 0.5376 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.044e-05/0.4189, allocations: 18.42 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.307e-06/0.4189, allocations: 1.219 kB / 0.5376 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.419, allocations: 3.938 kB / 0.5376 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.419, allocations: 5.234 kB / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.419, allocations: 80 / 0.5376 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003509/0.4193, allocations: 228.4 kB / 0.5379 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.4194, allocations: 83.73 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.4194, allocations: 3.938 kB / 0.5379 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.4195, allocations: 14.52 kB / 0.538 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.4196, allocations: 6.812 kB / 0.538 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.4196, allocations: 6.641 kB / 0.538 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.4197, allocations: 117.2 kB / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4197, allocations: 0 / 0.5381 GB, free: 7.867 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003041/0.42, allocations: 42.61 kB / 0.5381 GB, free: 7.852 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 (7): * Single equations (assignments): 7 * 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.001163/0.4212, allocations: 491.2 kB / 0.5386 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003513/0.4215, allocations: 85.19 kB / 0.5387 GB, free: 7.57 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4215, allocations: 3.938 kB / 0.5387 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.4217, allocations: 56.52 kB / 0.5387 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.422, allocations: 21.11 kB / 0.5388 GB, free: 7.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005297/0.4226, allocations: 219.2 kB / 0.539 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.4229, allocations: 0.6944 MB / 0.5396 GB, free: 6.652 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.042e-05/0.423, allocations: 30.78 kB / 0.5397 GB, free: 6.633 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.773e-05/0.423, allocations: 18.98 kB / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.423, allocations: 0 / 0.5397 GB, free: 6.621 MB / 398.1 MB Notification: Performance of Templates: time 0.004816/0.4278, allocations: 1.952 MB / 0.5416 GB, free: 5.598 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches