Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.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.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.InitialConditions,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions",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.001825/0.001824, allocations: 180.2 kB / 16.38 MB, free: 5.766 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.437/1.437, allocations: 223.2 MB / 240.3 MB, free: 10.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009369/0.0009366, allocations: 94.45 kB / 291.5 MB, free: 10.7 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002367/0.0002368, allocations: 8 kB / 351.2 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2395, allocations: 50.42 MB / 401.6 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09242/0.332, allocations: 77.24 MB / 478.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.3322, allocations: 67.97 kB / 478.9 MB, free: 3.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01247/0.3447, allocations: 4.698 MB / 483.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3448, allocations: 0 / 483.6 MB, free: 14.3 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.922e-05/0.3448, allocations: 12 kB / 483.6 MB, free: 14.29 MB / 362.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.0007513/0.3456, allocations: 0.5145 MB / 484.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.3456, allocations: 8.031 kB / 484.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.955e-05/0.3457, allocations: 66.53 kB / 484.2 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.822e-05/0.3458, allocations: 35.62 kB / 484.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002805/0.3461, allocations: 230.6 kB / 484.4 MB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.3461, allocations: 20.56 kB / 484.5 MB, free: 13.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.3462, allocations: 28 kB / 484.5 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003985/0.3466, allocations: 246.6 kB / 484.7 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.3466, allocations: 11.8 kB / 484.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.3466, allocations: 15.94 kB / 484.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/0.3466, allocations: 8 kB / 484.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002781/0.3469, allocations: 175.9 kB / 484.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.348, allocations: 0.7458 MB / 485.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.3484, allocations: 279.7 kB / 486 MB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.3484, allocations: 4 kB / 486 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3484, allocations: 34.75 kB / 486 MB, free: 11.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.996e-06/0.3484, allocations: 3.984 kB / 486 MB, free: 11.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.002685/0.3511, allocations: 1.721 MB / 487.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.3512, allocations: 81.11 kB / 487.8 MB, free: 9.707 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.3513, allocations: 157.6 kB / 488 MB, free: 9.547 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.3514, allocations: 33.7 kB / 488 MB, free: 9.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.277e-05/0.3515, allocations: 144.6 kB / 488.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.3516, allocations: 173.5 kB / 488.3 MB, free: 9.191 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.676e-05/0.3516, allocations: 8 kB / 488.3 MB, free: 9.184 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3517, allocations: 338.8 kB / 488.6 MB, free: 8.844 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001629/0.3519, allocations: 109 kB / 488.7 MB, free: 8.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.3521, allocations: 149.5 kB / 488.9 MB, free: 8.578 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.3523, allocations: 128 kB / 489 MB, free: 8.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3523, allocations: 0 / 489 MB, free: 8.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005068/0.3528, allocations: 358.3 kB / 489.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.3529, allocations: 4.062 kB / 489.4 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3529, allocations: 4 kB / 489.4 MB, free: 8.094 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3529, allocations: 7.953 kB / 489.4 MB, free: 8.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003867/0.3533, allocations: 103.8 kB / 489.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.3533, allocations: 4 kB / 489.5 MB, free: 7.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.3534, allocations: 12 kB / 489.5 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.3535, allocations: 20 kB / 489.5 MB, free: 7.949 MB / 362.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 () * Number of clocked 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.0001667/0.3537, allocations: 149.7 kB / 489.7 MB, free: 7.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.076e-05/0.3537, allocations: 27.72 kB / 489.7 MB, free: 7.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.872e-05/0.3538, allocations: 45.86 kB / 489.7 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3539, allocations: 4 kB / 489.7 MB, free: 7.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3539, allocations: 3.953 kB / 489.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.3539, allocations: 0 / 489.7 MB, free: 7.703 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001378/0.3553, allocations: 0.9515 MB / 490.7 MB, free: 6.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.3553, allocations: 3.938 kB / 490.7 MB, free: 6.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/0.3557, allocations: 95.89 kB / 490.8 MB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.726e-06/0.3557, allocations: 4 kB / 490.8 MB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.482e-05/0.3558, allocations: 8 kB / 490.8 MB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.3558, allocations: 4 kB / 490.8 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3558, allocations: 4.062 kB / 490.8 MB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007963/0.3566, allocations: 0.668 MB / 491.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.598e-05/0.3567, allocations: 108.8 kB / 491.6 MB, free: 5.734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3567, allocations: 12 kB / 491.6 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.3569, allocations: 8 kB / 491.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.357, allocations: 23.97 kB / 491.6 MB, free: 5.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.357, allocations: 12 kB / 491.6 MB, free: 5.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.3571, allocations: 137.5 kB / 491.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3571, allocations: 0 / 491.8 MB, free: 5.547 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003909/0.3575, allocations: 80 kB / 491.9 MB, free: 5.469 MB / 362.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 () * Number of clocked 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.001098/0.3586, allocations: 1.438 MB / 493.3 MB, free: 3.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004499/0.3591, allocations: 295.1 kB / 493.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.3591, allocations: 0 / 493.6 MB, free: 3.707 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.3593, allocations: 155.6 kB / 493.7 MB, free: 3.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004779/0.3598, allocations: 59.44 kB / 493.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/0.3628, allocations: 2.622 MB / 496.4 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3631, allocations: 0.7845 MB / 497.2 MB, free: 16 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.3633, allocations: 30.97 kB / 497.2 MB, free: 15.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3634, allocations: 91.41 kB / 497.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of SimCode: time 4.128e-06/0.3634, allocations: 4 kB / 497.3 MB, free: 15.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01854/0.382, allocations: 5.499 MB / 0.491 GB, free: 10.55 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.3822, allocations: 191.5 kB / 0.4912 GB, free: 10.3 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.297, allocations: 0 / 0.4912 GB, free: 10.3 MB / 378.7 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_Translational_Examples_InitialConditions.fmu > Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.Translational.Examples.InitialConditions_res.mat does not exist to compare? outputFormat=mat