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.001907/0.001907, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.756/1.756, allocations: 221.5 MB / 230.3 MB, free: 7.496 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.001191/0.001191, allocations: 93.72 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.323e-05/2.334e-05, allocations: 0 / 337.1 MB, free: 9.938 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1432, allocations: 50.43 MB / 387.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4557/0.5989, allocations: 77.49 MB / 465 MB, free: 1.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5993, allocations: 67.95 kB / 465.1 MB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007615/0.6069, allocations: 2.654 MB / 467.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6069, allocations: 0 / 467.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.302e-05/0.607, allocations: 4 kB / 467.8 MB, free: 14.59 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.0005268/0.6075, allocations: 414.8 kB / 468.2 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.6076, allocations: 15.41 kB / 468.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.6076, allocations: 15.81 kB / 468.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.6079, allocations: 191.1 kB / 468.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.6079, allocations: 8 kB / 468.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.864e-05/0.6079, allocations: 15.94 kB / 468.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001852/0.6081, allocations: 74.61 kB / 468.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002265/0.6084, allocations: 114 kB / 468.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.6084, allocations: 11.88 kB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.6084, allocations: 3.953 kB / 468.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.6084, allocations: 4 kB / 468.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008197/0.6092, allocations: 0.4903 MB / 469.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.6094, allocations: 66.56 kB / 469.2 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.6095, allocations: 28.81 kB / 469.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.6095, allocations: 0 / 469.2 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/0.6095, allocations: 34.56 kB / 469.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.6095, allocations: 0 / 469.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009161/0.6104, allocations: 0.5243 MB / 469.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.6105, allocations: 51.41 kB / 469.8 MB, free: 12.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.6106, allocations: 119 kB / 469.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.915e-05/0.6106, allocations: 25.7 kB / 470 MB, free: 12.14 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.141e-05/0.6107, allocations: 135.9 kB / 470.1 MB, free: 12 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.341e-05/0.6108, allocations: 39.45 kB / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.881e-06/0.6108, allocations: 0 / 470.1 MB, free: 11.96 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6109, allocations: 322.8 kB / 470.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.331e-05/0.611, allocations: 24 kB / 470.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.761e-05/0.6111, allocations: 70.88 kB / 470.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.742e-05/0.6112, allocations: 44.62 kB / 470.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.6112, allocations: 0 / 470.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001962/0.6114, allocations: 129.4 kB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.6114, allocations: 5.094 kB / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6114, allocations: 0 / 470.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.6114, allocations: 4 kB / 470.7 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001701/0.6116, allocations: 43.92 kB / 470.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.6116, allocations: 192 / 470.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.002e-05/0.6117, allocations: 11.98 kB / 470.8 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.6117, allocations: 8 kB / 470.8 MB, free: 11.27 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 8.158e-05/0.6118, allocations: 108.9 kB / 470.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001399/0.612, allocations: 87.28 kB / 471 MB, free: 11.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.055e-05/0.612, allocations: 11.91 kB / 471 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.498e-05/0.6121, allocations: 12.62 kB / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.6121, allocations: 0 / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.6121, allocations: 3.984 kB / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.6121, allocations: 4 kB / 471 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004748/0.6126, allocations: 396.5 kB / 471.4 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.6126, allocations: 3.984 kB / 471.4 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.6127, allocations: 31.92 kB / 471.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.409e-06/0.6128, allocations: 4 kB / 471.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.6128, allocations: 4.062 kB / 471.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.6128, allocations: 0 / 471.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6128, allocations: 4 kB / 471.4 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.6131, allocations: 244.5 kB / 471.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.252e-05/0.6131, allocations: 89.11 kB / 471.8 MB, free: 10.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.6132, allocations: 11.94 kB / 471.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.255e-05/0.6133, allocations: 4 kB / 471.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.6133, allocations: 11.92 kB / 471.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.6133, allocations: 0 / 471.8 MB, free: 10.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.091e-05/0.6134, allocations: 98.28 kB / 471.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6134, allocations: 0 / 471.9 MB, free: 10.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002688/0.6137, allocations: 27.94 kB / 471.9 MB, free: 10.02 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.0006566/0.6143, allocations: 0.9212 MB / 472.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.6145, allocations: 72.44 kB / 472.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6145, allocations: 0 / 472.9 MB, free: 8.992 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.346e-05/0.6146, allocations: 31.94 kB / 472.9 MB, free: 8.961 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.6148, allocations: 15.97 kB / 472.9 MB, free: 8.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007872/0.6156, allocations: 337.7 kB / 473.3 MB, free: 8.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.616, allocations: 0.7158 MB / 474 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.244e-05/0.6161, allocations: 16.88 kB / 474 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.192e-05/0.6162, allocations: 43.36 kB / 474.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of SimCode: time 3.606e-06/0.6162, allocations: 0 / 474.1 MB, free: 7.766 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02057/0.6368, allocations: 1.754 MB / 475.8 MB, free: 6.023 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.637, allocations: 147.8 kB / 476 MB, free: 5.824 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.578/2.215, allocations: 0 / 476 MB, free: 5.824 MB / 346.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