Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001657/0.001657, allocations: 193.6 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001131/0.001131, allocations: 92.95 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.451e-05/2.446e-05, allocations: 4 kB / 343.8 MB, free: 8.238 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1176, allocations: 51.47 MB / 395.3 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.321/0.4386, allocations: 78.49 MB / 473.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002006/0.4389, allocations: 67.8 kB / 473.8 MB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009897/0.4488, allocations: 3.964 MB / 477.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4488, allocations: 0 / 477.8 MB, free: 10.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.242e-05/0.4489, allocations: 8 kB / 477.8 MB, free: 10.8 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0004538/0.4493, allocations: 465.7 kB / 478.2 MB, free: 10.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.4494, allocations: 16.03 kB / 478.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001623/0.4495, allocations: 35.14 kB / 478.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4497, allocations: 228.3 kB / 478.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.4498, allocations: 5.969 kB / 478.5 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.264e-05/0.4498, allocations: 19.84 kB / 478.5 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000184/0.45, allocations: 110.6 kB / 478.6 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.4502, allocations: 165.7 kB / 478.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4503, allocations: 4 kB / 478.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.4503, allocations: 0 / 478.8 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.4503, allocations: 4 kB / 478.8 MB, free: 9.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007871/0.4511, allocations: 0.6587 MB / 479.5 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.4513, allocations: 130.2 kB / 479.6 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.747e-05/0.4514, allocations: 57.39 kB / 479.7 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4514, allocations: 4 kB / 479.7 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.4514, allocations: 35.92 kB / 479.7 MB, free: 9.156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.4514, allocations: 0 / 479.7 MB, free: 9.156 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001051/0.4525, allocations: 0.7518 MB / 480.4 MB, free: 8.453 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.4525, allocations: 54.58 kB / 480.5 MB, free: 8.391 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.974e-05/0.4526, allocations: 140.8 kB / 480.6 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.4526, allocations: 27.44 kB / 480.7 MB, free: 8.234 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.4527, allocations: 147.6 kB / 480.8 MB, free: 8.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.339e-05/0.4528, allocations: 83.73 kB / 480.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.4528, allocations: 0 / 480.9 MB, free: 8.047 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.602e-05/0.4528, allocations: 332.1 kB / 481.2 MB, free: 7.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.713e-05/0.4529, allocations: 43 kB / 481.3 MB, free: 7.707 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.453, allocations: 85.92 kB / 481.3 MB, free: 7.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.104e-05/0.4531, allocations: 57.22 kB / 481.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4531, allocations: 0 / 481.4 MB, free: 7.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0002951/0.4534, allocations: 214.9 kB / 481.6 MB, free: 7.441 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4534, allocations: 8.125 kB / 481.6 MB, free: 7.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.4534, allocations: 4 kB / 481.6 MB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001493/0.4536, allocations: 36.3 kB / 481.7 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.4538, allocations: 46.84 kB / 481.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008598/0.4547, allocations: 1.325 MB / 483 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.4548, allocations: 5.531 kB / 483 MB, free: 6.031 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.4548, allocations: 11.19 kB / 483 MB, free: 6.023 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.152e-05/0.4549, allocations: 114.3 kB / 483.2 MB, free: 5.906 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002652/0.4552, allocations: 182.9 kB / 483.3 MB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.568e-05/0.4552, allocations: 21.03 kB / 483.4 MB, free: 5.746 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.422e-05/0.4553, allocations: 21.95 kB / 483.4 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4553, allocations: 4 kB / 483.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.454e-06/0.4553, allocations: 0 / 483.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.4553, allocations: 1.406 kB / 483.4 MB, free: 5.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.456, allocations: 0.5838 MB / 484 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.456, allocations: 0 / 484 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/0.4562, allocations: 52 kB / 484 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.399e-05/0.4563, allocations: 28.66 kB / 484 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.4564, allocations: 12 kB / 484.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007391/0.4571, allocations: 1.32 MB / 485.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.4571, allocations: 4.062 kB / 485.4 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4575, allocations: 397 kB / 485.8 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.4576, allocations: 92.83 kB / 485.9 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.4576, allocations: 8.031 kB / 485.9 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.4577, allocations: 4 kB / 485.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.719e-05/0.4578, allocations: 21.2 kB / 485.9 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4578, allocations: 7.984 kB / 485.9 MB, free: 3.285 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.159e-05/0.4579, allocations: 122.4 kB / 486 MB, free: 3.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4579, allocations: 0 / 486 MB, free: 3.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.4582, allocations: 48 kB / 486.1 MB, free: 3.133 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (inertia3.phi,inertia3.w,damper.phi_rel,damper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006866/0.4589, allocations: 1.062 MB / 487.1 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004133/0.4594, allocations: 262.6 kB / 487.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4594, allocations: 0 / 487.4 MB, free: 1.867 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.4596, allocations: 192.9 kB / 487.6 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.46, allocations: 32.58 kB / 487.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.4612, allocations: 0.5821 MB / 488.2 MB, free: 1.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004494/0.4616, allocations: 0.7519 MB / 488.9 MB, free: 16.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 9.782e-05/0.4617, allocations: 18.06 kB / 489 MB, free: 16.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.581e-05/0.4618, allocations: 70.75 kB / 489 MB, free: 16.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4618, allocations: 0 / 489 MB, free: 16.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02316/0.485, allocations: 3.714 MB / 492.7 MB, free: 12.63 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001677/0.4852, allocations: 140.6 kB / 492.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/2.226, allocations: 0 / 492.9 MB, free: 12.44 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat