Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001794/0.001793, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001141/0.00114, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.572e-05/3.585e-05, allocations: 0 / 321.6 MB, free: 17.76 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 47.58 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.5422, allocations: 77.17 MB / 446.4 MB, free: 0 / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.5425, allocations: 74.64 kB / 446.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01116/0.5537, allocations: 2.59 MB / 449 MB, free: 13.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5538, allocations: 0 / 449 MB, free: 13.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.584e-05/0.5538, allocations: 4 kB / 449 MB, free: 13.75 MB / 330.7 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.0006661/0.5545, allocations: 415.7 kB / 449.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.5545, allocations: 12.03 kB / 449.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.984e-05/0.5546, allocations: 47.3 kB / 449.5 MB, free: 13.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.688e-05/0.5547, allocations: 15.81 kB / 449.5 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002625/0.555, allocations: 196.9 kB / 449.7 MB, free: 13.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.555, allocations: 14.52 kB / 449.7 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.279e-05/0.5551, allocations: 15.25 kB / 449.7 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.5554, allocations: 131.7 kB / 449.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.5555, allocations: 3.906 kB / 449.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.5555, allocations: 6.312 kB / 449.9 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.5555, allocations: 4 kB / 449.9 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.5558, allocations: 81.73 kB / 449.9 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.5569, allocations: 0.5415 MB / 450.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002236/0.5572, allocations: 75.5 kB / 450.6 MB, free: 12.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.5573, allocations: 22.8 kB / 450.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.5573, allocations: 0 / 450.6 MB, free: 12.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.5574, allocations: 36.48 kB / 450.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 1.733e-06/0.5574, allocations: 0 / 450.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.001109/0.5585, allocations: 0.5523 MB / 451.2 MB, free: 11.58 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.5586, allocations: 59.34 kB / 451.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.5587, allocations: 120.4 kB / 451.3 MB, free: 11.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.5587, allocations: 25.7 kB / 451.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.5589, allocations: 204.2 kB / 451.6 MB, free: 11.17 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.516e-05/0.5589, allocations: 41.83 kB / 451.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.208e-05/0.559, allocations: 7.312 kB / 451.6 MB, free: 11.13 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.5591, allocations: 318 kB / 451.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.291e-05/0.5592, allocations: 24.62 kB / 452 MB, free: 10.8 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.5593, allocations: 80.09 kB / 452 MB, free: 10.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.5595, allocations: 42.17 kB / 452.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.5595, allocations: 0 / 452.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000326/0.5598, allocations: 141.5 kB / 452.2 MB, free: 10.56 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/0.5598, allocations: 8.188 kB / 452.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5599, allocations: 4 kB / 452.2 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.5599, allocations: 7.953 kB / 452.2 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003029/0.5602, allocations: 39.91 kB / 452.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.188e-05/0.5602, allocations: 4 kB / 452.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.5604, allocations: 7.312 kB / 452.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.5604, allocations: 4 kB / 452.3 MB, free: 10.49 MB / 330.7 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 () * 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 9.277e-05/0.5605, allocations: 111.4 kB / 452.4 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.5606, allocations: 15.84 kB / 452.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.108e-05/0.5606, allocations: 22.98 kB / 452.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5606, allocations: 4 kB / 452.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.086e-06/0.5607, allocations: 3.953 kB / 452.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.5607, allocations: 0 / 452.4 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007768/0.5615, allocations: 439.6 kB / 452.9 MB, free: 9.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.5615, allocations: 4.062 kB / 452.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002555/0.5617, allocations: 27.94 kB / 452.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.872e-06/0.5618, allocations: 0 / 452.9 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.5618, allocations: 7.25 kB / 452.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.5618, allocations: 0 / 452.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.5618, allocations: 0 / 452.9 MB, free: 9.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/0.5622, allocations: 265.6 kB / 453.2 MB, free: 9.598 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.5623, allocations: 89.03 kB / 453.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.685e-05/0.5623, allocations: 3.812 kB / 453.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.5625, allocations: 4 kB / 453.3 MB, free: 9.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.5625, allocations: 7.984 kB / 453.3 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.5626, allocations: 4 kB / 453.3 MB, free: 9.477 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.556e-05/0.5627, allocations: 104.3 kB / 453.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5627, allocations: 0 / 453.4 MB, free: 9.383 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003687/0.5631, allocations: 27.69 kB / 453.4 MB, free: 9.359 MB / 330.7 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 () * 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.0007752/0.5638, allocations: 0.9267 MB / 454.3 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.5641, allocations: 79.75 kB / 454.4 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.5641, allocations: 0 / 454.4 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.561e-05/0.5642, allocations: 38.86 kB / 454.4 MB, free: 8.336 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.5646, allocations: 12.28 kB / 454.5 MB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.5657, allocations: 387.8 kB / 454.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.5661, allocations: 0.716 MB / 455.5 MB, free: 7.18 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/0.5662, allocations: 44.8 kB / 455.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5662, allocations: 0 / 455.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.459/3.025, allocations: 2.047 MB / 457.6 MB, free: 5.141 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat