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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001179/0.001179, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.431/1.431, allocations: 205.2 MB / 219.8 MB, free: 14.21 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.0008177/0.0008176, allocations: 86.7 kB / 268 MB, free: 14.06 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.478e-05/2.481e-05, allocations: 0 / 322.5 MB, free: 17.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08381/0.08385, allocations: 47.57 MB / 370.1 MB, free: 1.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/0.3836, allocations: 77.17 MB / 447.3 MB, free: 72 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002002/0.3839, allocations: 70.45 kB / 447.4 MB, free: 36 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006765/0.3906, allocations: 2.588 MB / 449.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3907, allocations: 0 / 449.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.159e-05/0.3907, allocations: 4.188 kB / 450 MB, free: 13.83 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.0005298/0.3912, allocations: 410.6 kB / 450.4 MB, free: 13.39 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/0.3913, allocations: 16.02 kB / 450.4 MB, free: 13.38 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.887e-05/0.3914, allocations: 46 kB / 450.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.3914, allocations: 19.8 kB / 450.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.3916, allocations: 190.7 kB / 450.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.3917, allocations: 15.83 kB / 450.6 MB, free: 13.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.825e-05/0.3917, allocations: 14.88 kB / 450.6 MB, free: 13.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002589/0.392, allocations: 131.5 kB / 450.8 MB, free: 12.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.392, allocations: 11.89 kB / 450.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.639e-05/0.392, allocations: 7.234 kB / 450.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.392, allocations: 4 kB / 450.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3922, allocations: 85.3 kB / 450.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007998/0.393, allocations: 0.5312 MB / 451.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3932, allocations: 80.31 kB / 451.5 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.423e-05/0.3932, allocations: 23.05 kB / 451.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3932, allocations: 7.938 kB / 451.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.3933, allocations: 30.56 kB / 451.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.016e-06/0.3933, allocations: 0 / 451.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007945/0.3941, allocations: 0.5524 MB / 452.1 MB, free: 11.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.814e-05/0.3941, allocations: 51.41 kB / 452.2 MB, free: 11.6 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/0.3942, allocations: 121.2 kB / 452.3 MB, free: 11.48 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.3943, allocations: 28.64 kB / 452.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3943, allocations: 138 kB / 452.4 MB, free: 11.31 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.3944, allocations: 38.14 kB / 452.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.721e-06/0.3944, allocations: 3.125 kB / 452.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.3945, allocations: 326.2 kB / 452.8 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.681e-05/0.3946, allocations: 26.25 kB / 452.8 MB, free: 10.94 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.09e-05/0.3946, allocations: 73.92 kB / 452.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.954e-05/0.3947, allocations: 45.48 kB / 452.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3947, allocations: 0 / 452.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001963/0.3949, allocations: 146.8 kB / 453.1 MB, free: 10.7 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.3949, allocations: 8 kB / 453.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.395, allocations: 0 / 453.1 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.395, allocations: 8.141 kB / 453.1 MB, free: 10.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001554/0.3951, allocations: 39.92 kB / 453.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3952, allocations: 7.984 kB / 453.1 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.963e-05/0.3952, allocations: 11.75 kB / 453.2 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/0.3953, allocations: 8 kB / 453.2 MB, free: 10.62 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 6.488e-05/0.3953, allocations: 111.7 kB / 453.3 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.897e-05/0.3954, allocations: 7.906 kB / 453.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.762e-05/0.3954, allocations: 12.25 kB / 453.3 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3954, allocations: 4 kB / 453.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3954, allocations: 3.953 kB / 453.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.361e-06/0.3955, allocations: 3.984 kB / 453.3 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000455/0.3959, allocations: 444.7 kB / 453.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3959, allocations: 0 / 453.7 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.3961, allocations: 31 kB / 453.8 MB, free: 10.01 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3961, allocations: 8 kB / 453.8 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3961, allocations: 0 / 453.8 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3961, allocations: 0 / 453.8 MB, free: 10 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3961, allocations: 4 kB / 453.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3964, allocations: 262.7 kB / 454 MB, free: 9.738 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.521e-05/0.3964, allocations: 85.05 kB / 454.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.3964, allocations: 0 / 454.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/0.3965, allocations: 11.3 kB / 454.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.3966, allocations: 4 kB / 454.1 MB, free: 9.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-06/0.3966, allocations: 7.984 kB / 454.1 MB, free: 9.617 MB / 330.7 MB Notification: Performance of sorting global known variables: time 4.926e-05/0.3967, allocations: 99.42 kB / 454.2 MB, free: 9.527 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3967, allocations: 0 / 454.2 MB, free: 9.527 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002375/0.3969, allocations: 31.44 kB / 454.3 MB, free: 9.5 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.0005531/0.3975, allocations: 0.9323 MB / 455.2 MB, free: 8.562 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001626/0.3976, allocations: 81.05 kB / 455.3 MB, free: 8.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3976, allocations: 4 kB / 455.3 MB, free: 8.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.756e-05/0.3977, allocations: 35.06 kB / 455.3 MB, free: 8.473 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.3979, allocations: 14.75 kB / 455.3 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007762/0.3987, allocations: 346.3 kB / 455.7 MB, free: 8.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.399, allocations: 0.7199 MB / 456.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.3991, allocations: 12.88 kB / 456.4 MB, free: 7.336 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.553e-05/0.3992, allocations: 40.11 kB / 456.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of SimCode: time 6.31e-07/0.3992, allocations: 0 / 456.4 MB, free: 7.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.013/0.4122, allocations: 2.087 MB / 458.5 MB, free: 5.242 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.4124, allocations: 155.5 kB / 458.7 MB, free: 5.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/1.868, allocations: 0 / 458.7 MB, free: 5.016 MB / 330.7 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) 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