Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.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.Damper,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.Damper,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper",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.001626/0.001626, allocations: 182 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.238/2.238, 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.001146/0.001145, allocations: 90.64 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.787e-05/3.797e-05, allocations: 7.984 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 47.57 MB / 369.2 MB, free: 2.113 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.562, allocations: 76.08 MB / 445.3 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002491/0.5623, allocations: 60.69 kB / 445.3 MB, free: 1.043 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01872/0.5811, allocations: 4.166 MB / 449.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5811, allocations: 0 / 449.5 MB, free: 13.56 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.5812, allocations: 4 kB / 449.5 MB, free: 13.55 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009421/0.5821, allocations: 485.6 kB / 450 MB, free: 13.05 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.5822, allocations: 12.03 kB / 450 MB, free: 13.04 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.188e-05/0.5823, allocations: 56.92 kB / 450 MB, free: 12.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.979e-05/0.5824, allocations: 32.39 kB / 450.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003624/0.5828, allocations: 238.8 kB / 450.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.5828, allocations: 15.81 kB / 450.3 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.298e-05/0.5829, allocations: 23.25 kB / 450.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.5835, allocations: 239.5 kB / 450.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.5836, allocations: 0 / 450.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.5836, allocations: 10.94 kB / 450.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.5836, allocations: 10.19 kB / 450.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.5841, allocations: 158.7 kB / 450.7 MB, free: 12.36 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.5858, allocations: 0.8018 MB / 451.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.5866, allocations: 291.2 kB / 451.8 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003653/0.587, allocations: 126.8 kB / 452 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.587, allocations: 7.984 kB / 452 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.5871, allocations: 42.25 kB / 452 MB, free: 11.24 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 3.637e-06/0.5871, allocations: 0 / 452 MB, free: 11.24 MB / 330.7 MB Notification: Performance of matching and sorting (n=45): time 0.004069/0.5912, allocations: 1.864 MB / 453.9 MB, free: 9.332 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.5913, allocations: 114.7 kB / 454 MB, free: 9.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.5916, allocations: 166.2 kB / 454.1 MB, free: 9.043 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.301e-05/0.5917, allocations: 36.77 kB / 454.2 MB, free: 9.008 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.5918, allocations: 196.1 kB / 454.4 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001818/0.592, allocations: 164.8 kB / 454.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.592, allocations: 9.875 kB / 454.5 MB, free: 8.688 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.5922, allocations: 326.7 kB / 454.9 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002524/0.5925, allocations: 87.5 kB / 454.9 MB, free: 8.309 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.5928, allocations: 153.6 kB / 455.1 MB, free: 8.176 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.5931, allocations: 118.3 kB / 455.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5931, allocations: 0 / 455.2 MB, free: 8.102 MB / 330.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008015/0.594, allocations: 317.7 kB / 455.5 MB, free: 7.859 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.594, allocations: 4 kB / 455.5 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.594, allocations: 4 kB / 455.5 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.924e-05/0.5941, allocations: 8.094 kB / 455.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.5947, allocations: 95.77 kB / 455.6 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.231e-05/0.5948, allocations: 4 kB / 455.6 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.595, allocations: 11.88 kB / 455.6 MB, free: 7.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.804e-05/0.5951, allocations: 19.77 kB / 455.7 MB, free: 7.73 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 54 * 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.0001553/0.5952, allocations: 124.5 kB / 455.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.5954, allocations: 27.72 kB / 455.8 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001167/0.5955, allocations: 44.58 kB / 455.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.5955, allocations: 4 kB / 455.9 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.5955, allocations: 4 kB / 455.9 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.222e-05/0.5956, allocations: 0 / 455.9 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002187/0.5978, allocations: 1.054 MB / 456.9 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.5979, allocations: 4.281 kB / 456.9 MB, free: 6.586 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007579/0.5986, allocations: 95.7 kB / 457 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/0.5987, allocations: 4 kB / 457 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/0.5987, allocations: 15.66 kB / 457 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.979e-06/0.5987, allocations: 7.938 kB / 457 MB, free: 6.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.078e-06/0.5988, allocations: 7.984 kB / 457.1 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001366/0.6001, allocations: 0.8356 MB / 457.9 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.6003, allocations: 104.8 kB / 458 MB, free: 5.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.174e-05/0.6004, allocations: 11.69 kB / 458 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.6007, allocations: 7.688 kB / 458 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.219e-05/0.6008, allocations: 31.84 kB / 458 MB, free: 5.484 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.6009, allocations: 19.89 kB / 458.1 MB, free: 5.469 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001831/0.6011, allocations: 135.5 kB / 458.2 MB, free: 5.352 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6011, allocations: 4 kB / 458.2 MB, free: 5.348 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006173/0.6017, allocations: 76.75 kB / 458.3 MB, free: 5.281 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (springDamper3.s_rel,springDamper3.v_rel,damper1.s_rel,damper1.v_rel,damper2.s_rel,damper2.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * 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.002103/0.6038, allocations: 2.15 MB / 460.4 MB, free: 3.039 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007557/0.6046, allocations: 247.9 kB / 460.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.6047, allocations: 0 / 460.7 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003373/0.605, allocations: 139.7 kB / 460.8 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007912/0.6058, allocations: 56.92 kB / 460.9 MB, free: 2.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.6085, allocations: 0.8947 MB / 461.7 MB, free: 1.633 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.6091, allocations: 0.7802 MB / 462.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.6094, allocations: 91.41 kB / 462.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of SimCode: time 1.503e-06/0.6094, allocations: 192 / 462.6 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.447/3.056, allocations: 4.548 MB / 467.2 MB, free: 12.18 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_Damper.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.Damper_res.mat does not exist to compare? outputFormat=mat