Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.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.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.FirstGrounded,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded",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.001562/0.001562, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.743/1.743, allocations: 205.3 MB / 214.4 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008497/0.0008497, allocations: 78.23 kB / 262.4 MB, free: 1.691 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.857e-05/1.846e-05, allocations: 4 kB / 315.6 MB, free: 22.64 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 47.58 MB / 363.2 MB, free: 6.996 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5398, allocations: 77.09 MB / 440.2 MB, free: 2.266 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.5401, allocations: 66.03 kB / 440.3 MB, free: 2.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.5503, allocations: 3.754 MB / 444.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5504, allocations: 0 / 444.1 MB, free: 15.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.5504, allocations: 4 kB / 444.1 MB, free: 15.16 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006285/0.551, allocations: 473 kB / 444.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/0.5511, allocations: 12.78 kB / 444.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.022e-05/0.5512, allocations: 23.72 kB / 444.6 MB, free: 14.63 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/0.5515, allocations: 221.7 kB / 444.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.5515, allocations: 8 kB / 444.8 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.941e-05/0.5515, allocations: 19.86 kB / 444.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002185/0.5518, allocations: 102 kB / 444.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.5521, allocations: 171.4 kB / 445.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.5521, allocations: 6.078 kB / 445.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.967e-05/0.5521, allocations: 0 / 445.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.5521, allocations: 8 kB / 445.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009534/0.5531, allocations: 0.6616 MB / 445.8 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.5533, allocations: 124.4 kB / 445.9 MB, free: 13.45 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.035e-05/0.5534, allocations: 65.95 kB / 445.9 MB, free: 13.4 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.5534, allocations: 11.94 kB / 446 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.5535, allocations: 30.56 kB / 446 MB, free: 13.35 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.162e-06/0.5535, allocations: 0 / 446 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.001259/0.5547, allocations: 0.757 MB / 446.7 MB, free: 12.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.789e-05/0.5548, allocations: 55.41 kB / 446.8 MB, free: 12.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5549, allocations: 151.1 kB / 446.9 MB, free: 12.38 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.555, allocations: 25.7 kB / 447 MB, free: 12.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.5551, allocations: 146.9 kB / 447.1 MB, free: 12.22 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.86e-05/0.5551, allocations: 81.44 kB / 447.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.594e-06/0.5552, allocations: 0 / 447.2 MB, free: 12.15 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5553, allocations: 324.6 kB / 447.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.5554, allocations: 54.2 kB / 447.6 MB, free: 11.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/0.5556, allocations: 83.98 kB / 447.6 MB, free: 11.72 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5558, allocations: 62.34 kB / 447.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.5558, allocations: 0 / 447.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003775/0.5561, allocations: 218.5 kB / 447.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5562, allocations: 4 kB / 447.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5562, allocations: 0 / 447.9 MB, free: 11.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001449/0.5563, allocations: 34.03 kB / 448 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.5566, allocations: 54.34 kB / 448 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/0.5577, allocations: 1.316 MB / 449.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.5579, allocations: 8.016 kB / 449.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.5579, allocations: 11.44 kB / 449.3 MB, free: 10.04 MB / 330.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 0.0001034/0.558, allocations: 117.8 kB / 449.5 MB, free: 9.914 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003079/0.5583, allocations: 178.3 kB / 449.6 MB, free: 9.762 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.785e-05/0.5584, allocations: 15.81 kB / 449.6 MB, free: 9.746 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.739e-05/0.5584, allocations: 29.34 kB / 449.7 MB, free: 9.73 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.5585, allocations: 4 kB / 449.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5585, allocations: 0 / 449.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5585, allocations: 0 / 449.7 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008231/0.5593, allocations: 0.5843 MB / 450.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5593, allocations: 0 / 450.3 MB, free: 9.172 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.5596, allocations: 47.91 kB / 450.3 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001168/0.5597, allocations: 36.09 kB / 450.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.487e-05/0.5597, allocations: 4 kB / 450.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.5608, allocations: 1.331 MB / 451.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5608, allocations: 0 / 451.7 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.5613, allocations: 386.5 kB / 452.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.425e-05/0.5614, allocations: 96.83 kB / 452.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.5614, allocations: 4.031 kB / 452.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.5615, allocations: 4 kB / 452.2 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.411e-05/0.5616, allocations: 15.97 kB / 452.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.5616, allocations: 11.81 kB / 452.2 MB, free: 7.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.776e-05/0.5617, allocations: 114.9 kB / 452.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5617, allocations: 0 / 452.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.562, allocations: 52 kB / 452.3 MB, free: 7.078 MB / 330.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.0008599/0.5629, allocations: 1.062 MB / 453.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004813/0.5634, allocations: 259.4 kB / 453.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5634, allocations: 0 / 453.7 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002495/0.5636, allocations: 190.6 kB / 453.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.564, allocations: 31.23 kB / 453.9 MB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.5652, allocations: 0.5746 MB / 454.5 MB, free: 5.035 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003772/0.5655, allocations: 0.7558 MB / 455.2 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.34e-05/0.5656, allocations: 18.06 kB / 455.2 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.847e-05/0.5657, allocations: 65.97 kB / 455.3 MB, free: 4.207 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.5657, allocations: 4 kB / 455.3 MB, free: 4.203 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.5911, allocations: 3.71 MB / 459 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/0.5914, allocations: 140.2 kB / 459.1 MB, free: 312 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.373, allocations: 4 kB / 459.1 MB, free: 308 kB / 330.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_FirstGrounded.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.FirstGrounded_res.mat does not exist to compare? outputFormat=mat