Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001092/0.001092, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 201.2 kB / 18.73 MB, free: 4.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2345/0.2345, allocations: 46.1 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 75.88 kB / 481.3 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4336, allocations: 62.44 MB / 0.531 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.003265/0.4369, allocations: 1.655 MB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001879/0.4388, allocations: 1.177 MB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.4389, allocations: 0 / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.4391, allocations: 27.92 kB / 0.5338 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.4395, allocations: 81.73 kB / 0.5339 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.4398, allocations: 133.6 kB / 0.534 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.44, allocations: 72.64 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.4401, allocations: 24.23 kB / 0.5341 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.887e-05/0.4402, allocations: 30.84 kB / 0.5341 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4403, allocations: 36.22 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.4403, allocations: 4.125 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001719/0.4405, allocations: 101.5 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.997e-05/0.4406, allocations: 16.09 kB / 0.5343 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.88e-05/0.4406, allocations: 29.3 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.4409, allocations: 143.9 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4409, allocations: 1.375 kB / 0.5344 GB, free: 10.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.297e-06/0.4409, allocations: 4 kB / 0.5345 GB, free: 10.92 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.172e-06/0.4409, allocations: 3.938 kB / 0.5345 GB, free: 10.92 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.0005444/0.4415, allocations: 409.5 kB / 0.5348 GB, free: 10.5 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4415, allocations: 13.12 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.4416, allocations: 8.688 kB / 0.5349 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.4418, allocations: 189.3 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.4418, allocations: 1.5 kB / 0.535 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.4418, allocations: 6.609 kB / 0.5351 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001979/0.442, allocations: 85.53 kB / 0.5351 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.402e-05/0.4421, allocations: 9.219 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.4421, allocations: 0 / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.4421, allocations: 1.125 kB / 0.5351 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001316/0.4422, allocations: 32.78 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.4426, allocations: 290.9 kB / 0.5355 GB, free: 9.867 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000134/0.4428, allocations: 54.89 kB / 0.5355 GB, free: 9.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.4428, allocations: 28.41 kB / 0.5355 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4429, allocations: 1.281 kB / 0.5355 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.4429, allocations: 30.56 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.4429, allocations: 0.9375 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008058/0.4437, allocations: 211.7 kB / 0.5358 GB, free: 9.645 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.161e-05/0.4438, allocations: 78.27 kB / 0.5358 GB, free: 9.551 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.444, allocations: 148.9 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.444, allocations: 26.83 kB / 0.536 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.444, allocations: 95.52 kB / 0.5361 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.4441, allocations: 26.05 kB / 0.5361 GB, free: 9.273 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.312e-05/0.4441, allocations: 19.41 kB / 0.5361 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.4442, allocations: 317 kB / 0.5364 GB, free: 8.938 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.4444, allocations: 34.66 kB / 0.5365 GB, free: 8.922 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.4445, allocations: 47.22 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002212/0.4447, allocations: 76.41 kB / 0.5366 GB, free: 8.852 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4447, allocations: 3.938 kB / 0.5366 GB, free: 8.848 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002816/0.445, allocations: 114.4 kB / 0.5367 GB, free: 8.777 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.445, allocations: 11.69 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.445, allocations: 0 / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.4451, allocations: 1.094 kB / 0.5367 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.4452, allocations: 23.09 kB / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.4452, allocations: 0 / 0.5367 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.314e-05/0.4453, allocations: 14.42 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.4453, allocations: 2.188 kB / 0.5368 GB, free: 8.758 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 7.973e-05/0.4454, allocations: 114.2 kB / 0.5369 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.864e-05/0.4454, allocations: 12.44 kB / 0.5369 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003221/0.4458, allocations: 122.8 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4458, allocations: 1.062 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4458, allocations: 1.156 kB / 0.537 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.4458, allocations: 3.938 kB / 0.537 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004934/0.4463, allocations: 407 kB / 0.5374 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.4463, allocations: 5.297 kB / 0.5374 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.211e-05/0.4464, allocations: 18.77 kB / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.4464, allocations: 0 / 0.5374 GB, free: 8.148 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4464, allocations: 9.094 kB / 0.5374 GB, free: 8.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.4464, allocations: 4.969 kB / 0.5374 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4464, allocations: 0 / 0.5374 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4468, allocations: 214.1 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4468, allocations: 84.06 kB / 0.5377 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.655e-05/0.4468, allocations: 3.938 kB / 0.5377 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.447, allocations: 14.17 kB / 0.5377 GB, free: 7.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.16e-05/0.447, allocations: 6.562 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.992e-06/0.447, allocations: 3.031 kB / 0.5377 GB, free: 7.848 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.4471, allocations: 121.5 kB / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4471, allocations: 0 / 0.5379 GB, free: 7.746 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003417/0.4475, allocations: 38.19 kB / 0.5379 GB, free: 7.734 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.001125/0.4486, allocations: 489 kB / 0.5384 GB, free: 7.484 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003137/0.4489, allocations: 75.66 kB / 0.5384 GB, free: 7.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.449, allocations: 3.938 kB / 0.5384 GB, free: 7.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.4491, allocations: 54.05 kB / 0.5385 GB, free: 7.426 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.4495, allocations: 20.28 kB / 0.5385 GB, free: 7.418 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005627/0.45, allocations: 202.5 kB / 0.5387 GB, free: 7.254 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4503, allocations: 0.6964 MB / 0.5394 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.4504, allocations: 15.73 kB / 0.5394 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.4505, allocations: 22.83 kB / 0.5394 GB, free: 6.523 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.4505, allocations: 0 / 0.5394 GB, free: 6.523 MB / 398.1 MB Notification: Performance of Templates: time 0.004865/0.4553, allocations: 1.884 MB / 0.5413 GB, free: 5.547 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches