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.00139/0.00139, allocations: 198.4 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008294/0.000829, allocations: 108.9 kB / 297.3 MB, free: 6.188 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002353/0.0002352, allocations: 4 kB / 358 MB, free: 9.441 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2235, allocations: 51.48 MB / 409.5 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3376, allocations: 99.93 MB / 0.4975 GB, free: 6.641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.3379, allocations: 91.95 kB / 0.4976 GB, free: 6.551 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3572/0.6951, allocations: 82.5 MB / 0.5781 GB, free: 32.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.796e-06/0.6952, allocations: 4.125 kB / 0.5782 GB, free: 32.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001521/0.6953, allocations: 83.92 kB / 0.5782 GB, free: 32.14 MB / 378.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.01534/0.7107, allocations: 4.612 MB / 0.5827 GB, free: 27.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.7107, allocations: 8.031 kB / 0.5827 GB, free: 27.45 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002109/0.7129, allocations: 0.7372 MB / 0.5835 GB, free: 26.71 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008904/0.7218, allocations: 2.217 MB / 0.5856 GB, free: 24.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009143/0.731, allocations: 3.724 MB / 0.5893 GB, free: 20.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001882/0.7312, allocations: 304 kB / 0.5896 GB, free: 20.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/0.7325, allocations: 403.8 kB / 0.5899 GB, free: 20 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.7479, allocations: 10.34 MB / 0.6 GB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.748, allocations: 55.47 kB / 0.6001 GB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004899/0.7485, allocations: 203.8 kB / 0.6003 GB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00104/0.7496, allocations: 0.9393 MB / 0.6012 GB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01421/0.7638, allocations: 8.583 MB / 0.6096 GB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05165/0.8155, allocations: 47.35 MB / 0.6558 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0106/0.8262, allocations: 3.278 MB / 0.659 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007901/0.8341, allocations: 4.052 MB / 0.663 GB, free: 6.289 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4e-05/0.8342, allocations: 51.06 kB / 0.663 GB, free: 6.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.157e-06/0.8342, allocations: 0 / 0.663 GB, free: 6.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.2302/1.064, allocations: 11.12 MB / 0.6739 GB, free: 103 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/1.064, allocations: 141.6 kB / 0.674 GB, free: 102.9 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004719/1.069, allocations: 3.637 MB / 0.6776 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.069, allocations: 42.55 kB / 0.6776 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001499/1.071, allocations: 3.075 MB / 0.6806 GB, free: 101 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/1.071, allocations: 0.5209 MB / 0.6811 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.072, allocations: 112.8 kB / 0.6812 GB, free: 100.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002184/1.072, allocations: 0.5446 MB / 0.6818 GB, free: 100.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002191/1.074, allocations: 1.811 MB / 0.6835 GB, free: 100.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003447/1.077, allocations: 5.505 MB / 0.6889 GB, free: 95.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.081, allocations: 3.094 MB / 0.6919 GB, free: 95.59 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.275e-05/1.081, allocations: 44.42 kB / 0.692 GB, free: 95.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01105/1.092, allocations: 7.756 MB / 0.6996 GB, free: 94.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/1.092, allocations: 62.41 kB / 0.6996 GB, free: 94.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.143e-05/1.092, allocations: 135.9 kB / 0.6997 GB, free: 94.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002044/1.094, allocations: 0.9175 MB / 0.7006 GB, free: 94.88 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/1.098, allocations: 1.31 MB / 0.7019 GB, free: 94.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005074/1.103, allocations: 4.884 MB / 0.7067 GB, free: 92.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.107, allocations: 315 kB / 0.707 GB, free: 92.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00064/1.108, allocations: 363.6 kB / 0.7073 GB, free: 92.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 605 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (694): * Single equations (assignments): 690 * 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.003065/1.111, allocations: 2.004 MB / 0.7093 GB, free: 91.65 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000612/1.112, allocations: 330.8 kB / 0.7096 GB, free: 91.47 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00405/1.116, allocations: 2.496 MB / 0.712 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/1.116, allocations: 15.19 kB / 0.7121 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/1.116, allocations: 7.688 kB / 0.7121 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.328e-06/1.116, allocations: 3.844 kB / 0.7121 GB, free: 90.65 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009482/1.125, allocations: 6.331 MB / 0.7183 GB, free: 88.44 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/1.125, allocations: 3.875 kB / 0.7183 GB, free: 88.44 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/1.126, allocations: 198 kB / 0.7184 GB, free: 88.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001809/1.128, allocations: 0.6999 MB / 0.7191 GB, free: 88.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/1.128, allocations: 22.27 kB / 0.7191 GB, free: 88.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004293/1.132, allocations: 4.447 MB / 0.7235 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.132, allocations: 0 / 0.7235 GB, free: 85.79 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005856/1.138, allocations: 4.61 MB / 0.728 GB, free: 83.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009478/1.139, allocations: 397.6 kB / 0.7284 GB, free: 83.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000315/1.139, allocations: 19.81 kB / 0.7284 GB, free: 83.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/1.141, allocations: 71.38 kB / 0.7285 GB, free: 83.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/1.141, allocations: 82.52 kB / 0.7285 GB, free: 83.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.172e-05/1.141, allocations: 34.5 kB / 0.7286 GB, free: 83.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003185/1.144, allocations: 2.537 MB / 0.731 GB, free: 82.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.144, allocations: 0 / 0.731 GB, free: 82.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00426/1.148, allocations: 0.9062 MB / 0.7319 GB, free: 82.14 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 88 * 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.005841/1.154, allocations: 5.413 MB / 0.7372 GB, free: 77.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006016/1.16, allocations: 4.358 MB / 0.7415 GB, free: 73.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/1.16, allocations: 0 / 0.7415 GB, free: 73.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/1.162, allocations: 1.186 MB / 0.7426 GB, free: 72.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/1.164, allocations: 393.3 kB / 0.743 GB, free: 72.22 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2802/1.444, allocations: 122.8 MB / 0.8629 GB, free: 118 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003176/1.448, allocations: 3.181 MB / 0.8661 GB, free: 117.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004136/1.452, allocations: 1.786 MB / 0.8678 GB, free: 117.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001842/1.454, allocations: 1.748 MB / 0.8695 GB, free: 117.1 MB / 474.7 MB Notification: Performance of SimCode: time 9.21e-07/1.454, allocations: 0 / 0.8695 GB, free: 117.1 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09925/1.553, allocations: 70.91 MB / 0.9388 GB, free: 73.41 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001557/1.553, allocations: 220.4 kB / 0.939 GB, free: 73.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.851/5.404, allocations: 4 kB / 0.939 GB, free: 73.18 MB / 474.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