Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001324/0.001324, allocations: 117.6 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.001288/0.001288, allocations: 199.9 kB / 18.73 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.439/1.439, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2819/0.2819, allocations: 46.1 MB / 344.3 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 79.88 kB / 481.3 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4152/0.4165, allocations: 62.44 MB / 0.531 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test5): time 0.004221/0.4208, allocations: 1.646 MB / 0.5326 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4222, allocations: 0.5511 MB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.509e-05/0.4223, allocations: 1.375 kB / 0.5332 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008416/0.4231, allocations: 459.9 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007405/0.4239, allocations: 288.3 kB / 0.5339 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005289/0.4245, allocations: 134.1 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.4248, allocations: 168.1 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.425, allocations: 11.31 kB / 0.5342 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.4251, allocations: 113.5 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.4255, allocations: 210.7 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.4255, allocations: 2.688 kB / 0.5345 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4257, allocations: 38.14 kB / 0.5345 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.4258, allocations: 89.45 kB / 0.5346 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4259, allocations: 95.28 kB / 0.5347 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.4264, allocations: 264.8 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.4264, allocations: 0 / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4264, allocations: 1.5 kB / 0.535 GB, free: 10.91 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.4264, allocations: 3.938 kB / 0.535 GB, free: 10.91 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.0009155/0.4274, allocations: 0.6382 MB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.4274, allocations: 9.719 kB / 0.5356 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.327e-05/0.4275, allocations: 39.56 kB / 0.5356 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004301/0.428, allocations: 297.2 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.428, allocations: 2.844 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.043e-05/0.428, allocations: 1.781 kB / 0.5359 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.4282, allocations: 61.7 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.4282, allocations: 1.094 kB / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.4283, allocations: 0 / 0.536 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.4283, allocations: 5.125 kB / 0.536 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.874e-05/0.4284, allocations: 26.3 kB / 0.536 GB, free: 9.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006896/0.4291, allocations: 382.5 kB / 0.5364 GB, free: 9.574 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003161/0.4294, allocations: 47.3 kB / 0.5364 GB, free: 9.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.086e-05/0.4295, allocations: 16.27 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.568e-05/0.4296, allocations: 5.25 kB / 0.5364 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.4296, allocations: 30.56 kB / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 2.024e-06/0.4296, allocations: 0 / 0.5365 GB, free: 9.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.001002/0.4306, allocations: 227.9 kB / 0.5367 GB, free: 9.336 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.4307, allocations: 56.47 kB / 0.5367 GB, free: 9.27 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.432, allocations: 0.8687 MB / 0.5376 GB, free: 8.848 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.4321, allocations: 25.7 kB / 0.5376 GB, free: 8.816 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.4323, allocations: 229.9 kB / 0.5378 GB, free: 8.617 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/0.4324, allocations: 18 kB / 0.5378 GB, free: 8.602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.4324, allocations: 17.95 kB / 0.5379 GB, free: 8.582 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002296/0.4327, allocations: 363.2 kB / 0.5382 GB, free: 8.234 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.4328, allocations: 18.77 kB / 0.5382 GB, free: 8.227 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.631e-05/0.4329, allocations: 24.08 kB / 0.5383 GB, free: 8.215 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.4331, allocations: 47.77 kB / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4331, allocations: 0 / 0.5383 GB, free: 8.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003575/0.4335, allocations: 115.6 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.4335, allocations: 6.406 kB / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.4335, allocations: 0 / 0.5384 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.4336, allocations: 4.266 kB / 0.5384 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.59e-05/0.4337, allocations: 14.69 kB / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4337, allocations: 0 / 0.5384 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.755e-05/0.4338, allocations: 10.7 kB / 0.5384 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.4338, allocations: 1.562 kB / 0.5384 GB, free: 8.098 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 (5): * Single equations (assignments): 5 * 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.0002964/0.4341, allocations: 214.2 kB / 0.5386 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.89e-05/0.4342, allocations: 41.73 kB / 0.5387 GB, free: 7.922 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003943/0.4346, allocations: 132.2 kB / 0.5388 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.4346, allocations: 4 kB / 0.5388 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.4346, allocations: 5.531 kB / 0.5388 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.4347, allocations: 3.938 kB / 0.5388 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007318/0.4354, allocations: 461.9 kB / 0.5393 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4354, allocations: 4.062 kB / 0.5393 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.778e-05/0.4355, allocations: 14.69 kB / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.4355, allocations: 0 / 0.5393 GB, free: 7.414 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4355, allocations: 5.062 kB / 0.5393 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.4355, allocations: 4 kB / 0.5393 GB, free: 7.406 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.4355, allocations: 5.172 kB / 0.5393 GB, free: 7.402 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003244/0.4358, allocations: 202.1 kB / 0.5395 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.436, allocations: 110.7 kB / 0.5396 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.4361, allocations: 7.875 kB / 0.5396 GB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.4362, allocations: 12.23 kB / 0.5396 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4363, allocations: 5.469 kB / 0.5396 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.4363, allocations: 1.438 kB / 0.5396 GB, free: 7.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.4374, allocations: 0.6567 MB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.4e-07/0.4374, allocations: 1.156 kB / 0.5403 GB, free: 6.777 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.4379, allocations: 21.44 kB / 0.5403 GB, free: 6.773 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 (5): * Single equations (assignments): 5 * 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.001447/0.4394, allocations: 398.3 kB / 0.5407 GB, free: 6.562 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.4397, allocations: 48.47 kB / 0.5407 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.4397, allocations: 0 / 0.5407 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.4398, allocations: 27.2 kB / 0.5407 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007029/0.4405, allocations: 32.05 kB / 0.5408 GB, free: 6.516 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001836/0.4424, allocations: 0.786 MB / 0.5415 GB, free: 6.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006554/0.4431, allocations: 0.8248 MB / 0.5423 GB, free: 5.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.4432, allocations: 17.48 kB / 0.5424 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.4432, allocations: 19.7 kB / 0.5424 GB, free: 5.316 MB / 398.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4432, allocations: 1.031 kB / 0.5424 GB, free: 5.316 MB / 398.1 MB Notification: Performance of Templates: time 0.00729/0.4505, allocations: 1.485 MB / 0.5438 GB, free: 4.309 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches