Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008749/0.000875, allocations: 96.78 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001788/0.001788, allocations: 174.2 kB / 16.58 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.4 MB / 222.7 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3443/0.3443, allocations: 43.55 MB / 314.6 MB, free: 8.742 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005297/0.0005299, allocations: 18.95 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1289, allocations: 58.85 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.004112/0.133, allocations: 2.996 MB / 445.9 MB, free: 9.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002676/0.1357, allocations: 1.377 MB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.1362, allocations: 27.81 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1364, allocations: 83.17 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000477/0.1369, allocations: 123 kB / 447.5 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.138, allocations: 475.2 kB / 447.9 MB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009237/0.139, allocations: 0.8079 MB / 448.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.1394, allocations: 236.4 kB / 449 MB, free: 6.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003835/0.1398, allocations: 278.6 kB / 449.2 MB, free: 6.559 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003284/0.1401, allocations: 278.3 kB / 449.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.035e-05/0.1402, allocations: 24 kB / 449.5 MB, free: 6.262 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.066e-05/0.1403, allocations: 28 kB / 449.6 MB, free: 6.234 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.1404, allocations: 107.4 kB / 449.7 MB, free: 6.129 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1405, allocations: 141.2 kB / 449.8 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005166/0.141, allocations: 0.5651 MB / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.141, allocations: 0 / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.141, allocations: 0 / 450.4 MB, free: 5.418 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.666e-06/0.141, allocations: 0 / 450.4 MB, free: 5.418 MB / 382.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.001921/0.143, allocations: 1.129 MB / 451.5 MB, free: 4.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.143, allocations: 12.03 kB / 451.5 MB, free: 4.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.1431, allocations: 90.52 kB / 451.6 MB, free: 4.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/0.1433, allocations: 94.83 kB / 451.7 MB, free: 4.031 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008023/0.1441, allocations: 0.542 MB / 452.2 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.1442, allocations: 45 kB / 452.3 MB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.1442, allocations: 51.91 kB / 452.3 MB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.1459, allocations: 0.7423 MB / 453.1 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1459, allocations: 3.938 kB / 453.1 MB, free: 2.559 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.146, allocations: 24 kB / 453.1 MB, free: 2.535 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/0.146, allocations: 15.98 kB / 453.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/0.1474, allocations: 0.6401 MB / 453.8 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2556/0.403, allocations: 2.345 MB / 456.1 MB, free: 45.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.4046, allocations: 0.819 MB / 456.9 MB, free: 45.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007114/0.4053, allocations: 376.1 kB / 457.3 MB, free: 45.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.722e-05/0.4054, allocations: 10.89 kB / 457.3 MB, free: 45.03 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.4055, allocations: 42.62 kB / 457.3 MB, free: 44.99 MB / 382.1 MB Notification: Performance of pre-optimization done (n=48): time 2.475e-06/0.4055, allocations: 0 / 457.3 MB, free: 44.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=50): time 0.004375/0.4098, allocations: 2.164 MB / 459.5 MB, free: 44.53 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.4099, allocations: 191.8 kB / 459.7 MB, free: 44.31 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005595/0.4105, allocations: 0.5767 MB / 460.3 MB, free: 44.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.687e-05/0.4105, allocations: 35.17 kB / 460.3 MB, free: 44.15 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002158/0.4108, allocations: 360.5 kB / 460.7 MB, free: 44.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4109, allocations: 177.3 kB / 460.8 MB, free: 43.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.4109, allocations: 13 kB / 460.8 MB, free: 43.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.411, allocations: 328.6 kB / 461.2 MB, free: 43.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007018/0.4117, allocations: 343.3 kB / 461.5 MB, free: 43.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007995/0.4125, allocations: 468 kB / 461.9 MB, free: 43.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000718/0.4132, allocations: 353.1 kB / 462.3 MB, free: 43.45 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.4133, allocations: 0 / 462.3 MB, free: 43.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001647/0.4149, allocations: 0.8939 MB / 463.2 MB, free: 43.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.793e-05/0.415, allocations: 153.7 kB / 463.3 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.415, allocations: 6.234 kB / 463.3 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.415, allocations: 5.75 kB / 463.3 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007639/0.4158, allocations: 222.7 kB / 463.6 MB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.4158, allocations: 6.125 kB / 463.6 MB, free: 43.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004758/0.4163, allocations: 111 kB / 463.7 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.094e-05/0.4164, allocations: 23.95 kB / 463.7 MB, free: 43.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.861e-06/0.4164, allocations: 3 kB / 463.7 MB, free: 43.16 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001188/0.4176, allocations: 0.6101 MB / 464.3 MB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.4176, allocations: 4.25 kB / 464.3 MB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.633e-06/0.4176, allocations: 3.984 kB / 464.3 MB, free: 43.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.4182, allocations: 179.4 kB / 464.5 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4182, allocations: 6.281 kB / 464.5 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.4186, allocations: 70.95 kB / 464.6 MB, free: 43.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.518e-05/0.4186, allocations: 19.36 kB / 464.6 MB, free: 43.11 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003698/0.419, allocations: 274.5 kB / 464.9 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.4191, allocations: 79.66 kB / 464.9 MB, free: 42.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002154/0.4194, allocations: 86.59 kB / 465 MB, free: 42.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.4194, allocations: 6.969 kB / 465 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.255e-05/0.4194, allocations: 3.031 kB / 465 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.4194, allocations: 3.188 kB / 465 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.4219, allocations: 1.547 MB / 466.6 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.422, allocations: 4.125 kB / 466.6 MB, free: 42.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005987/0.4226, allocations: 173.7 kB / 466.8 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.4226, allocations: 10.94 kB / 466.8 MB, free: 42.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.4226, allocations: 19.67 kB / 466.8 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.4226, allocations: 3.625 kB / 466.8 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4226, allocations: 0 / 466.8 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002384/0.425, allocations: 1.394 MB / 468.2 MB, free: 42.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002037/0.4252, allocations: 191.3 kB / 468.4 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.128e-05/0.4253, allocations: 10.72 kB / 468.4 MB, free: 42.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.4258, allocations: 119.8 kB / 468.5 MB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.4259, allocations: 46.66 kB / 468.5 MB, free: 42.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.173e-05/0.426, allocations: 13.62 kB / 468.6 MB, free: 42.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004398/0.4264, allocations: 402.9 kB / 469 MB, free: 41.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4264, allocations: 4 kB / 469 MB, free: 41.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007104/0.4271, allocations: 184.4 kB / 469.1 MB, free: 41.92 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00248/0.4296, allocations: 1.958 MB / 471.1 MB, free: 40.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.4318, allocations: 1.099 MB / 472.2 MB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.4318, allocations: 7.062 kB / 472.2 MB, free: 40.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007865/0.4326, allocations: 399.5 kB / 472.6 MB, free: 40.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.4337, allocations: 185 kB / 472.8 MB, free: 40.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008612/0.4423, allocations: 4.881 MB / 477.7 MB, free: 38.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.4427, allocations: 0.9267 MB / 478.6 MB, free: 37.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004954/0.4432, allocations: 97.95 kB / 478.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003498/0.4436, allocations: 276 kB / 478.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4436, allocations: 3.938 kB / 478.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03592/0.4795, allocations: 14.16 MB / 493.1 MB, free: 35.7 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/0.4797, allocations: 170.6 kB / 493.3 MB, free: 35.46 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.124/2.604, allocations: 0 / 493.3 MB, free: 35.46 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat