Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.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.Test25,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.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,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.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0014/0.0014, allocations: 113.2 kB / 17.78 MB, free: 5.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, allocations: 204.6 kB / 18.74 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.43/1.43, 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.2362/0.2362, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 71.89 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4609/0.4624, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.003283/0.4658, allocations: 1.682 MB / 0.5327 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.4669, allocations: 0.5454 MB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.467, allocations: 1.375 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.4673, allocations: 55 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.4677, allocations: 95.22 kB / 0.5333 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003655/0.4681, allocations: 129.7 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.4683, allocations: 85.89 kB / 0.5335 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.4684, allocations: 17.73 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.46e-05/0.4685, allocations: 45.61 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.4686, allocations: 38.31 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.4686, allocations: 3.781 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.4688, allocations: 57.56 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.24e-05/0.4688, allocations: 19.55 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.587e-05/0.4689, allocations: 33.42 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002436/0.4691, allocations: 108 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4692, allocations: 1.062 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4692, allocations: 4 kB / 0.5339 GB, free: 11.46 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.245e-06/0.4692, allocations: 0 / 0.5339 GB, free: 11.46 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.000601/0.4698, allocations: 417 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.4698, allocations: 8.781 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.978e-05/0.4699, allocations: 9.422 kB / 0.5343 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.4701, allocations: 202.7 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.458e-05/0.4702, allocations: 13.36 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.086e-05/0.4702, allocations: 7.25 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.4704, allocations: 67.27 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.4704, allocations: 1.125 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.4704, allocations: 0 / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.4704, allocations: 1.156 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001429/0.4706, allocations: 38.62 kB / 0.5346 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.471, allocations: 304.8 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.4713, allocations: 58.55 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.451e-05/0.4714, allocations: 25.56 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.4714, allocations: 0.9375 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.4714, allocations: 35.09 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.474e-06/0.4714, allocations: 1.344 kB / 0.535 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001469/0.4729, allocations: 408.1 kB / 0.5354 GB, free: 10.09 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.473, allocations: 52.81 kB / 0.5354 GB, free: 10.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.4732, allocations: 172.3 kB / 0.5356 GB, free: 9.891 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.413e-05/0.4732, allocations: 31.05 kB / 0.5356 GB, free: 9.855 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.4733, allocations: 100.3 kB / 0.5357 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.4734, allocations: 44.78 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.4734, allocations: 21.31 kB / 0.5358 GB, free: 9.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.4736, allocations: 321.5 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001329/0.4737, allocations: 47.23 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4738, allocations: 40.66 kB / 0.5362 GB, free: 9.34 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002551/0.4741, allocations: 108.3 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4741, allocations: 3.938 kB / 0.5363 GB, free: 9.277 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003182/0.4744, allocations: 141.4 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.4745, allocations: 7.688 kB / 0.5364 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.4745, allocations: 5.094 kB / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4745, allocations: 0 / 0.5364 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4746, allocations: 28.3 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.4746, allocations: 1.125 kB / 0.5365 GB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.378e-05/0.4747, allocations: 14.39 kB / 0.5365 GB, free: 9.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.4747, allocations: 2.375 kB / 0.5365 GB, free: 9.176 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.0001293/0.4749, allocations: 130 kB / 0.5366 GB, free: 9.047 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.68e-05/0.4749, allocations: 9.016 kB / 0.5366 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004081/0.4753, allocations: 169.4 kB / 0.5368 GB, free: 8.938 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.4753, allocations: 5.031 kB / 0.5368 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.4754, allocations: 1.094 kB / 0.5368 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.4754, allocations: 0 / 0.5368 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007163/0.4761, allocations: 470.7 kB / 0.5372 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.4761, allocations: 4.984 kB / 0.5372 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4762, allocations: 27.77 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4762, allocations: 2.062 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.598e-05/0.4763, allocations: 2 kB / 0.5373 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4763, allocations: 4.844 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.4763, allocations: 1.062 kB / 0.5373 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.4767, allocations: 258.9 kB / 0.5375 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.4767, allocations: 84.56 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.4768, allocations: 1.594 kB / 0.5376 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.22e-05/0.4769, allocations: 14.33 kB / 0.5376 GB, free: 8.172 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.131e-05/0.4769, allocations: 20.36 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.4769, allocations: 4.281 kB / 0.5376 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.4771, allocations: 132 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4771, allocations: 0 / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002795/0.4774, allocations: 33.45 kB / 0.5378 GB, free: 8.047 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.00114/0.4785, allocations: 458.5 kB / 0.5382 GB, free: 7.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003649/0.4789, allocations: 106.8 kB / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4789, allocations: 0 / 0.5383 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001664/0.4791, allocations: 62.61 kB / 0.5384 GB, free: 7.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.4794, allocations: 23.64 kB / 0.5384 GB, free: 7.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006731/0.4801, allocations: 276.6 kB / 0.5387 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004278/0.4805, allocations: 0.7109 MB / 0.5394 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.683e-05/0.4806, allocations: 13.58 kB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.576e-05/0.4807, allocations: 18.72 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4807, allocations: 1.156 kB / 0.5394 GB, free: 6.777 MB / 398.1 MB Notification: Performance of Templates: time 0.00612/0.4868, allocations: 1.56 MB / 0.5409 GB, free: 5.98 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches