Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001204/0.001204, allocations: 121.8 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.001416/0.001417, allocations: 203.8 kB / 18.73 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, 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.2184/0.2184, allocations: 46.09 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4191, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test6): time 0.003582/0.4227, allocations: 1.652 MB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001089/0.4239, allocations: 0.5861 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.771e-05/0.4239, allocations: 1.375 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005769/0.4245, allocations: 449.2 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000438/0.425, allocations: 299.6 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004363/0.4254, allocations: 177.5 kB / 0.5341 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002568/0.4257, allocations: 179.8 kB / 0.5343 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.4258, allocations: 17.73 kB / 0.5343 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.426, allocations: 115.5 kB / 0.5344 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003054/0.4263, allocations: 220 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.136e-05/0.4263, allocations: 4.125 kB / 0.5346 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.4264, allocations: 29.22 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.4266, allocations: 83.28 kB / 0.5347 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.911e-05/0.4267, allocations: 116.1 kB / 0.5348 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.4271, allocations: 263.3 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.4271, allocations: 5.062 kB / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4271, allocations: 0 / 0.5351 GB, free: 10.86 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.4271, allocations: 0 / 0.5351 GB, free: 10.86 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.0009161/0.428, allocations: 0.6479 MB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.4281, allocations: 8.469 kB / 0.5357 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.896e-05/0.4282, allocations: 43.66 kB / 0.5358 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.4285, allocations: 294.8 kB / 0.536 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.4285, allocations: 10.25 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.4285, allocations: 2.75 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4287, allocations: 67.31 kB / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4288, allocations: 0 / 0.5361 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.4288, allocations: 4 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.4288, allocations: 1.531 kB / 0.5361 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001511/0.4289, allocations: 42.89 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006027/0.4295, allocations: 400.4 kB / 0.5365 GB, free: 9.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001319/0.4297, allocations: 45.5 kB / 0.5366 GB, free: 9.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.205e-05/0.4298, allocations: 29.41 kB / 0.5366 GB, free: 9.445 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.58e-05/0.4298, allocations: 4.953 kB / 0.5366 GB, free: 9.441 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.4299, allocations: 31.59 kB / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.4299, allocations: 0 / 0.5366 GB, free: 9.402 MB / 398.1 MB Notification: Performance of matching and sorting (n=7): time 0.0009404/0.4308, allocations: 318.8 kB / 0.537 GB, free: 9.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.4309, allocations: 52.5 kB / 0.537 GB, free: 9.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000878/0.4317, allocations: 0.8636 MB / 0.5378 GB, free: 8.734 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.4318, allocations: 30.73 kB / 0.5379 GB, free: 8.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.4319, allocations: 219.7 kB / 0.5381 GB, free: 8.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.763e-05/0.432, allocations: 26.06 kB / 0.5381 GB, free: 8.484 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.247e-05/0.432, allocations: 24 kB / 0.5381 GB, free: 8.461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4322, allocations: 367.7 kB / 0.5385 GB, free: 8.109 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.4323, allocations: 34.19 kB / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4324, allocations: 49.55 kB / 0.5386 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/0.4327, allocations: 90.11 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.4327, allocations: 1.156 kB / 0.5386 GB, free: 8.023 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003695/0.4331, allocations: 151.1 kB / 0.5388 GB, free: 7.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.4331, allocations: 5.5 kB / 0.5388 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.4331, allocations: 0 / 0.5388 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.4331, allocations: 0 / 0.5388 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.4333, allocations: 19.02 kB / 0.5388 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.4333, allocations: 5.094 kB / 0.5388 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.577e-05/0.4334, allocations: 13.8 kB / 0.5388 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4334, allocations: 5.594 kB / 0.5388 GB, free: 7.918 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 0.0001976/0.4336, allocations: 219 kB / 0.539 GB, free: 7.762 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.4337, allocations: 47.09 kB / 0.5391 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004299/0.4341, allocations: 182.6 kB / 0.5393 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4341, allocations: 1.156 kB / 0.5393 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4342, allocations: 1.062 kB / 0.5393 GB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4342, allocations: 3.938 kB / 0.5393 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000707/0.4349, allocations: 0.5132 MB / 0.5398 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.4349, allocations: 0 / 0.5398 GB, free: 7.184 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-05/0.435, allocations: 18.86 kB / 0.5398 GB, free: 7.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.435, allocations: 9.766 kB / 0.5398 GB, free: 7.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.435, allocations: 3.938 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.435, allocations: 1.75 kB / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.435, allocations: 0 / 0.5398 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.4354, allocations: 253.4 kB / 0.54 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.037e-05/0.4355, allocations: 114.3 kB / 0.5402 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.4355, allocations: 8.938 kB / 0.5402 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.4356, allocations: 13.98 kB / 0.5402 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.4357, allocations: 2.219 kB / 0.5402 GB, free: 6.836 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-06/0.4357, allocations: 6.578 kB / 0.5402 GB, free: 6.832 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006382/0.4364, allocations: 0.6486 MB / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4364, allocations: 0 / 0.5408 GB, free: 6.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002627/0.4366, allocations: 29.25 kB / 0.5408 GB, free: 6.512 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.0009017/0.4375, allocations: 399.5 kB / 0.5412 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003151/0.4379, allocations: 96.84 kB / 0.5413 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.4379, allocations: 0 / 0.5413 GB, free: 6.258 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000137/0.438, allocations: 49.25 kB / 0.5414 GB, free: 6.238 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000402/0.4384, allocations: 31.84 kB / 0.5414 GB, free: 6.215 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.4396, allocations: 0.8207 MB / 0.5422 GB, free: 5.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.4401, allocations: 0.8356 MB / 0.543 GB, free: 5.016 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.135e-05/0.4402, allocations: 16.53 kB / 0.543 GB, free: 5.008 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.4402, allocations: 17.94 kB / 0.5431 GB, free: 4.996 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4402, allocations: 3.938 kB / 0.5431 GB, free: 4.992 MB / 398.1 MB Notification: Performance of Templates: time 0.004952/0.4452, allocations: 1.628 MB / 0.5446 GB, free: 3.523 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test6/Test6.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches