Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001331/0.001331, allocations: 114.2 kB / 17.78 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.00155/0.00155, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 246.9 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.2407/0.2407, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 80.08 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4163/0.4178, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.003172/0.421, allocations: 1.681 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001029/0.4221, allocations: 0.5571 MB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.028e-05/0.4222, allocations: 1.094 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002553/0.4224, allocations: 55.03 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003138/0.4228, allocations: 97.64 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.4232, allocations: 137.3 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.4233, allocations: 87.52 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.4235, allocations: 17.84 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.4235, allocations: 38.97 kB / 0.5336 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.4237, allocations: 48.44 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.4237, allocations: 4.125 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.4238, allocations: 52.98 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.07e-05/0.4239, allocations: 20.17 kB / 0.5337 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.477e-05/0.424, allocations: 46.53 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002254/0.4242, allocations: 105.3 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4242, allocations: 5.312 kB / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4242, allocations: 0 / 0.5339 GB, free: 11.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4242, allocations: 0 / 0.5339 GB, free: 11.43 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.000604/0.4248, allocations: 426.2 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.4249, allocations: 9.625 kB / 0.5343 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.425, allocations: 14.34 kB / 0.5343 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.4252, allocations: 201.7 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.4252, allocations: 7.125 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.4253, allocations: 3.125 kB / 0.5345 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.4254, allocations: 67.67 kB / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.4255, allocations: 0 / 0.5346 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.4255, allocations: 3.938 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4255, allocations: 1.375 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.4257, allocations: 43.27 kB / 0.5346 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/0.4261, allocations: 309.6 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002731/0.4264, allocations: 58.61 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.4265, allocations: 28.83 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.951e-05/0.4266, allocations: 5.016 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.4266, allocations: 35.53 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.4266, allocations: 0 / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001492/0.4281, allocations: 398.1 kB / 0.5354 GB, free: 10.05 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.4281, allocations: 56.56 kB / 0.5355 GB, free: 9.984 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.4284, allocations: 190.6 kB / 0.5357 GB, free: 9.844 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.4284, allocations: 29.7 kB / 0.5357 GB, free: 9.809 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.4285, allocations: 97.86 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.4285, allocations: 44.2 kB / 0.5358 GB, free: 9.676 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.4286, allocations: 25.7 kB / 0.5359 GB, free: 9.652 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.4287, allocations: 322.1 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.4288, allocations: 42.44 kB / 0.5362 GB, free: 9.312 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.429, allocations: 49.09 kB / 0.5362 GB, free: 9.289 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000242/0.4292, allocations: 99.3 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.4292, allocations: 1.281 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003013/0.4295, allocations: 138.2 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.4295, allocations: 11.12 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4296, allocations: 0 / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.4296, allocations: 1.719 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4297, allocations: 36.16 kB / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4297, allocations: 0 / 0.5365 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.4298, allocations: 10.66 kB / 0.5365 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.275e-05/0.4298, allocations: 6.609 kB / 0.5365 GB, free: 9.133 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 (11): * Single equations (assignments): 11 * 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.0001355/0.4299, allocations: 127.7 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.783e-05/0.43, allocations: 17.28 kB / 0.5367 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003969/0.4304, allocations: 158.3 kB / 0.5368 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.4304, allocations: 6.062 kB / 0.5368 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4304, allocations: 3.938 kB / 0.5368 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4304, allocations: 3.984 kB / 0.5368 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.4311, allocations: 479.7 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.4311, allocations: 1.062 kB / 0.5373 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.4313, allocations: 32.59 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.4313, allocations: 1.031 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.4313, allocations: 2.188 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4313, allocations: 1.062 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4313, allocations: 1.406 kB / 0.5373 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.4317, allocations: 263.1 kB / 0.5376 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.4317, allocations: 89.2 kB / 0.5377 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.175e-05/0.4318, allocations: 5.281 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.718e-05/0.4319, allocations: 18.36 kB / 0.5377 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.35e-05/0.4319, allocations: 8.578 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.4319, allocations: 3.156 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001335/0.4321, allocations: 151.2 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4321, allocations: 0 / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000264/0.4324, allocations: 26.02 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0011/0.4335, allocations: 453.3 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.4339, allocations: 109.7 kB / 0.5384 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4339, allocations: 5.094 kB / 0.5384 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.4341, allocations: 61.83 kB / 0.5385 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.4345, allocations: 28.17 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000768/0.4353, allocations: 288.7 kB / 0.5388 GB, free: 7.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.4357, allocations: 0.7095 MB / 0.5395 GB, free: 6.738 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.75e-05/0.4358, allocations: 13.92 kB / 0.5395 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.762e-05/0.4358, allocations: 22.81 kB / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of SimCode: time 2.01e-07/0.4359, allocations: 0 / 0.5395 GB, free: 6.719 MB / 398.1 MB Notification: Performance of Templates: time 0.005092/0.441, allocations: 1.552 MB / 0.541 GB, free: 5.93 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches