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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009918/0.0009963, allocations: 96.28 kB / 15.69 MB, free: 480 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.001055/0.001056, allocations: 176.9 kB / 16.57 MB, free: 6.852 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.581/1.581, allocations: 205.4 MB / 222.7 MB, free: 5.68 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.392/0.392, allocations: 43.55 MB / 314.5 MB, free: 8.848 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.0005404/0.0005403, allocations: 14.97 kB / 384 MB, free: 7.949 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004335/0.1422, allocations: 3.725 MB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002601/0.1448, allocations: 1.493 MB / 448.1 MB, free: 7.738 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003606/0.1452, allocations: 39.81 kB / 448.1 MB, free: 7.699 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001349/0.1454, allocations: 71.11 kB / 448.2 MB, free: 7.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000702/0.1461, allocations: 247.1 kB / 448.4 MB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000914/0.147, allocations: 483.2 kB / 448.9 MB, free: 6.914 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008122/0.1478, allocations: 0.6456 MB / 449.5 MB, free: 6.266 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.1482, allocations: 310.5 kB / 449.8 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.1485, allocations: 258.5 kB / 450.1 MB, free: 5.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.1488, allocations: 286.1 kB / 450.4 MB, free: 5.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.545e-05/0.1489, allocations: 20 kB / 450.4 MB, free: 5.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.986e-05/0.149, allocations: 24 kB / 450.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.1491, allocations: 115.3 kB / 450.5 MB, free: 5.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001454/0.1492, allocations: 173.1 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006133/0.1499, allocations: 0.7095 MB / 451.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1499, allocations: 0 / 451.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1499, allocations: 0 / 451.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1499, allocations: 0 / 451.4 MB, free: 4.371 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001773/0.1517, allocations: 1.171 MB / 452.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1517, allocations: 8.031 kB / 452.6 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001238/0.1518, allocations: 98.52 kB / 452.7 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.152, allocations: 118.5 kB / 452.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008616/0.1529, allocations: 0.6119 MB / 453.4 MB, free: 2.266 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.705e-05/0.1529, allocations: 49.3 kB / 453.4 MB, free: 2.219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.793e-05/0.153, allocations: 64 kB / 453.5 MB, free: 2.156 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1543, allocations: 0.7545 MB / 454.3 MB, free: 1.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.1543, allocations: 4 kB / 454.3 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.427e-05/0.1544, allocations: 24 kB / 454.3 MB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.1544, allocations: 16 kB / 454.3 MB, free: 1.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.1556, allocations: 0.5928 MB / 454.9 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2638/0.4195, allocations: 2.755 MB / 457.7 MB, free: 44.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.421, allocations: 0.7348 MB / 458.4 MB, free: 44.65 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.992e-05/0.4211, allocations: 9.188 kB / 458.4 MB, free: 44.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.4211, allocations: 51.23 kB / 458.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 3.397e-06/0.4211, allocations: 0 / 458.4 MB, free: 44.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.001813/0.4229, allocations: 0.8654 MB / 459.3 MB, free: 44.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.478e-05/0.423, allocations: 243.2 kB / 459.5 MB, free: 44.26 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007191/0.4238, allocations: 0.7102 MB / 460.3 MB, free: 44.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.358e-05/0.4238, allocations: 39.2 kB / 460.3 MB, free: 44.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.4241, allocations: 439.4 kB / 460.7 MB, free: 43.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000128/0.4243, allocations: 185.6 kB / 460.9 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.4243, allocations: 9.094 kB / 460.9 MB, free: 43.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.738e-05/0.4244, allocations: 325.9 kB / 461.2 MB, free: 43.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.4249, allocations: 246 kB / 461.5 MB, free: 43.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005296/0.4254, allocations: 389.2 kB / 461.9 MB, free: 43.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.4259, allocations: 274.7 kB / 462.1 MB, free: 43.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4259, allocations: 3.031 kB / 462.1 MB, free: 43.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002579/0.4285, allocations: 1.158 MB / 463.3 MB, free: 43.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.4288, allocations: 1.142 MB / 464.4 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.4289, allocations: 4.203 kB / 464.4 MB, free: 42.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.4301, allocations: 364.7 kB / 464.8 MB, free: 41.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000529/0.4306, allocations: 132.2 kB / 464.9 MB, free: 41.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.4385, allocations: 7.178 MB / 472.1 MB, free: 36.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007671/0.4393, allocations: 105.2 kB / 472.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.4394, allocations: 19.41 kB / 472.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.4394, allocations: 7.047 kB / 472.2 MB, free: 36.77 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00151/0.4409, allocations: 0.6727 MB / 472.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.4409, allocations: 3 kB / 472.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004646/0.4414, allocations: 143.9 kB / 473 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.4421, allocations: 187.2 kB / 473.2 MB, free: 36.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002806/0.4449, allocations: 3.307 MB / 476.5 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.4455, allocations: 72.86 kB / 476.6 MB, free: 33.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.4455, allocations: 22.91 kB / 476.6 MB, free: 33.62 MB / 382.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 (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.0004817/0.446, allocations: 284.4 kB / 476.9 MB, free: 33.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000202/0.4462, allocations: 97.17 kB / 477 MB, free: 33.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001774/0.4464, allocations: 100.8 kB / 477.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.876e-06/0.4464, allocations: 6.688 kB / 477.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/0.4464, allocations: 0 / 477.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.699e-06/0.4465, allocations: 6.297 kB / 477.1 MB, free: 33.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.4475, allocations: 0.7351 MB / 477.8 MB, free: 32.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4475, allocations: 3.938 kB / 477.8 MB, free: 32.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005433/0.4481, allocations: 126.1 kB / 478 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.4481, allocations: 6.094 kB / 478 MB, free: 32.84 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.55e-05/0.4481, allocations: 10.75 kB / 478 MB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4482, allocations: 3.062 kB / 478 MB, free: 32.83 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.4482, allocations: 4 kB / 478 MB, free: 32.82 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4499, allocations: 1.319 MB / 479.3 MB, free: 32.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002177/0.4501, allocations: 212.9 kB / 479.5 MB, free: 31.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.689e-05/0.4502, allocations: 11.06 kB / 479.5 MB, free: 31.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004732/0.4507, allocations: 56.42 kB / 479.6 MB, free: 31.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.126e-05/0.4508, allocations: 32.88 kB / 479.6 MB, free: 31.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.4508, allocations: 17.64 kB / 479.6 MB, free: 31.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005142/0.4514, allocations: 490.6 kB / 480.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4514, allocations: 0 / 480.1 MB, free: 31.65 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001011/0.4524, allocations: 278.5 kB / 480.4 MB, free: 31.58 MB / 382.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 (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.002162/0.4546, allocations: 2.088 MB / 482.5 MB, free: 30.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004455/0.459, allocations: 2.019 MB / 484.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.4591, allocations: 0 / 484.5 MB, free: 29.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006723/0.4597, allocations: 303.3 kB / 484.8 MB, free: 29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.4612, allocations: 201.8 kB / 485 MB, free: 28.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/0.47, allocations: 7.19 MB / 492.2 MB, free: 24.35 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/0.4706, allocations: 1.007 MB / 493.2 MB, free: 23.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004868/0.4711, allocations: 86.61 kB / 493.3 MB, free: 23.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003843/0.4715, allocations: 330.7 kB / 493.6 MB, free: 23.36 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.4715, allocations: 4 kB / 493.6 MB, free: 23.36 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09152/0.563, allocations: 18.68 MB / 0.5003 GB, free: 19.11 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002195/0.5633, allocations: 193.1 kB / 0.5005 GB, free: 18.87 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.489/3.052, allocations: 4 kB / 0.5005 GB, free: 18.86 MB / 382.1 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) Environment - environmentSimulation: 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