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.001751/0.001751, allocations: 195 kB / 14.16 MB, free: 1.152 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009923/0.0009928, allocations: 92.58 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.549e-05, allocations: 4 kB / 350.6 MB, free: 2.422 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1337, allocations: 51.49 MB / 402.1 MB, free: 14.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4558/0.5896, allocations: 79.15 MB / 481.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.5899, allocations: 73.7 kB / 481.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01014/0.6001, allocations: 3.99 MB / 485.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.522e-06/0.6001, allocations: 0 / 485.3 MB, free: 6.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.363e-05/0.6002, allocations: 4 kB / 485.3 MB, free: 6.977 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.0005234/0.6007, allocations: 472.5 kB / 485.8 MB, free: 6.492 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6007, allocations: 8.031 kB / 485.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.668e-05/0.6008, allocations: 61.41 kB / 485.9 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001427/0.601, allocations: 35.7 kB / 485.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.6012, allocations: 226.5 kB / 486.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.6012, allocations: 12.12 kB / 486.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.004e-05/0.6013, allocations: 30.95 kB / 486.2 MB, free: 6.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002916/0.6016, allocations: 196 kB / 486.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6016, allocations: 3.984 kB / 486.4 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.6016, allocations: 11 kB / 486.4 MB, free: 5.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.6016, allocations: 4.938 kB / 486.4 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.6018, allocations: 113.8 kB / 486.5 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008239/0.6026, allocations: 0.7107 MB / 487.2 MB, free: 5.227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.6029, allocations: 138.7 kB / 487.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.603, allocations: 67.17 kB / 487.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.603, allocations: 0.5625 kB / 487.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.6031, allocations: 34.91 kB / 487.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 1.793e-06/0.6031, allocations: 0 / 487.4 MB, free: 5.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001171/0.6043, allocations: 0.809 MB / 488.2 MB, free: 4.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.975e-05/0.6043, allocations: 51.41 kB / 488.3 MB, free: 4.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001217/0.6044, allocations: 153 kB / 488.4 MB, free: 4.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.475e-05/0.6044, allocations: 33.56 kB / 488.5 MB, free: 4.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.318e-05/0.6045, allocations: 147 kB / 488.6 MB, free: 3.887 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.012e-05/0.6046, allocations: 84.12 kB / 488.7 MB, free: 3.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.089e-05/0.6046, allocations: 10.94 kB / 488.7 MB, free: 3.809 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.586e-05/0.6046, allocations: 329.2 kB / 489 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.6047, allocations: 48.75 kB / 489.1 MB, free: 3.453 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.088e-05/0.6048, allocations: 95.09 kB / 489.2 MB, free: 3.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.989e-05/0.6049, allocations: 67.59 kB / 489.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.6049, allocations: 1.031 kB / 489.2 MB, free: 3.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003271/0.6053, allocations: 240.5 kB / 489.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.6053, allocations: 4 kB / 489.5 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6053, allocations: 4 kB / 489.5 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001538/0.6055, allocations: 37.47 kB / 489.5 MB, free: 3.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001997/0.6057, allocations: 55.89 kB / 489.6 MB, free: 3.035 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000872/0.6065, allocations: 1.375 MB / 491 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001038/0.6067, allocations: 10.78 kB / 491 MB, free: 1.605 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6067, allocations: 8 kB / 491 MB, free: 1.598 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 6.831e-05/0.6068, allocations: 118.2 kB / 491.1 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.026e-05/0.6068, allocations: 19.8 kB / 491.1 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.6069, allocations: 24.62 kB / 491.1 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.6069, allocations: 4 kB / 491.1 MB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.6069, allocations: 4.062 kB / 491.1 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.6069, allocations: 3.953 kB / 491.1 MB, free: 1.445 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006859/0.6076, allocations: 0.6395 MB / 491.8 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.6076, allocations: 4.062 kB / 491.8 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002014/0.6078, allocations: 49.7 kB / 491.8 MB, free: 0.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.642e-05/0.6079, allocations: 36.08 kB / 491.9 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.608, allocations: 7.188 kB / 491.9 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000983/0.6089, allocations: 1.385 MB / 493.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.609, allocations: 0 / 493.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005202/0.6095, allocations: 420 kB / 493.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.957e-05/0.6096, allocations: 88.92 kB / 493.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.306e-05/0.6096, allocations: 4 kB / 493.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6097, allocations: 16.03 kB / 493.8 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.6098, allocations: 11.98 kB / 493.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.6098, allocations: 13.31 kB / 493.8 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.782e-05/0.6099, allocations: 122.2 kB / 493.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6099, allocations: 0 / 493.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003125/0.6102, allocations: 63.98 kB / 494 MB, free: 14.59 MB / 362.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.0009231/0.6112, allocations: 1.088 MB / 495.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000488/0.6117, allocations: 273.1 kB / 495.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.6117, allocations: 8.188 kB / 495.3 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002716/0.612, allocations: 202.5 kB / 495.5 MB, free: 12.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.6123, allocations: 33.34 kB / 495.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/0.6135, allocations: 0.5974 MB / 496.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.6138, allocations: 0.7561 MB / 496.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.604e-05/0.6139, allocations: 18.06 kB / 496.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.74e-05/0.614, allocations: 67.41 kB / 497 MB, free: 11.43 MB / 362.7 MB Notification: Performance of SimCode: time 3.21e-07/0.614, allocations: 0 / 497 MB, free: 11.43 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.6315, allocations: 4.204 MB / 0.4895 GB, free: 7.496 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.6317, allocations: 178.2 kB / 0.4896 GB, free: 7.27 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.443, allocations: 1.547 kB / 0.4896 GB, free: 7.27 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