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.0007994/0.0007993, 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.000871/0.000871, allocations: 174.7 kB / 16.58 MB, free: 6.848 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.586/1.586, allocations: 205.4 MB / 222.8 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.3741/0.3741, allocations: 43.55 MB / 314.6 MB, free: 8.828 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.0004858/0.0004858, allocations: 12 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 58.86 MB / 442.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.001748/0.1151, allocations: 1.373 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000909/0.116, allocations: 0.5975 MB / 444.8 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.1161, allocations: 3.938 kB / 444.8 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1162, allocations: 7.922 kB / 444.9 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.457e-05/0.1163, allocations: 19.86 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003305/0.1166, allocations: 111.8 kB / 445 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.1168, allocations: 139.6 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1169, allocations: 29.08 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.117, allocations: 67.69 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.648e-05/0.1171, allocations: 51.77 kB / 445.3 MB, free: 10.56 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.1171, allocations: 8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.949e-05/0.1171, allocations: 8 kB / 445.3 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.1172, allocations: 27.89 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.274e-05/0.1172, allocations: 41.64 kB / 445.3 MB, free: 10.47 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.943e-05/0.1173, allocations: 88.03 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1173, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1173, allocations: 0 / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.627e-06/0.1174, allocations: 0 / 445.4 MB, free: 10.39 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.0005557/0.1179, allocations: 450.8 kB / 445.9 MB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.118, allocations: 8.031 kB / 445.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.585e-05/0.118, allocations: 50.55 kB / 445.9 MB, free: 9.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.779e-05/0.118, allocations: 19.77 kB / 446 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.1183, allocations: 218.8 kB / 446.2 MB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.1183, allocations: 4 kB / 446.2 MB, free: 9.555 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.192e-05/0.1183, allocations: 8 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003793/0.1187, allocations: 192.1 kB / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.1187, allocations: 0 / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.1188, allocations: 0 / 446.4 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.1188, allocations: 7.953 kB / 446.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.1191, allocations: 159.9 kB / 446.5 MB, free: 9.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007285/0.1199, allocations: 480.3 kB / 447 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005402/0.1204, allocations: 246.4 kB / 447.2 MB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.1206, allocations: 92.8 kB / 447.3 MB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.16e-05/0.1207, allocations: 3.938 kB / 447.3 MB, free: 8.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.1207, allocations: 42.56 kB / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.343e-06/0.1207, allocations: 0 / 447.4 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001323/0.1221, allocations: 0.6658 MB / 448 MB, free: 7.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1221, allocations: 106.8 kB / 448.1 MB, free: 7.414 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.1223, allocations: 167.1 kB / 448.3 MB, free: 7.242 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.1223, allocations: 29.7 kB / 448.3 MB, free: 7.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.1223, allocations: 108 kB / 448.4 MB, free: 7.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.1224, allocations: 35.55 kB / 448.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/0.1224, allocations: 4 kB / 448.5 MB, free: 7.059 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.802e-05/0.1225, allocations: 322.8 kB / 448.8 MB, free: 6.734 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.1227, allocations: 87.94 kB / 448.9 MB, free: 6.648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.1229, allocations: 114.5 kB / 449 MB, free: 6.527 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1231, allocations: 83.91 kB / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1231, allocations: 0 / 449.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004363/0.1236, allocations: 217.5 kB / 449.3 MB, free: 6.227 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.105e-05/0.1237, allocations: 97.31 kB / 449.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1237, allocations: 0 / 449.4 MB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1237, allocations: 7.938 kB / 449.4 MB, free: 6.117 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1239, allocations: 47.95 kB / 449.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1239, allocations: 0 / 449.4 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.124, allocations: 31.97 kB / 449.5 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.229e-05/0.124, allocations: 7.953 kB / 449.5 MB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.811e-06/0.124, allocations: 8 kB / 449.5 MB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000199/0.1243, allocations: 91.89 kB / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-06/0.1243, allocations: 0 / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-06/0.1243, allocations: 0 / 449.6 MB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.1244, allocations: 31.97 kB / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-06/0.1244, allocations: 0 / 449.6 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.062e-05/0.1244, allocations: 16 kB / 449.6 MB, free: 5.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.328e-06/0.1245, allocations: 0 / 449.6 MB, free: 5.887 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.0001216/0.1246, allocations: 205 kB / 449.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.821e-05/0.1246, allocations: 19.77 kB / 449.8 MB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.1247, allocations: 17.41 kB / 449.9 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.1247, allocations: 4 kB / 449.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1247, allocations: 0 / 449.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1247, allocations: 0 / 449.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.1255, allocations: 0.5499 MB / 450.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1255, allocations: 0 / 450.4 MB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.1257, allocations: 55.92 kB / 450.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1257, allocations: 0 / 450.5 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/0.1258, allocations: 4 kB / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1258, allocations: 0 / 450.5 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1258, allocations: 4 kB / 450.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007268/0.1265, allocations: 419.9 kB / 450.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.03e-05/0.1266, allocations: 85.05 kB / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.1266, allocations: 192 / 451 MB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1268, allocations: 56.02 kB / 451 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.1269, allocations: 11.92 kB / 451 MB, free: 4.367 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.1269, allocations: 15.94 kB / 451 MB, free: 4.352 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.936e-05/0.127, allocations: 127.2 kB / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.127, allocations: 0 / 451.2 MB, free: 4.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002991/0.1273, allocations: 36 kB / 451.2 MB, free: 4.191 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.0009694/0.1283, allocations: 0.9434 MB / 452.2 MB, free: 3.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000549/0.1288, allocations: 231.8 kB / 452.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1289, allocations: 0 / 452.4 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.1291, allocations: 103.9 kB / 452.5 MB, free: 2.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/0.1295, allocations: 27.98 kB / 452.5 MB, free: 2.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.1312, allocations: 1.01 MB / 453.5 MB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1315, allocations: 0.7126 MB / 454.2 MB, free: 1.066 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.1316, allocations: 29.25 kB / 454.3 MB, free: 1.039 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.1317, allocations: 43.42 kB / 454.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1317, allocations: 0 / 454.3 MB, free: 0.9961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2053/0.337, allocations: 3.398 MB / 457.7 MB, free: 45.73 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.3372, allocations: 178.3 kB / 457.9 MB, free: 45.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.054, allocations: 0 / 457.9 MB, free: 45.48 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