Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.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) 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(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors",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.001133/0.001133, allocations: 97.88 kB / 16.93 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 179.3 kB / 17.82 MB, free: 5.652 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.41/1.41, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.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.0004562/0.0004565, allocations: 15.98 kB / 280.8 MB, free: 3.645 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 47.58 MB / 328.4 MB, free: 4 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.Sensors): time 0.002288/0.1149, allocations: 1.582 MB / 330 MB, free: 2.402 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008304/0.1158, allocations: 0.5155 MB / 330.5 MB, free: 1.879 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.051e-05/0.1159, allocations: 4 kB / 330.5 MB, free: 1.875 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 4.11e-05/0.1159, allocations: 15.84 kB / 330.5 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1161, allocations: 35.92 kB / 330.6 MB, free: 1.824 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1163, allocations: 31.95 kB / 330.6 MB, free: 1.793 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001799/0.1164, allocations: 99.81 kB / 330.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001845/0.1166, allocations: 54.14 kB / 330.8 MB, free: 1.641 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1167, allocations: 55.77 kB / 330.8 MB, free: 1.586 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.1169, allocations: 51.78 kB / 330.9 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1169, allocations: 4 kB / 330.9 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.302e-05/0.1169, allocations: 8 kB / 330.9 MB, free: 1.523 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.386e-05/0.117, allocations: 31.91 kB / 330.9 MB, free: 1.492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.337e-05/0.117, allocations: 53.58 kB / 331 MB, free: 1.434 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.1172, allocations: 123.9 kB / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1172, allocations: 0 / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1172, allocations: 0 / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.1172, allocations: 0 / 331.1 MB, free: 1.312 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005459/0.1178, allocations: 410.9 kB / 331.5 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1178, allocations: 12.02 kB / 331.5 MB, free: 0.8516 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.233e-05/0.1179, allocations: 54.5 kB / 331.5 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1179, allocations: 23.8 kB / 331.6 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1181, allocations: 194.8 kB / 331.8 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1182, allocations: 12 kB / 331.8 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.349e-05/0.1182, allocations: 15.98 kB / 331.8 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.1185, allocations: 145.1 kB / 331.9 MB, free: 368 kB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.1185, allocations: 4 kB / 331.9 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.1185, allocations: 8 kB / 331.9 MB, free: 356 kB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.1185, allocations: 4 kB / 331.9 MB, free: 352 kB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001943/0.1187, allocations: 103.8 kB / 332 MB, free: 248 kB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007791/0.1195, allocations: 0.5289 MB / 332.6 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1197, allocations: 82.53 kB / 332.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.1197, allocations: 0 / 332.7 MB, free: 15.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.1197, allocations: 30.56 kB / 332.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of pre-optimization done (n=9): time 8.42e-07/0.1197, allocations: 4 kB / 332.7 MB, free: 15.52 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.00103/0.1208, allocations: 0.6178 MB / 333.3 MB, free: 14.81 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.1208, allocations: 51.41 kB / 333.4 MB, free: 14.75 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.121, allocations: 125.2 kB / 333.5 MB, free: 14.62 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.121, allocations: 29.7 kB / 333.5 MB, free: 14.59 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.1211, allocations: 139.8 kB / 333.6 MB, free: 14.45 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.131e-05/0.1211, allocations: 39.39 kB / 333.7 MB, free: 14.41 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.1212, allocations: 4 kB / 333.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.1213, allocations: 322.8 kB / 334 MB, free: 14.08 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.1214, allocations: 35.98 kB / 334 MB, free: 14.04 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001134/0.1215, allocations: 82.84 kB / 334.1 MB, free: 13.94 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.927e-05/0.1216, allocations: 52.95 kB / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.1217, allocations: 0 / 334.2 MB, free: 13.89 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002664/0.1219, allocations: 161.4 kB / 334.3 MB, free: 13.72 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.122, allocations: 12.03 kB / 334.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.122, allocations: 0 / 334.3 MB, free: 13.71 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.122, allocations: 8 kB / 334.3 MB, free: 13.7 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.1222, allocations: 35.92 kB / 334.4 MB, free: 13.67 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1222, allocations: 4 kB / 334.4 MB, free: 13.66 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.117e-05/0.1222, allocations: 11.98 kB / 334.4 MB, free: 13.65 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.334e-05/0.1223, allocations: 8 kB / 334.4 MB, free: 13.64 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 19 * 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.0001238/0.1224, allocations: 130.1 kB / 334.5 MB, free: 13.51 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.1224, allocations: 11.86 kB / 334.5 MB, free: 13.5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.901e-05/0.1225, allocations: 12.38 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1225, allocations: 0 / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.1225, allocations: 0 / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.1225, allocations: 3.984 kB / 334.6 MB, free: 13.48 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.123, allocations: 452 kB / 335 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1231, allocations: 0 / 335 MB, free: 12.98 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.1232, allocations: 23.98 kB / 335 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.1232, allocations: 0 / 335 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.1232, allocations: 11.98 kB / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.1232, allocations: 0 / 335 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1232, allocations: 7.875 kB / 335 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1236, allocations: 276.6 kB / 335.3 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.1237, allocations: 81.02 kB / 335.4 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.1237, allocations: 7.984 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1238, allocations: 8.062 kB / 335.4 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.1239, allocations: 11.98 kB / 335.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.1239, allocations: 3.953 kB / 335.4 MB, free: 12.5 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.387e-05/0.124, allocations: 95.27 kB / 335.5 MB, free: 12.41 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.124, allocations: 3.938 kB / 335.5 MB, free: 12.4 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002584/0.1242, allocations: 28 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mass.s,mass.v) * 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 (11): * Single equations (assignments): 11 * 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.0007171/0.1249, allocations: 0.9568 MB / 336.5 MB, free: 11.38 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.1252, allocations: 83.91 kB / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.1252, allocations: 0 / 336.6 MB, free: 11.29 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.984e-05/0.1253, allocations: 39.92 kB / 336.6 MB, free: 11.25 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.1255, allocations: 24.38 kB / 336.6 MB, free: 11.23 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.1276, allocations: 2.029 MB / 338.7 MB, free: 9.125 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.1279, allocations: 0.716 MB / 339.4 MB, free: 8.383 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.183e-05/0.128, allocations: 12.88 kB / 339.4 MB, free: 8.367 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.058e-05/0.1281, allocations: 43.42 kB / 339.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1281, allocations: 0 / 339.4 MB, free: 8.324 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01294/0.1411, allocations: 2.04 MB / 341.5 MB, free: 6.293 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/0.1413, allocations: 186 kB / 341.7 MB, free: 6.047 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/1.93, allocations: 0 / 341.7 MB, free: 6.047 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat