Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002082/0.002082, allocations: 196.8 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.734/1.734, allocations: 225.4 MB / 240.1 MB, free: 15.04 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001065/0.001066, allocations: 93.17 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.171e-05, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1249, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5351, allocations: 100.6 MB / 0.4909 GB, free: 5.156 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.5354, allocations: 83.36 kB / 0.491 GB, free: 5.117 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5532/1.089, allocations: 96.05 MB / 0.5848 GB, free: 74.75 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.653e-06/1.089, allocations: 0 / 0.5848 GB, free: 74.75 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003098/1.089, allocations: 98.8 kB / 0.5849 GB, free: 74.75 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.02218/1.111, allocations: 5.432 MB / 0.5902 GB, free: 72.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.111, allocations: 9.906 kB / 0.5902 GB, free: 72.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003357/1.115, allocations: 0.8948 MB / 0.5911 GB, free: 72.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/1.126, allocations: 2.32 MB / 0.5934 GB, free: 72.42 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0112/1.137, allocations: 4.168 MB / 0.5974 GB, free: 71.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004428/1.138, allocations: 379.8 kB / 0.5978 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002713/1.14, allocations: 0.4905 MB / 0.5983 GB, free: 71.8 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03474/1.175, allocations: 12.45 MB / 0.6104 GB, free: 68.82 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006092/1.176, allocations: 72.25 kB / 0.6105 GB, free: 68.81 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002903/1.179, allocations: 239.1 kB / 0.6107 GB, free: 68.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/1.181, allocations: 1.141 MB / 0.6118 GB, free: 68.79 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02648/1.208, allocations: 10.61 MB / 0.6222 GB, free: 68.71 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06236/1.27, allocations: 55.56 MB / 0.6765 GB, free: 29.94 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01367/1.284, allocations: 4.929 MB / 0.6813 GB, free: 28.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003656/1.288, allocations: 3.001 MB / 0.6842 GB, free: 26.94 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00106/1.289, allocations: 0.6828 MB / 0.6849 GB, free: 26.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.289, allocations: 61.62 kB / 0.6849 GB, free: 26.29 MB / 442.7 MB Notification: Performance of pre-optimization done (n=200): time 5.881e-06/1.289, allocations: 0 / 0.6849 GB, free: 26.29 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.05379/1.343, allocations: 20.51 MB / 0.705 GB, free: 18.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.707e-05/1.343, allocations: 154.5 kB / 0.7051 GB, free: 18.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006148/1.349, allocations: 3.968 MB / 0.709 GB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006598/1.35, allocations: 58.72 kB / 0.709 GB, free: 15.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001985/1.352, allocations: 3.488 MB / 0.7124 GB, free: 11.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00112/1.353, allocations: 0.8765 MB / 0.7133 GB, free: 11.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003067/1.353, allocations: 132.6 kB / 0.7134 GB, free: 11.01 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003017/1.353, allocations: 0.5879 MB / 0.714 GB, free: 10.5 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003652/1.357, allocations: 2.814 MB / 0.7167 GB, free: 8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.363, allocations: 6.749 MB / 0.7233 GB, free: 15.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/1.371, allocations: 4.304 MB / 0.7275 GB, free: 12.05 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.371, allocations: 40 kB / 0.7276 GB, free: 12.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=874) (initialization): time 0.02531/1.396, allocations: 10.4 MB / 0.7377 GB, free: 3.102 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001377/1.396, allocations: 65.88 kB / 0.7378 GB, free: 3.039 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002314/1.396, allocations: 140 kB / 0.7379 GB, free: 2.902 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003196/1.4, allocations: 1.131 MB / 0.739 GB, free: 2.066 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007411/1.407, allocations: 1.667 MB / 0.7407 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3857/1.793, allocations: 6.002 MB / 0.7465 GB, free: 77.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007134/1.8, allocations: 420.4 kB / 0.7469 GB, free: 77.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001766/1.802, allocations: 417.7 kB / 0.7473 GB, free: 77.69 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 636 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (835): * Single equations (assignments): 831 * 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.001449/1.803, allocations: 0.6275 MB / 0.7479 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00107/1.804, allocations: 402.3 kB / 0.7483 GB, free: 77.57 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009448/1.814, allocations: 5.137 MB / 0.7533 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.246e-05/1.814, allocations: 30.92 kB / 0.7534 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-05/1.814, allocations: 4.062 kB / 0.7534 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/1.814, allocations: 10.92 kB / 0.7534 GB, free: 77.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01935/1.833, allocations: 11.42 MB / 0.7645 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.952e-05/1.833, allocations: 4.156 kB / 0.7645 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002413/1.836, allocations: 475.5 kB / 0.765 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002621/1.838, allocations: 0.934 MB / 0.7659 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003249/1.839, allocations: 43.64 kB / 0.7659 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008896/1.848, allocations: 5.638 MB / 0.7714 GB, free: 75.31 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/1.848, allocations: 7.031 kB / 0.7715 GB, free: 75.31 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0176/1.865, allocations: 9.12 MB / 0.7804 GB, free: 74.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00293/1.868, allocations: 0.8614 MB / 0.7812 GB, free: 73.96 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006064/1.869, allocations: 37.44 kB / 0.7812 GB, free: 73.94 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002074/1.871, allocations: 170.8 kB / 0.7814 GB, free: 73.91 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005511/1.872, allocations: 141.5 kB / 0.7815 GB, free: 73.89 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002188/1.872, allocations: 64.69 kB / 0.7816 GB, free: 73.88 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005563/1.877, allocations: 2.773 MB / 0.7843 GB, free: 72.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.877, allocations: 0 / 0.7843 GB, free: 72.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007702/1.885, allocations: 1.211 MB / 0.7855 GB, free: 72.76 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.01416/1.899, allocations: 10.48 MB / 0.7957 GB, free: 67.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01122/1.911, allocations: 6.783 MB / 0.8024 GB, free: 65.68 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.911, allocations: 6.719 kB / 0.8024 GB, free: 65.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004212/1.915, allocations: 2.499 MB / 0.8048 GB, free: 64.75 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004526/1.919, allocations: 459.2 kB / 0.8052 GB, free: 64.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/1.953, allocations: 11.22 MB / 0.8162 GB, free: 60.65 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007212/1.96, allocations: 3.765 MB / 0.8199 GB, free: 59.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007252/1.968, allocations: 2.228 MB / 0.822 GB, free: 59.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004638/1.972, allocations: 2.237 MB / 0.8242 GB, free: 57.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/1.972, allocations: 0 / 0.8242 GB, free: 57.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4861/2.458, allocations: 93.59 MB / 0.9156 GB, free: 68.52 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001944/2.459, allocations: 199.3 kB / 0.9158 GB, free: 68.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.049/7.508, allocations: 4.906 kB / 0.9158 GB, free: 68.3 MB / 474.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat