Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.conf.json 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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Sensors,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001865, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 235.5 MB, free: 2.957 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009395/0.0009391, allocations: 89.39 kB / 286.5 MB, free: 256 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.102e-05/4.116e-05, allocations: 4 kB / 343.9 MB, free: 4.234 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 50.42 MB / 394.3 MB, free: 1.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.588, allocations: 78.16 MB / 472.5 MB, free: 9.332 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.5883, allocations: 67.95 kB / 472.6 MB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007897/0.5962, allocations: 2.665 MB / 475.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.5962, allocations: 0 / 475.2 MB, free: 6.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.839e-05/0.5963, allocations: 4 kB / 475.2 MB, free: 6.602 MB / 346.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.0006594/0.5969, allocations: 421.5 kB / 475.7 MB, free: 6.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.7e-05/0.597, allocations: 12.03 kB / 475.7 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.37e-05/0.5971, allocations: 46.73 kB / 475.7 MB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.245e-05/0.5972, allocations: 15.81 kB / 475.7 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.5975, allocations: 194.9 kB / 475.9 MB, free: 5.836 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.5975, allocations: 15.98 kB / 475.9 MB, free: 5.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.5976, allocations: 20 kB / 476 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.5979, allocations: 125.7 kB / 476.1 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.342e-05/0.5979, allocations: 7.906 kB / 476.1 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/0.598, allocations: 7.953 kB / 476.1 MB, free: 5.656 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.598, allocations: 7.984 kB / 476.1 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.5982, allocations: 83.73 kB / 476.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009719/0.5992, allocations: 0.5329 MB / 476.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.5993, allocations: 74.5 kB / 476.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.5994, allocations: 24.86 kB / 476.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.154e-05/0.5994, allocations: 8 kB / 476.8 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5995, allocations: 30.56 kB / 476.9 MB, free: 4.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.5995, allocations: 3.938 kB / 476.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009617/0.6004, allocations: 0.54 MB / 477.4 MB, free: 4.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.6005, allocations: 55.41 kB / 477.4 MB, free: 4.117 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6006, allocations: 122.9 kB / 477.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.6007, allocations: 25.7 kB / 477.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.6008, allocations: 135.9 kB / 477.7 MB, free: 3.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.6008, allocations: 43.44 kB / 477.8 MB, free: 3.777 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-06/0.6008, allocations: 3.938 kB / 477.8 MB, free: 3.773 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.601, allocations: 322.8 kB / 478.1 MB, free: 3.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.6011, allocations: 31.95 kB / 478.1 MB, free: 3.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.6012, allocations: 81.28 kB / 478.2 MB, free: 3.316 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.31e-05/0.6013, allocations: 35.98 kB / 478.2 MB, free: 3.281 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6013, allocations: 4 kB / 478.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002305/0.6015, allocations: 146.1 kB / 478.4 MB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6015, allocations: 9.406 kB / 478.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.6016, allocations: 96 / 478.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.6016, allocations: 7.938 kB / 478.4 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002147/0.6018, allocations: 31.98 kB / 478.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.529e-05/0.6018, allocations: 11.92 kB / 478.4 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.792e-05/0.6019, allocations: 16.19 kB / 478.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.624e-05/0.6019, allocations: 11.94 kB / 478.5 MB, free: 3.043 MB / 346.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.435e-05/0.602, allocations: 108.9 kB / 478.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.6021, allocations: 7.906 kB / 478.6 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.708e-05/0.6021, allocations: 20.66 kB / 478.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.6021, allocations: 0 / 478.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6021, allocations: 0 / 478.6 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.6022, allocations: 3.984 kB / 478.6 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005491/0.6027, allocations: 439.9 kB / 479 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6027, allocations: 0 / 479 MB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001379/0.6029, allocations: 27.92 kB / 479.1 MB, free: 2.383 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.6029, allocations: 4 kB / 479.1 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.6029, allocations: 4 kB / 479.1 MB, free: 2.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6029, allocations: 4 kB / 479.1 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6029, allocations: 8.016 kB / 479.1 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003191/0.6033, allocations: 254.1 kB / 479.3 MB, free: 2.082 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.54e-05/0.6033, allocations: 85.05 kB / 479.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.6034, allocations: 7.953 kB / 479.4 MB, free: 1.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.6034, allocations: 12.05 kB / 479.4 MB, free: 1.961 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.253e-05/0.6035, allocations: 4 kB / 479.4 MB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.05e-06/0.6035, allocations: 4 kB / 479.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.208e-05/0.6036, allocations: 97.66 kB / 479.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6036, allocations: 0 / 479.5 MB, free: 1.859 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002553/0.6038, allocations: 28 kB / 479.6 MB, free: 1.832 MB / 346.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.0006821/0.6045, allocations: 0.9291 MB / 480.5 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001738/0.6047, allocations: 88.2 kB / 480.6 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6047, allocations: 4.312 kB / 480.6 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.814e-05/0.6048, allocations: 39.88 kB / 480.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.605, allocations: 12.88 kB / 480.6 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.6058, allocations: 349.4 kB / 481 MB, free: 344 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003607/0.6062, allocations: 0.716 MB / 481.7 MB, free: 15.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.049e-05/0.6063, allocations: 12.88 kB / 481.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.876e-05/0.6064, allocations: 43.42 kB / 481.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.6064, allocations: 0 / 481.7 MB, free: 15.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.6205, allocations: 2.08 MB / 483.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000268/0.6208, allocations: 152.2 kB / 484 MB, free: 13.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.688/2.309, allocations: 64 / 484 MB, free: 13.34 MB / 362.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_Sensors.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.Sensors_res.mat does not exist to compare? outputFormat=mat