Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.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.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",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.001013/0.001013, allocations: 98.7 kB / 15.69 MB, free: 488 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.001045/0.001045, allocations: 177.7 kB / 16.57 MB, free: 6.375 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.447/1.447, 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.3233/0.3233, allocations: 43.55 MB / 314.5 MB, free: 8.762 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.0004853/0.0004853, allocations: 16 kB / 384 MB, free: 7.945 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1055, allocations: 58.85 MB / 442.8 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00153/0.1071, allocations: 1.366 MB / 444.2 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.1079, allocations: 0.6014 MB / 444.8 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.269e-05/0.108, allocations: 4 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.108, allocations: 11.86 kB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.1081, allocations: 15.97 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003196/0.1084, allocations: 119.7 kB / 444.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.1086, allocations: 87.83 kB / 445 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.989e-05/0.1087, allocations: 41.06 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.187e-05/0.1088, allocations: 59.7 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.1089, allocations: 55.75 kB / 445.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.973e-05/0.1089, allocations: 4 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.746e-05/0.109, allocations: 8 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.109, allocations: 23.91 kB / 445.2 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.15e-05/0.109, allocations: 41.64 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.516e-05/0.1091, allocations: 92.03 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.1091, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.1091, allocations: 4 kB / 445.4 MB, free: 10.44 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.1092, allocations: 0 / 445.4 MB, free: 10.44 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005497/0.1097, allocations: 450.8 kB / 445.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.1098, allocations: 8.031 kB / 445.8 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.905e-05/0.1098, allocations: 42.56 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1099, allocations: 19.77 kB / 445.9 MB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.1101, allocations: 214.8 kB / 446.1 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.119e-05/0.1101, allocations: 8 kB / 446.1 MB, free: 9.617 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.077e-05/0.1101, allocations: 4 kB / 446.1 MB, free: 9.613 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.1105, allocations: 204 kB / 446.3 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.1105, allocations: 4 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.781e-05/0.1106, allocations: 4 kB / 446.3 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.1106, allocations: 3.953 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.111, allocations: 151.9 kB / 446.4 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007969/0.1118, allocations: 484.3 kB / 446.9 MB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.1124, allocations: 238.5 kB / 447.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.114e-05/0.1125, allocations: 0 / 447.2 MB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.1125, allocations: 46.5 kB / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.1125, allocations: 0 / 447.2 MB, free: 8.418 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001516/0.114, allocations: 0.6541 MB / 447.9 MB, free: 7.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.594e-05/0.1141, allocations: 106.8 kB / 448 MB, free: 7.582 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1143, allocations: 175 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.1143, allocations: 29.7 kB / 448.2 MB, free: 7.367 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.1144, allocations: 112 kB / 448.3 MB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.1144, allocations: 27.56 kB / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1144, allocations: 0 / 448.3 MB, free: 7.227 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1145, allocations: 326.8 kB / 448.6 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.1148, allocations: 87.88 kB / 448.7 MB, free: 6.812 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002358/0.115, allocations: 114.5 kB / 448.8 MB, free: 6.691 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.1152, allocations: 79.97 kB / 448.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1152, allocations: 0 / 448.9 MB, free: 6.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004905/0.1157, allocations: 221.4 kB / 449.1 MB, free: 6.391 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/0.1158, allocations: 97 kB / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.1158, allocations: 0 / 449.2 MB, free: 6.289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.1158, allocations: 4 kB / 449.2 MB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.116, allocations: 39.97 kB / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.361e-06/0.116, allocations: 0 / 449.2 MB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/0.1162, allocations: 35.97 kB / 449.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.1162, allocations: 7.984 kB / 449.3 MB, free: 6.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.524e-06/0.1162, allocations: 7.953 kB / 449.3 MB, free: 6.195 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002129/0.1164, allocations: 100.2 kB / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.1164, allocations: 0 / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-06/0.1164, allocations: 0 / 449.4 MB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.242e-05/0.1165, allocations: 31.91 kB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.1165, allocations: 0 / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.827e-05/0.1166, allocations: 19.98 kB / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-06/0.1166, allocations: 0 / 449.4 MB, free: 6.047 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001137/0.1168, allocations: 201.1 kB / 449.6 MB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.892e-05/0.1168, allocations: 23.77 kB / 449.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.305e-05/0.1169, allocations: 17.39 kB / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1169, allocations: 0 / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1169, allocations: 0 / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1169, allocations: 0 / 449.7 MB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008518/0.1177, allocations: 0.5499 MB / 450.2 MB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.1178, allocations: 4.031 kB / 450.2 MB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001705/0.1179, allocations: 43.97 kB / 450.3 MB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1179, allocations: 7.875 kB / 450.3 MB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.118, allocations: 4 kB / 450.3 MB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.118, allocations: 8 kB / 450.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.118, allocations: 0 / 450.3 MB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007705/0.1188, allocations: 429.6 kB / 450.7 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.627e-05/0.1188, allocations: 89.11 kB / 450.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.1188, allocations: 8 kB / 450.8 MB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1191, allocations: 51.95 kB / 450.9 MB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.1192, allocations: 7.984 kB / 450.9 MB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.256e-05/0.1192, allocations: 7.984 kB / 450.9 MB, free: 4.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.401e-05/0.1193, allocations: 123.2 kB / 451 MB, free: 4.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1193, allocations: 0 / 451 MB, free: 4.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002962/0.1196, allocations: 36 kB / 451 MB, free: 4.344 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.001047/0.1206, allocations: 1.026 MB / 452.1 MB, free: 3.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006108/0.1212, allocations: 243.8 kB / 452.3 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.1212, allocations: 0 / 452.3 MB, free: 3.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.1215, allocations: 96 kB / 452.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1218, allocations: 32.75 kB / 452.4 MB, free: 2.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.1235, allocations: 1.006 MB / 453.4 MB, free: 1.867 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.1238, allocations: 0.7205 MB / 454.1 MB, free: 1.121 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.359e-05/0.1239, allocations: 32.39 kB / 454.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.27e-05/0.1239, allocations: 39.42 kB / 454.2 MB, free: 1.051 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1239, allocations: 0 / 454.2 MB, free: 1.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2155/0.3395, allocations: 3.367 MB / 457.6 MB, free: 45.64 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001187/0.3396, allocations: 163.6 kB / 457.7 MB, free: 45.4 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.493, allocations: 3.906 kB / 457.7 MB, free: 45.4 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat