Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001599/0.001599, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002114/0.002115, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2274/0.2274, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 79.88 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.4169, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test25): time 0.003488/0.4205, allocations: 1.685 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.4218, allocations: 0.5755 MB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.95e-05/0.4219, allocations: 1.375 kB / 0.5332 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002887/0.4222, allocations: 47.06 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.4226, allocations: 90.69 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000418/0.423, allocations: 181.3 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001885/0.4232, allocations: 92.95 kB / 0.5336 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/0.4233, allocations: 19.33 kB / 0.5336 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.4234, allocations: 42.92 kB / 0.5337 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4235, allocations: 38.97 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.4235, allocations: 3.25 kB / 0.5337 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.4237, allocations: 57.75 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.384e-05/0.4237, allocations: 20.11 kB / 0.5338 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.984e-05/0.4238, allocations: 34.73 kB / 0.5338 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002158/0.424, allocations: 117.6 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.424, allocations: 0 / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.424, allocations: 0 / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.315e-06/0.4241, allocations: 1.156 kB / 0.5339 GB, free: 11.39 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.0006142/0.4247, allocations: 418.5 kB / 0.5343 GB, free: 10.96 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.4247, allocations: 10.25 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.4248, allocations: 9.406 kB / 0.5344 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002744/0.4251, allocations: 198.5 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4251, allocations: 6.922 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.776e-05/0.4252, allocations: 6.844 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.4254, allocations: 73.16 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.4255, allocations: 1.25 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.4255, allocations: 0 / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.4255, allocations: 5.062 kB / 0.5346 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.4257, allocations: 41.41 kB / 0.5347 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.4263, allocations: 319.6 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.4266, allocations: 60.11 kB / 0.535 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.135e-05/0.4267, allocations: 33.27 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.647e-05/0.4268, allocations: 1.375 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.4268, allocations: 35.94 kB / 0.5351 GB, free: 10.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.713e-06/0.4268, allocations: 4 kB / 0.5351 GB, free: 10.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001671/0.4285, allocations: 417.3 kB / 0.5355 GB, free: 10.01 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.4286, allocations: 57.59 kB / 0.5356 GB, free: 9.945 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.4288, allocations: 184.1 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.4289, allocations: 30.89 kB / 0.5358 GB, free: 9.766 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.747e-05/0.429, allocations: 100.6 kB / 0.5359 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.992e-05/0.429, allocations: 35.95 kB / 0.5359 GB, free: 9.637 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.016e-05/0.4291, allocations: 26.41 kB / 0.5359 GB, free: 9.613 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4293, allocations: 322 kB / 0.5362 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.4295, allocations: 56.89 kB / 0.5363 GB, free: 9.266 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.4296, allocations: 65.03 kB / 0.5364 GB, free: 9.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003168/0.43, allocations: 120.5 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.43, allocations: 0 / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003885/0.4304, allocations: 160.2 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.4304, allocations: 5.812 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.4304, allocations: 4 kB / 0.5366 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.4305, allocations: 4.906 kB / 0.5366 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.4306, allocations: 36.53 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.4306, allocations: 0 / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.218e-05/0.4307, allocations: 14.67 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4307, allocations: 2.344 kB / 0.5367 GB, free: 9.051 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.0001267/0.4309, allocations: 127.6 kB / 0.5368 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.922e-05/0.4309, allocations: 13.75 kB / 0.5368 GB, free: 8.918 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004892/0.4314, allocations: 197.6 kB / 0.537 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4314, allocations: 4.781 kB / 0.537 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.4314, allocations: 1.062 kB / 0.537 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4314, allocations: 0 / 0.537 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007496/0.4322, allocations: 0.4961 MB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.4322, allocations: 1.094 kB / 0.5375 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.4323, allocations: 24.8 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4323, allocations: 0.9688 kB / 0.5375 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.4323, allocations: 6.5 kB / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4323, allocations: 1.406 kB / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4324, allocations: 96 / 0.5375 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.4328, allocations: 280.8 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.516e-05/0.4328, allocations: 89.06 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.4328, allocations: 1.375 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.917e-05/0.4329, allocations: 25.36 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.433, allocations: 4.875 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.667e-06/0.433, allocations: 4.125 kB / 0.5379 GB, free: 7.992 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.4331, allocations: 140.9 kB / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4331, allocations: 0 / 0.5381 GB, free: 7.891 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002677/0.4334, allocations: 26.62 kB / 0.5381 GB, free: 7.883 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.001231/0.4346, allocations: 459.1 kB / 0.5385 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004297/0.4351, allocations: 131.1 kB / 0.5386 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.4351, allocations: 5.156 kB / 0.5386 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4353, allocations: 66.48 kB / 0.5387 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004236/0.4357, allocations: 35.69 kB / 0.5387 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006812/0.4364, allocations: 303.1 kB / 0.539 GB, free: 7.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.4367, allocations: 0.7149 MB / 0.5397 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.914e-05/0.4368, allocations: 30.27 kB / 0.5398 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.4369, allocations: 18.94 kB / 0.5398 GB, free: 6.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4369, allocations: 4 kB / 0.5398 GB, free: 6.562 MB / 398.1 MB Notification: Performance of Templates: time 0.004798/0.4417, allocations: 1.641 MB / 0.5414 GB, free: 5.723 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test25/Test25.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches