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.0007939/0.0007942, allocations: 88.19 kB / 15.7 MB, free: 460 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.00081/0.00081, allocations: 171 kB / 16.58 MB, free: 6.84 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.531/1.531, allocations: 205.4 MB / 222.7 MB, free: 5.652 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.3608/0.3608, allocations: 43.55 MB / 314.6 MB, free: 8.965 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.0004717/0.0004718, allocations: 14.97 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.LimPID): time 0.004072/0.1189, allocations: 3.716 MB / 446.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.1218, allocations: 1.524 MB / 448.1 MB, free: 7.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.1223, allocations: 35.81 kB / 448.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.1227, allocations: 118.8 kB / 448.3 MB, free: 7.773 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003169/0.123, allocations: 122.8 kB / 448.4 MB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.124, allocations: 439.3 kB / 448.8 MB, free: 7.223 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008526/0.1249, allocations: 0.9022 MB / 449.7 MB, free: 6.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004483/0.1253, allocations: 306.5 kB / 450 MB, free: 6 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002601/0.1256, allocations: 258.4 kB / 450.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.1259, allocations: 294 kB / 450.6 MB, free: 5.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.535e-05/0.126, allocations: 20 kB / 450.6 MB, free: 5.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.456e-05/0.126, allocations: 20 kB / 450.6 MB, free: 5.418 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001342/0.1262, allocations: 111.3 kB / 450.7 MB, free: 5.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1263, allocations: 173.1 kB / 450.9 MB, free: 5.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005804/0.1269, allocations: 0.7095 MB / 451.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1269, allocations: 0 / 451.6 MB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1269, allocations: 7.875 kB / 451.6 MB, free: 4.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.1269, allocations: 4 kB / 451.6 MB, free: 4.41 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.001664/0.1286, allocations: 1.168 MB / 452.8 MB, free: 3.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.1286, allocations: 8.031 kB / 452.8 MB, free: 3.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.1288, allocations: 106.5 kB / 452.9 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001458/0.1289, allocations: 126.5 kB / 453 MB, free: 2.945 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007948/0.1297, allocations: 0.6041 MB / 453.6 MB, free: 2.301 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.1298, allocations: 49.31 kB / 453.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-05/0.1299, allocations: 67.98 kB / 453.7 MB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.1311, allocations: 0.7546 MB / 454.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.1311, allocations: 0 / 454.5 MB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-05/0.1312, allocations: 28 kB / 454.5 MB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.1312, allocations: 20 kB / 454.5 MB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1323, allocations: 0.5967 MB / 455.1 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2244/0.3567, allocations: 2.734 MB / 457.8 MB, free: 44.63 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.3579, allocations: 0.7257 MB / 458.6 MB, free: 44.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/0.3584, allocations: 303.9 kB / 458.9 MB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.3585, allocations: 13.98 kB / 458.9 MB, free: 44.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3585, allocations: 46.41 kB / 458.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=52): time 2.736e-06/0.3585, allocations: 0 / 458.9 MB, free: 44.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.001569/0.3601, allocations: 0.8707 MB / 459.8 MB, free: 44.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.3602, allocations: 239.7 kB / 460 MB, free: 44.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000626/0.3608, allocations: 0.7068 MB / 460.7 MB, free: 43.97 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/0.3608, allocations: 35.95 kB / 460.8 MB, free: 43.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002595/0.3611, allocations: 439 kB / 461.2 MB, free: 43.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.784e-05/0.3612, allocations: 184.9 kB / 461.4 MB, free: 43.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.3612, allocations: 8.125 kB / 461.4 MB, free: 43.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.3613, allocations: 334 kB / 461.7 MB, free: 43.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/0.3617, allocations: 244 kB / 462 MB, free: 43.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004715/0.3622, allocations: 391.8 kB / 462.3 MB, free: 43.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.3627, allocations: 274.6 kB / 462.6 MB, free: 43.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.3627, allocations: 2.938 kB / 462.6 MB, free: 43.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002462/0.3652, allocations: 1.156 MB / 463.8 MB, free: 43.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.3653, allocations: 170.6 kB / 463.9 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.3653, allocations: 3.469 kB / 463.9 MB, free: 42.85 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.3664, allocations: 372 kB / 464.3 MB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.3669, allocations: 131.9 kB / 464.4 MB, free: 42.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006468/0.3734, allocations: 7.07 MB / 471.5 MB, free: 37.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004859/0.3739, allocations: 101.5 kB / 471.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.374, allocations: 19.5 kB / 471.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.186e-06/0.374, allocations: 3.031 kB / 471.6 MB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.3752, allocations: 0.6691 MB / 472.3 MB, free: 37.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3752, allocations: 11.27 kB / 472.3 MB, free: 37.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000428/0.3757, allocations: 148.5 kB / 472.4 MB, free: 37.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.3763, allocations: 180 kB / 472.6 MB, free: 37.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.3788, allocations: 3.255 MB / 475.9 MB, free: 34.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.3792, allocations: 78.62 kB / 475.9 MB, free: 34.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.199e-05/0.3792, allocations: 19.28 kB / 476 MB, free: 34.44 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.0003003/0.3795, allocations: 285.5 kB / 476.2 MB, free: 34.19 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/0.3797, allocations: 97.27 kB / 476.3 MB, free: 34.14 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001442/0.3798, allocations: 94.88 kB / 476.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3798, allocations: 10.5 kB / 476.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.3799, allocations: 3 kB / 476.4 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3799, allocations: 5.438 kB / 476.5 MB, free: 34.07 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00079/0.3807, allocations: 0.7395 MB / 477.2 MB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.3807, allocations: 3 kB / 477.2 MB, free: 33.67 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004882/0.3812, allocations: 123 kB / 477.3 MB, free: 33.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.32e-06/0.3812, allocations: 7.109 kB / 477.3 MB, free: 33.65 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.43e-05/0.3812, allocations: 14.31 kB / 477.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3812, allocations: 0 / 477.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3812, allocations: 7.25 kB / 477.3 MB, free: 33.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3827, allocations: 1.278 MB / 478.6 MB, free: 32.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001786/0.3829, allocations: 211.7 kB / 478.8 MB, free: 32.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.383, allocations: 18.58 kB / 478.8 MB, free: 32.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.3835, allocations: 54.02 kB / 478.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/0.3835, allocations: 35.75 kB / 478.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.3836, allocations: 13.69 kB / 478.9 MB, free: 32.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004306/0.384, allocations: 490 kB / 479.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.384, allocations: 0 / 479.4 MB, free: 32.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008923/0.3849, allocations: 284.4 kB / 479.7 MB, free: 32.45 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.001644/0.3866, allocations: 1.839 MB / 481.5 MB, free: 31.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00324/0.3898, allocations: 2.014 MB / 483.6 MB, free: 30.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3898, allocations: 0 / 483.6 MB, free: 30.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004685/0.3903, allocations: 310.3 kB / 483.9 MB, free: 30.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3915, allocations: 222.5 kB / 484.1 MB, free: 30.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007208/0.3987, allocations: 5.419 MB / 489.5 MB, free: 27.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004843/0.3992, allocations: 0.9896 MB / 490.5 MB, free: 26.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004169/0.3997, allocations: 90.84 kB / 490.6 MB, free: 26.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003675/0.4, allocations: 332.6 kB / 490.9 MB, free: 26.25 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4, allocations: 0 / 490.9 MB, free: 26.25 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.4446, allocations: 18.71 MB / 0.4977 GB, free: 22.23 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.4448, allocations: 197.5 kB / 0.4979 GB, free: 21.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/2.687, allocations: 4 kB / 0.4979 GB, free: 21.98 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