Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.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.Test29,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.Test29") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test29,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.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001258/0.001258, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001467/0.001467, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 227.4 MB / 246.9 MB, free: 10.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2623/0.2623, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001503/0.001503, allocations: 79.86 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4163, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test29): time 0.003584/0.4199, allocations: 1.674 MB / 0.5327 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001164/0.4211, allocations: 0.5531 MB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.4212, allocations: 5.375 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.4216, allocations: 73.95 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004641/0.4221, allocations: 104.7 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004811/0.4226, allocations: 130.9 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002314/0.4228, allocations: 88.92 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.4229, allocations: 16.48 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.423, allocations: 40.28 kB / 0.5336 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.4232, allocations: 56.56 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.4232, allocations: 4.125 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.4234, allocations: 48.98 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.727e-05/0.4235, allocations: 24.16 kB / 0.5338 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.4235, allocations: 46.55 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.4238, allocations: 115.5 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.172e-06/0.4238, allocations: 1.375 kB / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.896e-06/0.4239, allocations: 0 / 0.5339 GB, free: 11.44 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.4239, allocations: 0 / 0.5339 GB, free: 11.44 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.0007713/0.4246, allocations: 417.6 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.4247, allocations: 9.625 kB / 0.5343 GB, free: 11.02 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.4248, allocations: 18.28 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.4251, allocations: 207.7 kB / 0.5345 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.4251, allocations: 15.03 kB / 0.5346 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.077e-05/0.4251, allocations: 7.016 kB / 0.5346 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.4254, allocations: 70.91 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4254, allocations: 1.469 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.4254, allocations: 0 / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.4254, allocations: 1.406 kB / 0.5346 GB, free: 10.7 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001599/0.4256, allocations: 38.53 kB / 0.5347 GB, free: 10.69 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004872/0.4261, allocations: 310.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.4263, allocations: 55.7 kB / 0.535 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.914e-05/0.4264, allocations: 24.56 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.4264, allocations: 5.469 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.4265, allocations: 34.56 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.4265, allocations: 1.312 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001505/0.428, allocations: 393.4 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.428, allocations: 56.59 kB / 0.5355 GB, free: 10 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.4283, allocations: 216.7 kB / 0.5357 GB, free: 9.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.4283, allocations: 31.05 kB / 0.5358 GB, free: 9.812 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.4284, allocations: 105.7 kB / 0.5359 GB, free: 9.711 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.4284, allocations: 32.5 kB / 0.5359 GB, free: 9.684 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.854e-05/0.4285, allocations: 29.27 kB / 0.5359 GB, free: 9.656 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.4286, allocations: 326.6 kB / 0.5362 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001275/0.4287, allocations: 38.69 kB / 0.5363 GB, free: 9.316 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.4289, allocations: 49.06 kB / 0.5363 GB, free: 9.293 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002587/0.4291, allocations: 99.2 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.4292, allocations: 1.281 kB / 0.5364 GB, free: 9.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003458/0.4295, allocations: 142.7 kB / 0.5365 GB, free: 9.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.4295, allocations: 9.375 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.4295, allocations: 0 / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.4296, allocations: 1.5 kB / 0.5366 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.4297, allocations: 31.97 kB / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.4297, allocations: 0 / 0.5366 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.453e-05/0.4298, allocations: 18.48 kB / 0.5366 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.4298, allocations: 6.844 kB / 0.5366 GB, free: 9.129 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.0001054/0.4299, allocations: 125.4 kB / 0.5367 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.43, allocations: 21.61 kB / 0.5367 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004259/0.4304, allocations: 159.9 kB / 0.5369 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4304, allocations: 8.969 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.4304, allocations: 1.125 kB / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4305, allocations: 0 / 0.5369 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006808/0.4311, allocations: 489 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.4312, allocations: 1.375 kB / 0.5374 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001064/0.4313, allocations: 24.33 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.4313, allocations: 1 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.769e-06/0.4313, allocations: 2 kB / 0.5374 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.4313, allocations: 5.094 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.4313, allocations: 1.156 kB / 0.5374 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.4317, allocations: 256.4 kB / 0.5377 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.4318, allocations: 88.14 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4318, allocations: 2.219 kB / 0.5377 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.688e-05/0.4319, allocations: 17.45 kB / 0.5378 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.4319, allocations: 9.266 kB / 0.5378 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.288e-06/0.432, allocations: 7.281 kB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001518/0.4321, allocations: 166.6 kB / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4321, allocations: 0 / 0.5379 GB, free: 7.988 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4324, allocations: 30.14 kB / 0.538 GB, free: 7.977 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.001019/0.4334, allocations: 452.8 kB / 0.5384 GB, free: 7.746 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003554/0.4338, allocations: 106.3 kB / 0.5385 GB, free: 7.703 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4338, allocations: 4 kB / 0.5385 GB, free: 7.699 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.434, allocations: 58.55 kB / 0.5386 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.4343, allocations: 28.83 kB / 0.5386 GB, free: 7.656 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007663/0.4351, allocations: 304.9 kB / 0.5389 GB, free: 7.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003823/0.4355, allocations: 0.7157 MB / 0.5396 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.273e-05/0.4356, allocations: 23.97 kB / 0.5396 GB, free: 6.699 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.4356, allocations: 27.05 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4357, allocations: 1.531 kB / 0.5396 GB, free: 6.68 MB / 398.1 MB Notification: Performance of Templates: time 0.004741/0.4404, allocations: 1.569 MB / 0.5412 GB, free: 5.887 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches