Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") translateModel(ModelicaTest.Blocks.LimPID,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.I.y|PID2.I.y|PID3.I.y|PID4.I.y|firstOrder1.y|firstOrder2.y|firstOrder3.y|firstOrder4.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001322/0.001322, allocations: 113.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 183.9 kB / 18.71 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.238/0.238, allocations: 44.18 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 59.91 kB / 470.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4583/0.4598, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.005942/0.4658, allocations: 4.377 MB / 0.5232 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003066/0.4689, allocations: 1.548 MB / 0.5247 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004794/0.4694, allocations: 38.81 kB / 0.5247 GB, free: 15.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004088/0.4698, allocations: 155.8 kB / 0.5249 GB, free: 15.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004232/0.4703, allocations: 179.3 kB / 0.525 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.4716, allocations: 0.5856 MB / 0.5256 GB, free: 14.68 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.4727, allocations: 1.033 MB / 0.5266 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006832/0.4734, allocations: 438.6 kB / 0.527 GB, free: 13.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004428/0.4739, allocations: 365 kB / 0.5274 GB, free: 13.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004259/0.4743, allocations: 391.3 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.4745, allocations: 86 kB / 0.5278 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001148/0.4746, allocations: 86.53 kB / 0.5279 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.4748, allocations: 202.9 kB / 0.5281 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.4751, allocations: 438.4 kB / 0.5285 GB, free: 12.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009831/0.4761, allocations: 1.026 MB / 0.5295 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4761, allocations: 5 kB / 0.5295 GB, free: 12.15 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4761, allocations: 0 / 0.5295 GB, free: 12.15 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4761, allocations: 0 / 0.5295 GB, free: 12.15 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.002032/0.4782, allocations: 1.293 MB / 0.5308 GB, free: 11.13 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.4782, allocations: 9.062 kB / 0.5308 GB, free: 11.13 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.4784, allocations: 111.3 kB / 0.5309 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009621/0.4794, allocations: 0.6572 MB / 0.5316 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.4794, allocations: 46.97 kB / 0.5316 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4795, allocations: 74.66 kB / 0.5317 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.4809, allocations: 0.7299 MB / 0.5324 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.4809, allocations: 5.219 kB / 0.5324 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.22e-05/0.481, allocations: 30.47 kB / 0.5324 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.171e-05/0.481, allocations: 19.69 kB / 0.5324 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.4823, allocations: 0.5389 MB / 0.533 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.4858, allocations: 2.699 MB / 0.5356 GB, free: 7.418 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.4873, allocations: 0.6678 MB / 0.5362 GB, free: 7.035 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005984/0.4879, allocations: 284.9 kB / 0.5365 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.488, allocations: 6 kB / 0.5365 GB, free: 6.879 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/0.488, allocations: 54.45 kB / 0.5366 GB, free: 6.82 MB / 398.1 MB Notification: Performance of pre-optimization done (n=52): time 2.024e-06/0.488, allocations: 0 / 0.5366 GB, free: 6.82 MB / 398.1 MB Notification: Performance of matching and sorting (n=52): time 0.002078/0.4901, allocations: 0.7953 MB / 0.5374 GB, free: 6.43 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/0.4903, allocations: 242 kB / 0.5376 GB, free: 6.145 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009304/0.4912, allocations: 0.7084 MB / 0.5383 GB, free: 5.738 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.4913, allocations: 36.58 kB / 0.5383 GB, free: 5.699 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.4916, allocations: 427.7 kB / 0.5387 GB, free: 5.324 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001583/0.4918, allocations: 187.1 kB / 0.5389 GB, free: 5.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001891/0.492, allocations: 107.4 kB / 0.539 GB, free: 5.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4921, allocations: 327.4 kB / 0.5393 GB, free: 4.77 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000554/0.4927, allocations: 231.7 kB / 0.5395 GB, free: 4.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007077/0.4934, allocations: 364.8 kB / 0.5399 GB, free: 4.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.4946, allocations: 0.5549 MB / 0.5404 GB, free: 4.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.4947, allocations: 1.438 kB / 0.5404 GB, free: 4.043 MB / 398.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002936/0.4976, allocations: 1.039 MB / 0.5414 GB, free: 3.5 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.4976, allocations: 6.906 kB / 0.5414 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.4976, allocations: 2.594 kB / 0.5414 GB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.4989, allocations: 319.6 kB / 0.5418 GB, free: 3.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005592/0.4994, allocations: 123.8 kB / 0.5419 GB, free: 3.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009115/0.5086, allocations: 7.269 MB / 0.549 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006573/0.5092, allocations: 79.33 kB / 0.549 GB, free: 12.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.053e-05/0.5094, allocations: 20 kB / 0.5491 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007145/0.5101, allocations: 345.2 kB / 0.5494 GB, free: 11.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005163/0.5106, allocations: 324.1 kB / 0.5497 GB, free: 11.34 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008607/0.5115, allocations: 0.505 MB / 0.5502 GB, free: 10.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.745e-06/0.5115, allocations: 0 / 0.5502 GB, free: 10.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00167/0.5132, allocations: 0.7398 MB / 0.5509 GB, free: 10.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.5132, allocations: 8 kB / 0.5509 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.5132, allocations: 4 kB / 0.5509 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005174/0.5137, allocations: 141.7 kB / 0.5511 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00073/0.5145, allocations: 171.8 kB / 0.5512 GB, free: 9.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003947/0.5184, allocations: 3.422 MB / 0.5546 GB, free: 6.023 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.5191, allocations: 63.62 kB / 0.5546 GB, free: 5.961 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.5191, allocations: 20 kB / 0.5547 GB, free: 5.941 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002929/0.5194, allocations: 224 kB / 0.5549 GB, free: 5.715 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003177/0.5197, allocations: 86.88 kB / 0.5549 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002659/0.52, allocations: 103.2 kB / 0.555 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.6e-06/0.52, allocations: 4 kB / 0.5551 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/0.52, allocations: 0 / 0.5551 GB, free: 5.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.5201, allocations: 8 kB / 0.5551 GB, free: 5.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5213, allocations: 0.7388 MB / 0.5558 GB, free: 4.727 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.5213, allocations: 3.938 kB / 0.5558 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005687/0.5219, allocations: 104.1 kB / 0.5559 GB, free: 4.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.5219, allocations: 8 kB / 0.5559 GB, free: 4.613 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/0.522, allocations: 12 kB / 0.5559 GB, free: 4.602 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.522, allocations: 4 kB / 0.5559 GB, free: 4.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.522, allocations: 3.984 kB / 0.5559 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.524, allocations: 1.217 MB / 0.5571 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003462/0.5244, allocations: 215.8 kB / 0.5573 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5245, allocations: 12 kB / 0.5573 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.525, allocations: 43.95 kB / 0.5574 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.865e-05/0.5251, allocations: 35.89 kB / 0.5574 GB, free: 3.047 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.5252, allocations: 12 kB / 0.5574 GB, free: 3.035 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006446/0.5258, allocations: 487 kB / 0.5579 GB, free: 2.566 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5258, allocations: 3.938 kB / 0.5579 GB, free: 2.562 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001129/0.527, allocations: 279.1 kB / 0.5581 GB, free: 2.289 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * 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 (52): * Single equations (assignments): 52 * 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.0001774/0.5272, allocations: 119.1 kB / 0.5583 GB, free: 2.164 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00443/0.5316, allocations: 1.872 MB / 0.5601 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5316, allocations: 0 / 0.5601 GB, free: 224 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006356/0.5323, allocations: 283.7 kB / 0.5603 GB, free: 15.94 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.5337, allocations: 248.9 kB / 0.5606 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002949/0.5367, allocations: 1.489 MB / 0.562 GB, free: 14.18 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005894/0.5373, allocations: 0.9848 MB / 0.563 GB, free: 13.17 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.5377, allocations: 85.2 kB / 0.5631 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.5379, allocations: 51.42 kB / 0.5631 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 4.21e-07/0.5379, allocations: 0 / 0.5631 GB, free: 13.04 MB / 430.1 MB Notification: Performance of Templates: time 0.02289/0.5608, allocations: 12.31 MB / 0.5752 GB, free: 0.8086 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/LimPID/LimPID.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches