Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001427/0.001427, allocations: 203.5 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.631/1.631, allocations: 225.6 MB / 234.8 MB, free: 3.273 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009138/0.0009138, allocations: 93.86 kB / 286.7 MB, free: 5.27 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.241e-05/2.252e-05, allocations: 3.984 kB / 343.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 51.48 MB / 395.3 MB, free: 4.668 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4871/0.6202, allocations: 99.19 MB / 494.5 MB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003427/0.6206, allocations: 86.27 kB / 494.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2268/0.8474, allocations: 80.99 MB / 0.562 GB, free: 13.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8475, allocations: 0 / 0.562 GB, free: 13.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003632/0.8479, allocations: 83.98 kB / 0.5621 GB, free: 13.57 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02009/0.868, allocations: 4.383 MB / 0.5664 GB, free: 9.125 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.8681, allocations: 12.03 kB / 0.5664 GB, free: 9.113 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.8793, allocations: 2.213 MB / 0.5686 GB, free: 6.895 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01099/0.8903, allocations: 3.712 MB / 0.5722 GB, free: 3.117 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/0.8906, allocations: 132 kB / 0.5723 GB, free: 2.988 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002059/0.8927, allocations: 247.8 kB / 0.5726 GB, free: 2.746 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3269/1.22, allocations: 6.004 MB / 0.5784 GB, free: 79.31 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02393/1.244, allocations: 9.261 MB / 0.5875 GB, free: 76.55 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004159/1.244, allocations: 55.19 kB / 0.5875 GB, free: 76.55 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002591/1.247, allocations: 33.47 kB / 0.5876 GB, free: 76.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002236/1.249, allocations: 0.9383 MB / 0.5885 GB, free: 76.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05628/1.305, allocations: 45.54 MB / 0.6329 GB, free: 48.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004687/1.31, allocations: 3.004 MB / 0.6359 GB, free: 47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/1.313, allocations: 1.575 MB / 0.6374 GB, free: 46.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009586/1.323, allocations: 3.941 MB / 0.6413 GB, free: 44.14 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.924e-05/1.323, allocations: 47.75 kB / 0.6413 GB, free: 44.09 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.999e-06/1.323, allocations: 0 / 0.6413 GB, free: 44.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=125): time 0.02941/1.352, allocations: 11.12 MB / 0.6522 GB, free: 39.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.352, allocations: 144 kB / 0.6523 GB, free: 39.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009417/1.362, allocations: 3.065 MB / 0.6553 GB, free: 38.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004614/1.362, allocations: 26.89 kB / 0.6553 GB, free: 38.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003279/1.365, allocations: 3.135 MB / 0.6584 GB, free: 35.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/1.367, allocations: 0.5048 MB / 0.6589 GB, free: 35.25 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009499/1.368, allocations: 1.219 kB / 0.6589 GB, free: 35.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008417/1.368, allocations: 0.5498 MB / 0.6594 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004523/1.373, allocations: 1.697 MB / 0.6611 GB, free: 34.26 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007952/1.381, allocations: 5.505 MB / 0.6665 GB, free: 28.44 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006733/1.388, allocations: 3.029 MB / 0.6694 GB, free: 27.3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002616/1.388, allocations: 38.81 kB / 0.6695 GB, free: 27.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=758) (initialization): time 0.0163/1.404, allocations: 6.99 MB / 0.6763 GB, free: 25 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002552/1.405, allocations: 62 kB / 0.6763 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003228/1.405, allocations: 138.9 kB / 0.6765 GB, free: 25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/1.408, allocations: 0.9136 MB / 0.6774 GB, free: 24.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005229/1.413, allocations: 1.363 MB / 0.6787 GB, free: 24.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/1.419, allocations: 4.608 MB / 0.6832 GB, free: 22.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006185/1.425, allocations: 201 kB / 0.6834 GB, free: 22.19 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001625/1.427, allocations: 374.8 kB / 0.6837 GB, free: 22.14 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 629 * Number of states: 0 () * Number of discrete variables: 38 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (719): * Single equations (assignments): 715 * Array equations: 3 * 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 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002118/1.429, allocations: 450.4 kB / 0.6842 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005569/1.435, allocations: 2.693 MB / 0.6868 GB, free: 20.92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001008/1.436, allocations: 301.8 kB / 0.6871 GB, free: 20.75 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/1.441, allocations: 2.372 MB / 0.6894 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.155e-05/1.441, allocations: 17.78 kB / 0.6894 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/1.441, allocations: 4.844 kB / 0.6894 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.852e-05/1.441, allocations: 11.22 kB / 0.6894 GB, free: 19.99 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01406/1.455, allocations: 5.506 MB / 0.6948 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/1.455, allocations: 0 / 0.6948 GB, free: 18.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/1.456, allocations: 196.5 kB / 0.695 GB, free: 18.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001989/1.458, allocations: 0.7 MB / 0.6957 GB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002103/1.458, allocations: 3.406 kB / 0.6957 GB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004976/1.463, allocations: 4.183 MB / 0.6998 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/1.463, allocations: 4.062 kB / 0.6998 GB, free: 15.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007189/1.471, allocations: 4.429 MB / 0.7041 GB, free: 13.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/1.473, allocations: 352.5 kB / 0.7044 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001204/1.474, allocations: 2.781 kB / 0.7044 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.476, allocations: 65.27 kB / 0.7045 GB, free: 13.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002837/1.476, allocations: 75.12 kB / 0.7046 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.476, allocations: 34.27 kB / 0.7046 GB, free: 13.45 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004777/1.481, allocations: 2.031 MB / 0.7066 GB, free: 12.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.481, allocations: 0 / 0.7066 GB, free: 12.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007736/1.489, allocations: 0.7816 MB / 0.7074 GB, free: 12.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 89 * Array equations: 3 * 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%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007523/1.496, allocations: 5.24 MB / 0.7125 GB, free: 10.03 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007017/1.503, allocations: 4.072 MB / 0.7165 GB, free: 6.375 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/1.503, allocations: 1.781 kB / 0.7165 GB, free: 6.375 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001568/1.505, allocations: 1.121 MB / 0.7175 GB, free: 5.359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.508, allocations: 327.6 kB / 0.7179 GB, free: 5.082 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02679/1.535, allocations: 7.801 MB / 0.7255 GB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00635/1.541, allocations: 3.183 MB / 0.7286 GB, free: 11.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005989/1.547, allocations: 1.814 MB / 0.7304 GB, free: 10.79 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004243/1.552, allocations: 1.731 MB / 0.7321 GB, free: 9.191 MB / 458.7 MB Notification: Performance of SimCode: time 1.743e-06/1.552, allocations: 0 / 0.7321 GB, free: 9.191 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4083/1.96, allocations: 64.69 MB / 0.7952 GB, free: 82.61 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.96, allocations: 167.9 kB / 0.7954 GB, free: 82.41 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/5.954, allocations: 6.375 kB / 0.7954 GB, free: 82.41 MB / 458.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat