Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001637/0.001638, allocations: 118.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.001636/0.001636, allocations: 197.2 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.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.2385/0.2385, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4125, allocations: 62.45 MB / 0.531 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.003145/0.4157, allocations: 1.603 MB / 0.5326 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001108/0.4168, allocations: 0.5578 MB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.4169, allocations: 1.375 kB / 0.5331 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.4176, allocations: 453.3 kB / 0.5336 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005802/0.4182, allocations: 292.1 kB / 0.5338 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.4188, allocations: 175.8 kB / 0.534 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.4191, allocations: 163.6 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001363/0.4192, allocations: 18.62 kB / 0.5342 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001491/0.4194, allocations: 102.5 kB / 0.5343 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003241/0.4197, allocations: 214.7 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.4197, allocations: 2.156 kB / 0.5345 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.4199, allocations: 31.09 kB / 0.5345 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.42, allocations: 83.25 kB / 0.5346 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.958e-05/0.4201, allocations: 98.84 kB / 0.5347 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003832/0.4205, allocations: 254 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.4205, allocations: 3.938 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4205, allocations: 1.031 kB / 0.5349 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.4205, allocations: 0 / 0.5349 GB, free: 11.2 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0009187/0.4215, allocations: 0.6274 MB / 0.5355 GB, free: 10.61 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.4215, allocations: 16.52 kB / 0.5356 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.693e-05/0.4216, allocations: 47.34 kB / 0.5356 GB, free: 10.57 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.422, allocations: 293.9 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.153e-06/0.422, allocations: 2.375 kB / 0.5359 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.422, allocations: 5.344 kB / 0.5359 GB, free: 10.28 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.4222, allocations: 53.08 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.4222, allocations: 4.844 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4222, allocations: 4 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.4222, allocations: 1.312 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.185e-05/0.4223, allocations: 25.44 kB / 0.536 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005941/0.4229, allocations: 385 kB / 0.5363 GB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.4231, allocations: 33.28 kB / 0.5364 GB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.4231, allocations: 23.3 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.4232, allocations: 1.094 kB / 0.5364 GB, free: 9.809 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.4232, allocations: 35.92 kB / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4232, allocations: 0 / 0.5364 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003097/0.4235, allocations: 99.08 kB / 0.5365 GB, free: 9.699 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4236, allocations: 52.41 kB / 0.5366 GB, free: 9.637 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/0.4246, allocations: 0.8746 MB / 0.5374 GB, free: 9.211 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.4247, allocations: 29.7 kB / 0.5375 GB, free: 9.176 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4249, allocations: 218.5 kB / 0.5377 GB, free: 8.988 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.4249, allocations: 8.781 kB / 0.5377 GB, free: 8.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.4249, allocations: 11.72 kB / 0.5377 GB, free: 8.965 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4251, allocations: 367.9 kB / 0.538 GB, free: 8.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.4252, allocations: 10.31 kB / 0.538 GB, free: 8.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.731e-05/0.4252, allocations: 9.984 kB / 0.5381 GB, free: 8.605 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.716e-05/0.4253, allocations: 35.28 kB / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.4253, allocations: 0 / 0.5381 GB, free: 8.582 MB / 398.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001625/0.4255, allocations: 90.55 kB / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4255, allocations: 5.969 kB / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.4255, allocations: 0 / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.4256, allocations: 0 / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.35e-05/0.4256, allocations: 4.844 kB / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.4257, allocations: 0.9062 kB / 0.5382 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.4257, allocations: 13.33 kB / 0.5382 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.4258, allocations: 8.812 kB / 0.5382 GB, free: 8.5 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 (2): * Single equations (assignments): 2 * 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.0002507/0.426, allocations: 209.9 kB / 0.5384 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.022e-05/0.4261, allocations: 38.44 kB / 0.5384 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002815/0.4264, allocations: 113.5 kB / 0.5386 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.4264, allocations: 0 / 0.5386 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4264, allocations: 1.125 kB / 0.5386 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4264, allocations: 4.031 kB / 0.5386 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003897/0.4268, allocations: 287.4 kB / 0.5388 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4268, allocations: 1.344 kB / 0.5388 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.4269, allocations: 7.797 kB / 0.5388 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.4269, allocations: 1.531 kB / 0.5388 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.4269, allocations: 4 kB / 0.5388 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.4269, allocations: 0 / 0.5388 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4269, allocations: 1.312 kB / 0.5388 GB, free: 7.984 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002478/0.4272, allocations: 197.8 kB / 0.539 GB, free: 7.809 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/0.4273, allocations: 109 kB / 0.5391 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.939e-05/0.4273, allocations: 5.344 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.105e-05/0.4274, allocations: 1.312 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.4274, allocations: 1.219 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.4274, allocations: 1.438 kB / 0.5391 GB, free: 7.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.4282, allocations: 0.6536 MB / 0.5398 GB, free: 7.371 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4283, allocations: 0 / 0.5398 GB, free: 7.371 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.4285, allocations: 23.47 kB / 0.5398 GB, free: 7.363 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 (2): * Single equations (assignments): 2 * 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.000823/0.4293, allocations: 348.4 kB / 0.5401 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.4295, allocations: 31.08 kB / 0.5402 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4295, allocations: 1.031 kB / 0.5402 GB, free: 7.152 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.211e-05/0.4296, allocations: 16.23 kB / 0.5402 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.43, allocations: 37.66 kB / 0.5402 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.4313, allocations: 0.7673 MB / 0.541 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005346/0.4319, allocations: 0.8236 MB / 0.5418 GB, free: 5.965 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.648e-05/0.432, allocations: 18.36 kB / 0.5418 GB, free: 5.953 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.432, allocations: 15.77 kB / 0.5418 GB, free: 5.941 MB / 398.1 MB Notification: Performance of SimCode: time 8.22e-07/0.432, allocations: 0 / 0.5418 GB, free: 5.941 MB / 398.1 MB Notification: Performance of Templates: time 0.005401/0.4374, allocations: 1.267 MB / 0.543 GB, free: 5.305 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches