Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001236/0.001236, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, 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.2287/0.2287, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 79.88 kB / 480.8 MB, free: 4.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3168, allocations: 62.44 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004848/0.3217, allocations: 3.55 MB / 0.534 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003177/0.3248, allocations: 1.477 MB / 0.5354 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007597/0.3256, allocations: 23.38 kB / 0.5354 GB, free: 9.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004235/0.3261, allocations: 117.4 kB / 0.5356 GB, free: 9.285 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007038/0.3268, allocations: 162.9 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.3283, allocations: 0.6335 MB / 0.5363 GB, free: 8.645 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001081/0.3294, allocations: 0.9429 MB / 0.5373 GB, free: 8.055 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004667/0.3298, allocations: 302 kB / 0.5375 GB, free: 7.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005447/0.3304, allocations: 375.6 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.3308, allocations: 357.9 kB / 0.5382 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.3309, allocations: 72.59 kB / 0.5383 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.3311, allocations: 79.31 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001862/0.3313, allocations: 177.3 kB / 0.5386 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003418/0.3317, allocations: 365.5 kB / 0.5389 GB, free: 6.902 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3329, allocations: 0.8483 MB / 0.5397 GB, free: 6.238 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3329, allocations: 0 / 0.5397 GB, free: 6.238 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3329, allocations: 1.094 kB / 0.5397 GB, free: 6.238 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.374e-05/0.3329, allocations: 0 / 0.5397 GB, free: 6.238 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002308/0.3352, allocations: 1.232 MB / 0.5409 GB, free: 5.281 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.3353, allocations: 9.812 kB / 0.5409 GB, free: 5.281 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001118/0.3354, allocations: 87.92 kB / 0.541 GB, free: 5.203 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005572/0.336, allocations: 146 kB / 0.5412 GB, free: 5.133 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009993/0.337, allocations: 0.6081 MB / 0.5418 GB, free: 4.621 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.132e-05/0.337, allocations: 38.41 kB / 0.5418 GB, free: 4.605 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.3371, allocations: 54.73 kB / 0.5418 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001462/0.3386, allocations: 0.7294 MB / 0.5426 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.3386, allocations: 1.094 kB / 0.5426 GB, free: 4.086 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.782e-05/0.3387, allocations: 21.78 kB / 0.5426 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.3387, allocations: 12.03 kB / 0.5426 GB, free: 4.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.3403, allocations: 0.5579 MB / 0.5431 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003299/0.3436, allocations: 2.278 MB / 0.5454 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.3452, allocations: 0.7154 MB / 0.5461 GB, free: 1.512 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008609/0.3461, allocations: 333.6 kB / 0.5464 GB, free: 1.246 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.925e-05/0.3462, allocations: 8.453 kB / 0.5464 GB, free: 1.238 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.3462, allocations: 38.94 kB / 0.5464 GB, free: 1.191 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 1.923e-06/0.3462, allocations: 0 / 0.5464 GB, free: 1.191 MB / 398.1 MB Notification: Performance of matching and sorting (n=50): time 0.004483/0.3507, allocations: 1.952 MB / 0.5483 GB, free: 15.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002021/0.3509, allocations: 243.8 kB / 0.5486 GB, free: 14.9 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000625/0.3516, allocations: 0.5824 MB / 0.5491 GB, free: 14.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.3516, allocations: 33.7 kB / 0.5492 GB, free: 14.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003545/0.352, allocations: 365.2 kB / 0.5495 GB, free: 13.9 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3522, allocations: 182.4 kB / 0.5497 GB, free: 13.72 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001742/0.3523, allocations: 110.2 kB / 0.5498 GB, free: 13.61 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3524, allocations: 326 kB / 0.5501 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007763/0.3532, allocations: 298.9 kB / 0.5504 GB, free: 12.99 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009365/0.3542, allocations: 439.5 kB / 0.5508 GB, free: 12.51 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.3557, allocations: 0.6551 MB / 0.5514 GB, free: 11.82 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3557, allocations: 0 / 0.5514 GB, free: 11.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001827/0.3575, allocations: 0.7913 MB / 0.5522 GB, free: 11.02 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3576, allocations: 8 kB / 0.5522 GB, free: 11.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.3576, allocations: 4 kB / 0.5522 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.3576, allocations: 11.92 kB / 0.5522 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008632/0.3585, allocations: 195.8 kB / 0.5524 GB, free: 10.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3585, allocations: 8 kB / 0.5524 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005529/0.3591, allocations: 79.91 kB / 0.5525 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.3591, allocations: 20 kB / 0.5525 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007137/0.3598, allocations: 365.1 kB / 0.5529 GB, free: 10.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006271/0.3605, allocations: 365.3 kB / 0.5532 GB, free: 9.934 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001114/0.3616, allocations: 0.5358 MB / 0.5538 GB, free: 9.359 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.087e-06/0.3616, allocations: 4 kB / 0.5538 GB, free: 9.355 MB / 414.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001429/0.363, allocations: 0.6633 MB / 0.5544 GB, free: 8.684 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.3631, allocations: 8 kB / 0.5544 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3631, allocations: 288 / 0.5544 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.465e-06/0.3631, allocations: 12 kB / 0.5544 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006785/0.3638, allocations: 167.7 kB / 0.5546 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3638, allocations: 4 kB / 0.5546 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004806/0.3643, allocations: 63.94 kB / 0.5546 GB, free: 8.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.101e-05/0.3643, allocations: 23.98 kB / 0.5547 GB, free: 8.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001964/0.3645, allocations: 216.1 kB / 0.5549 GB, free: 8.191 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.3647, allocations: 79.48 kB / 0.555 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.3649, allocations: 87.64 kB / 0.555 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.789e-06/0.3649, allocations: 8 kB / 0.555 GB, free: 8.016 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.3649, allocations: 3.938 kB / 0.555 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.3649, allocations: 7.984 kB / 0.5551 GB, free: 8.004 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/0.3676, allocations: 1.457 MB / 0.5565 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.3677, allocations: 0 / 0.5565 GB, free: 6.484 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006936/0.3684, allocations: 151.9 kB / 0.5566 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3684, allocations: 0 / 0.5566 GB, free: 6.336 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.379e-05/0.3684, allocations: 19.98 kB / 0.5566 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3684, allocations: 0 / 0.5566 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.3684, allocations: 7.938 kB / 0.5566 GB, free: 6.309 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.371, allocations: 1.257 MB / 0.5579 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002357/0.3713, allocations: 192.5 kB / 0.5581 GB, free: 4.816 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.153e-05/0.3714, allocations: 12 kB / 0.5581 GB, free: 4.805 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005549/0.3719, allocations: 83.91 kB / 0.5582 GB, free: 4.723 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.3721, allocations: 43.88 kB / 0.5582 GB, free: 4.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.3721, allocations: 16 kB / 0.5582 GB, free: 4.664 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004776/0.3726, allocations: 403 kB / 0.5586 GB, free: 4.273 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3726, allocations: 0 / 0.5586 GB, free: 4.273 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006585/0.3733, allocations: 180 kB / 0.5588 GB, free: 4.098 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.002838/0.3761, allocations: 1.801 MB / 0.5605 GB, free: 2.266 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002363/0.3785, allocations: 0.9808 MB / 0.5615 GB, free: 1.285 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.3785, allocations: 4.562 kB / 0.5615 GB, free: 1.281 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008479/0.3794, allocations: 355.9 kB / 0.5618 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009969/0.3804, allocations: 214.6 kB / 0.562 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009866/0.3902, allocations: 6.146 MB / 0.568 GB, free: 10.43 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004914/0.3908, allocations: 0.9258 MB / 0.5689 GB, free: 9.477 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0003985/0.3912, allocations: 88.73 kB / 0.569 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.3916, allocations: 283.3 kB / 0.5693 GB, free: 9.109 MB / 430.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3916, allocations: 0 / 0.5693 GB, free: 9.109 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04469/0.4363, allocations: 15.48 MB / 0.5844 GB, free: 9.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.791/9.227, allocations: 3.938 kB / 0.5844 GB, free: 9.727 MB / 446.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches