Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001527/0.001527, allocations: 183.5 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.499/1.499, allocations: 205.4 MB / 221.9 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008939/0.0008941, allocations: 82.89 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1856/0.1856, allocations: 43.56 MB / 362.1 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002929/0.0002929, allocations: 12 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1044, allocations: 58.85 MB / 490.3 MB, free: 8.59 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2948/0.3993, allocations: 89.16 MB / 0.5659 GB, free: 10.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001822/0.3995, allocations: 70.66 kB / 0.566 GB, free: 10.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03999/0.4395, allocations: 15.63 MB / 0.5812 GB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4396, allocations: 0 / 0.5812 GB, free: 13.44 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001166/0.4397, allocations: 31.92 kB / 0.5813 GB, free: 13.41 MB / 394.7 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.002691/0.4424, allocations: 1.197 MB / 0.5824 GB, free: 12.22 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.4425, allocations: 8.031 kB / 0.5824 GB, free: 12.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/0.4427, allocations: 103.4 kB / 0.5825 GB, free: 12.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003222/0.4431, allocations: 118.6 kB / 0.5827 GB, free: 12.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00141/0.4445, allocations: 0.6502 MB / 0.5833 GB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.705e-05/0.4445, allocations: 44.62 kB / 0.5833 GB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4447, allocations: 63.69 kB / 0.5834 GB, free: 11.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.4461, allocations: 0.756 MB / 0.5841 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4461, allocations: 3.938 kB / 0.5841 GB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.321e-05/0.4462, allocations: 29 kB / 0.5842 GB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.4462, allocations: 12 kB / 0.5842 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.4475, allocations: 0.5935 MB / 0.5848 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004006/0.4515, allocations: 2.784 MB / 0.5875 GB, free: 7.879 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001526/0.453, allocations: 0.7345 MB / 0.5882 GB, free: 7.297 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.38e-05/0.4531, allocations: 12.94 kB / 0.5882 GB, free: 7.285 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.382e-05/0.4532, allocations: 38.25 kB / 0.5882 GB, free: 7.242 MB / 394.7 MB Notification: Performance of pre-optimization done (n=52): time 3.947e-06/0.4532, allocations: 3.984 kB / 0.5882 GB, free: 7.238 MB / 394.7 MB Notification: Performance of matching and sorting (n=52): time 0.001853/0.455, allocations: 0.8715 MB / 0.5891 GB, free: 6.562 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000117/0.4552, allocations: 235.3 kB / 0.5893 GB, free: 6.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008193/0.456, allocations: 0.6164 MB / 0.5899 GB, free: 5.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.203e-05/0.4561, allocations: 38.2 kB / 0.59 GB, free: 5.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.4564, allocations: 439.6 kB / 0.5904 GB, free: 5.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.4565, allocations: 186.4 kB / 0.5906 GB, free: 5.348 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.962e-05/0.4566, allocations: 10.69 kB / 0.5906 GB, free: 5.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.4567, allocations: 335.8 kB / 0.5909 GB, free: 5.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.4572, allocations: 246.9 kB / 0.5911 GB, free: 4.848 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.4578, allocations: 381 kB / 0.5915 GB, free: 4.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005431/0.4584, allocations: 271.6 kB / 0.5917 GB, free: 4.336 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.4584, allocations: 0 / 0.5917 GB, free: 4.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002525/0.4609, allocations: 1.109 MB / 0.5928 GB, free: 3.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005269/0.4615, allocations: 1.148 MB / 0.5939 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.4615, allocations: 0 / 0.5939 GB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001329/0.4628, allocations: 364.1 kB / 0.5943 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005903/0.4634, allocations: 127.1 kB / 0.5944 GB, free: 1.781 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.4683, allocations: 3.855 MB / 0.5982 GB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006748/0.469, allocations: 94.52 kB / 0.5983 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-05/0.4691, allocations: 22.56 kB / 0.5983 GB, free: 13.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.4692, allocations: 4 kB / 0.5983 GB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/0.4707, allocations: 0.6642 MB / 0.5989 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4707, allocations: 4 kB / 0.5989 GB, free: 13.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005216/0.4712, allocations: 155.2 kB / 0.5991 GB, free: 13.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.472, allocations: 175.6 kB / 0.5993 GB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.4754, allocations: 3.303 MB / 0.6025 GB, free: 9.844 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006351/0.4761, allocations: 77.16 kB / 0.6026 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.598e-05/0.4761, allocations: 19.81 kB / 0.6026 GB, free: 9.762 MB / 410.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004939/0.4766, allocations: 295.6 kB / 0.6029 GB, free: 9.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000263/0.4769, allocations: 90.88 kB / 0.603 GB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002215/0.4771, allocations: 100.4 kB / 0.603 GB, free: 9.379 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.695e-06/0.4772, allocations: 12 kB / 0.6031 GB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.4772, allocations: 3.938 kB / 0.6031 GB, free: 9.363 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4772, allocations: 4 kB / 0.6031 GB, free: 9.359 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.4783, allocations: 0.7411 MB / 0.6038 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.4783, allocations: 0 / 0.6038 GB, free: 8.766 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.4789, allocations: 127.5 kB / 0.6039 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.4789, allocations: 0 / 0.6039 GB, free: 8.645 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.479, allocations: 11.25 kB / 0.6039 GB, free: 8.641 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.479, allocations: 7.938 kB / 0.6039 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.479, allocations: 0 / 0.6039 GB, free: 8.633 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.4808, allocations: 1.317 MB / 0.6052 GB, free: 7.543 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.4811, allocations: 216.2 kB / 0.6054 GB, free: 7.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.7e-05/0.4812, allocations: 14.81 kB / 0.6054 GB, free: 7.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.4818, allocations: 58.47 kB / 0.6055 GB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.783e-05/0.4819, allocations: 35.39 kB / 0.6055 GB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.4819, allocations: 15.25 kB / 0.6055 GB, free: 7.246 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005466/0.4824, allocations: 0.4896 MB / 0.606 GB, free: 6.879 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4824, allocations: 0 / 0.606 GB, free: 6.879 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009348/0.4834, allocations: 272.9 kB / 0.6063 GB, free: 6.637 MB / 410.7 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 (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.002268/0.4857, allocations: 2.086 MB / 0.6083 GB, free: 4.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003746/0.4894, allocations: 1.675 MB / 0.61 GB, free: 3.312 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4895, allocations: 4 kB / 0.61 GB, free: 3.309 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005736/0.49, allocations: 299.3 kB / 0.6102 GB, free: 3.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001272/0.4913, allocations: 206.3 kB / 0.6104 GB, free: 2.934 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.5016, allocations: 7.156 MB / 0.6174 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007141/0.5024, allocations: 1.004 MB / 0.6184 GB, free: 11.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005076/0.5029, allocations: 97.11 kB / 0.6185 GB, free: 11.17 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004133/0.5033, allocations: 330.6 kB / 0.6188 GB, free: 11.09 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5033, allocations: 0 / 0.6188 GB, free: 11.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03665/0.54, allocations: 18.11 MB / 0.6365 GB, free: 9.012 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/0.5402, allocations: 181.2 kB / 0.6367 GB, free: 8.777 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.406/2.946, allocations: 3.938 kB / 0.6367 GB, free: 8.773 MB / 442.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat