Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions",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.002591/0.002591, allocations: 181 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.129/2.129, allocations: 205.2 MB / 219.4 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.001127/0.001127, allocations: 82.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.083e-05/4.095e-05, allocations: 4 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 47.58 MB / 369.2 MB, free: 2.102 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5299, allocations: 75.96 MB / 445.1 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/0.5303, allocations: 70.58 kB / 445.2 MB, free: 1.172 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01978/0.5501, allocations: 4.55 MB / 449.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5501, allocations: 0 / 449.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.631e-05/0.5502, allocations: 11.98 kB / 449.8 MB, free: 13.35 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001022/0.5512, allocations: 0.4896 MB / 450.3 MB, free: 12.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/0.5513, allocations: 8.031 kB / 450.3 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.5514, allocations: 61.16 kB / 450.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.5515, allocations: 31.28 kB / 450.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003941/0.5519, allocations: 241.1 kB / 450.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.552, allocations: 15.81 kB / 450.6 MB, free: 12.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.858e-05/0.5521, allocations: 35.31 kB / 450.6 MB, free: 12.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006587/0.5527, allocations: 249.9 kB / 450.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.5528, allocations: 4.703 kB / 450.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.5528, allocations: 10.94 kB / 450.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.5528, allocations: 4 kB / 450.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005031/0.5534, allocations: 165.2 kB / 451.1 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.5552, allocations: 0.7654 MB / 451.8 MB, free: 11.45 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006827/0.556, allocations: 267.7 kB / 452.1 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.5563, allocations: 119.5 kB / 452.2 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.805e-05/0.5563, allocations: 10.19 kB / 452.2 MB, free: 11.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.57e-05/0.5564, allocations: 34.19 kB / 452.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=36): time 4.719e-06/0.5564, allocations: 3.938 kB / 452.3 MB, free: 11.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=48): time 0.004312/0.5607, allocations: 1.62 MB / 453.9 MB, free: 9.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.292e-05/0.5609, allocations: 81.11 kB / 454 MB, free: 9.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.5612, allocations: 165.6 kB / 454.1 MB, free: 9.309 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.743e-05/0.5612, allocations: 34.7 kB / 454.2 MB, free: 9.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.5614, allocations: 197.9 kB / 454.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.5616, allocations: 173.4 kB / 454.5 MB, free: 8.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.5616, allocations: 10.56 kB / 454.5 MB, free: 8.945 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5618, allocations: 325.1 kB / 454.8 MB, free: 8.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002755/0.5621, allocations: 106.7 kB / 454.9 MB, free: 8.559 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003408/0.5624, allocations: 151.6 kB / 455.1 MB, free: 8.438 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.5628, allocations: 128.3 kB / 455.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5628, allocations: 3.953 kB / 455.2 MB, free: 8.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008194/0.5636, allocations: 339.9 kB / 455.6 MB, free: 8.102 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/0.5636, allocations: 4 kB / 455.6 MB, free: 8.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5637, allocations: 4 kB / 455.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.5637, allocations: 0 / 455.6 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/0.5645, allocations: 111.5 kB / 455.7 MB, free: 7.988 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.5645, allocations: 3.938 kB / 455.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.5647, allocations: 11.38 kB / 455.7 MB, free: 7.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/0.5648, allocations: 15.88 kB / 455.7 MB, free: 7.969 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001506/0.565, allocations: 132.3 kB / 455.8 MB, free: 7.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.5651, allocations: 31.67 kB / 455.9 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.5652, allocations: 36.03 kB / 455.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5652, allocations: 4 kB / 455.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.5653, allocations: 0 / 455.9 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.5653, allocations: 7.984 kB / 455.9 MB, free: 7.789 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001987/0.5673, allocations: 0.9488 MB / 456.9 MB, free: 6.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5673, allocations: 4 kB / 456.9 MB, free: 6.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.5682, allocations: 95.89 kB / 457 MB, free: 6.852 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.672e-05/0.5682, allocations: 7.953 kB / 457 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.657e-05/0.5683, allocations: 8 kB / 457 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.066e-05/0.5683, allocations: 7.969 kB / 457 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5683, allocations: 4 kB / 457 MB, free: 6.824 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.5695, allocations: 0.6607 MB / 457.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001168/0.5697, allocations: 100.8 kB / 457.7 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.5698, allocations: 12 kB / 457.8 MB, free: 5.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.57, allocations: 8 kB / 457.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.559e-05/0.5701, allocations: 27.97 kB / 457.8 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.309e-05/0.5702, allocations: 12 kB / 457.8 MB, free: 5.945 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.5703, allocations: 132.3 kB / 457.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5703, allocations: 0 / 457.9 MB, free: 5.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005405/0.5709, allocations: 83.95 kB / 458 MB, free: 5.734 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (sd2.s_rel,sd2.v_rel,m4.s,m4.v,m1.s,m1.v,sd1.s_rel,sd1.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 48 * 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.001655/0.5726, allocations: 1.419 MB / 459.4 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007928/0.5734, allocations: 287.2 kB / 459.7 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.5734, allocations: 3.938 kB / 459.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.5738, allocations: 151.6 kB / 459.9 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007518/0.5746, allocations: 56.64 kB / 459.9 MB, free: 3.785 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.5773, allocations: 1.002 MB / 460.9 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.5777, allocations: 0.7806 MB / 461.7 MB, free: 1.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002563/0.578, allocations: 99.41 kB / 461.8 MB, free: 1.82 MB / 330.7 MB Notification: Performance of SimCode: time 1.253e-06/0.578, allocations: 3.938 kB / 461.8 MB, free: 1.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.546/3.124, allocations: 4.876 MB / 466.7 MB, free: 12.94 MB / 346.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_cpp_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat