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.001692/0.001692, allocations: 175.5 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.616/1.616, allocations: 221.3 MB / 235.5 MB, free: 2.941 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.0008564/0.0008564, allocations: 79.83 kB / 286.5 MB, free: 232 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.393e-05, allocations: 0 / 343.9 MB, free: 4.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1383, allocations: 50.41 MB / 394.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.5358, allocations: 77.18 MB / 471.5 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/0.5362, allocations: 59.97 kB / 471.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01344/0.5496, allocations: 4.703 MB / 476.3 MB, free: 5.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5497, allocations: 6.625 kB / 476.3 MB, free: 5.52 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.033e-05/0.5497, allocations: 4 kB / 476.3 MB, free: 5.516 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.000808/0.5506, allocations: 0.4992 MB / 476.8 MB, free: 4.973 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.097e-05/0.5506, allocations: 16.02 kB / 476.8 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.073e-05/0.5507, allocations: 58.55 kB / 476.9 MB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.986e-05/0.5508, allocations: 27.72 kB / 476.9 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.5512, allocations: 243.1 kB / 477.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.5512, allocations: 20.56 kB / 477.2 MB, free: 4.562 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.076e-05/0.5513, allocations: 27.94 kB / 477.2 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004929/0.5518, allocations: 242.6 kB / 477.4 MB, free: 4.285 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.336e-05/0.5518, allocations: 3.953 kB / 477.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.923e-05/0.5519, allocations: 12 kB / 477.4 MB, free: 4.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.276e-05/0.5519, allocations: 8 kB / 477.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003269/0.5522, allocations: 164 kB / 477.6 MB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001224/0.5534, allocations: 0.7652 MB / 478.4 MB, free: 3.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004346/0.5539, allocations: 261.1 kB / 478.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.5541, allocations: 129.6 kB / 478.7 MB, free: 2.875 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.7e-05/0.5541, allocations: 4 kB / 478.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.5542, allocations: 34.56 kB / 478.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=36): time 1.994e-06/0.5542, allocations: 0 / 478.8 MB, free: 2.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=48): time 0.002786/0.557, allocations: 1.628 MB / 480.4 MB, free: 1.031 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.449e-05/0.5571, allocations: 85.11 kB / 480.5 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.5573, allocations: 161.5 kB / 480.7 MB, free: 0.7617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/0.5573, allocations: 37.7 kB / 480.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.5575, allocations: 140.6 kB / 480.8 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.5576, allocations: 169.5 kB / 481 MB, free: 420 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.874e-05/0.5576, allocations: 12 kB / 481 MB, free: 408 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.5578, allocations: 334.8 kB / 481.3 MB, free: 64 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.558, allocations: 101.2 kB / 481.4 MB, free: 15.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.5582, allocations: 149.5 kB / 481.6 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002123/0.5584, allocations: 126.3 kB / 481.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.5585, allocations: 0 / 481.7 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005191/0.559, allocations: 358.3 kB / 482.1 MB, free: 15.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.559, allocations: 4.062 kB / 482.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.559, allocations: 8 kB / 482.1 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5591, allocations: 3.953 kB / 482.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000401/0.5595, allocations: 103.9 kB / 482.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5595, allocations: 0 / 482.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000105/0.5596, allocations: 8 kB / 482.2 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.5596, allocations: 16 kB / 482.2 MB, free: 15.19 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 () * 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.0001107/0.5597, allocations: 128.9 kB / 482.3 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.878e-05/0.5598, allocations: 27.72 kB / 482.3 MB, free: 15.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.5599, allocations: 41.64 kB / 482.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.5599, allocations: 7.953 kB / 482.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.56, allocations: 0 / 482.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.56, allocations: 3.984 kB / 482.4 MB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001315/0.5613, allocations: 0.9469 MB / 483.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5613, allocations: 0 / 483.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004155/0.5617, allocations: 99.83 kB / 483.4 MB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.5617, allocations: 4 kB / 483.4 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/0.5618, allocations: 12 kB / 483.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5618, allocations: 0 / 483.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5618, allocations: 8.062 kB / 483.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008232/0.5626, allocations: 0.6524 MB / 484.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.45e-05/0.5627, allocations: 112.7 kB / 484.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.5628, allocations: 8 kB / 484.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.5629, allocations: 12 kB / 484.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.563, allocations: 35.89 kB / 484.3 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.849e-05/0.563, allocations: 15.88 kB / 484.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001177/0.5632, allocations: 132.3 kB / 484.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5632, allocations: 0 / 484.4 MB, free: 12.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003471/0.5635, allocations: 76 kB / 484.5 MB, free: 12.75 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 () * 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.00132/0.5648, allocations: 1.424 MB / 485.9 MB, free: 11.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004819/0.5653, allocations: 286.8 kB / 486.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5653, allocations: 0 / 486.2 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.5656, allocations: 158.9 kB / 486.4 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004678/0.566, allocations: 52.48 kB / 486.4 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.5677, allocations: 0.9768 MB / 487.4 MB, free: 9.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.5682, allocations: 0.7845 MB / 488.2 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001361/0.5683, allocations: 34.95 kB / 488.2 MB, free: 8.926 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.5685, allocations: 91.41 kB / 488.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.232e-06/0.5685, allocations: 0 / 488.3 MB, free: 8.836 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02094/0.5894, allocations: 5.508 MB / 493.8 MB, free: 3.473 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.5897, allocations: 166.8 kB / 494 MB, free: 3.246 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.173/2.763, allocations: 0 / 494 MB, free: 3.246 MB / 362.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