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.001083/0.001083, allocations: 197 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.682/1.682, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000968/0.0009686, allocations: 89.38 kB / 292.1 MB, free: 5.945 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.584e-05, allocations: 0 / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1338/0.1338, allocations: 51.48 MB / 402.1 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4572/0.5911, allocations: 99.87 MB / 0.4902 GB, free: 5.926 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003447/0.5915, allocations: 84.2 kB / 0.4903 GB, free: 5.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.211/0.8026, allocations: 82.56 MB / 0.5709 GB, free: 4.309 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.8026, allocations: 0 / 0.5709 GB, free: 4.309 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001752/0.8028, allocations: 76 kB / 0.571 GB, free: 4.234 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.3426/1.145, allocations: 4.382 MB / 0.5753 GB, free: 77.82 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.146, allocations: 10.12 kB / 0.5753 GB, free: 77.82 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003848/1.149, allocations: 0.7299 MB / 0.576 GB, free: 77.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01122/1.161, allocations: 2.215 MB / 0.5782 GB, free: 77.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01074/1.171, allocations: 3.711 MB / 0.5818 GB, free: 77.18 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003152/1.172, allocations: 303.7 kB / 0.5821 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00198/1.174, allocations: 407.2 kB / 0.5825 GB, free: 77.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02033/1.194, allocations: 10.25 MB / 0.5925 GB, free: 74.38 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001769/1.194, allocations: 67.41 kB / 0.5925 GB, free: 74.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006071/1.195, allocations: 197.2 kB / 0.5927 GB, free: 74.37 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/1.196, allocations: 0.9363 MB / 0.5936 GB, free: 74.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0182/1.215, allocations: 8.426 MB / 0.6019 GB, free: 74.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06281/1.277, allocations: 47.35 MB / 0.6481 GB, free: 42.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/1.288, allocations: 3.237 MB / 0.6513 GB, free: 40.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002173/1.29, allocations: 1.606 MB / 0.6528 GB, free: 40.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006948/1.297, allocations: 4.057 MB / 0.6568 GB, free: 37.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/1.297, allocations: 54.66 kB / 0.6569 GB, free: 37.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 4.689e-06/1.297, allocations: 0 / 0.6569 GB, free: 37.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.01948/1.316, allocations: 8.874 MB / 0.6655 GB, free: 33.97 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.576e-05/1.317, allocations: 144.5 kB / 0.6657 GB, free: 33.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005362/1.322, allocations: 3.602 MB / 0.6692 GB, free: 32.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002601/1.322, allocations: 40.45 kB / 0.6692 GB, free: 32.39 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001773/1.324, allocations: 3.08 MB / 0.6722 GB, free: 30.01 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/1.325, allocations: 0.5185 MB / 0.6727 GB, free: 29.65 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002117/1.325, allocations: 113 kB / 0.6728 GB, free: 29.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002787/1.325, allocations: 0.5403 MB / 0.6734 GB, free: 29.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/1.327, allocations: 1.76 MB / 0.6751 GB, free: 28.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004036/1.332, allocations: 5.455 MB / 0.6804 GB, free: 22.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/1.336, allocations: 3.075 MB / 0.6834 GB, free: 21.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.88e-05/1.336, allocations: 38.94 kB / 0.6834 GB, free: 21.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01404/1.35, allocations: 7.642 MB / 0.6909 GB, free: 19.02 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/1.35, allocations: 62 kB / 0.691 GB, free: 19.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/1.35, allocations: 139.6 kB / 0.6911 GB, free: 19.01 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/1.352, allocations: 0.91 MB / 0.692 GB, free: 18.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.357, allocations: 1.309 MB / 0.6933 GB, free: 18.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005932/1.363, allocations: 4.776 MB / 0.6979 GB, free: 16.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006189/1.369, allocations: 302.5 kB / 0.6982 GB, free: 16.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/1.37, allocations: 364.6 kB / 0.6986 GB, free: 15.98 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 () * 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.001347/1.372, allocations: 0.5507 MB / 0.6991 GB, free: 15.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001158/1.373, allocations: 331.9 kB / 0.6994 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/1.378, allocations: 2.454 MB / 0.7018 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.074e-05/1.378, allocations: 18.11 kB / 0.7018 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/1.378, allocations: 3.5 kB / 0.7018 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.378, allocations: 3.797 kB / 0.7018 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01138/1.39, allocations: 6.291 MB / 0.708 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/1.39, allocations: 0 / 0.708 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009528/1.391, allocations: 197.8 kB / 0.7082 GB, free: 10.75 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001849/1.392, allocations: 0.7 MB / 0.7089 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/1.393, allocations: 20 kB / 0.7089 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004621/1.397, allocations: 4.339 MB / 0.7131 GB, free: 6.383 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/1.397, allocations: 4.719 kB / 0.7131 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006008/1.403, allocations: 4.527 MB / 0.7175 GB, free: 2.477 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001267/1.404, allocations: 394.5 kB / 0.7179 GB, free: 2.082 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003253/1.405, allocations: 20 kB / 0.7179 GB, free: 2.062 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.406, allocations: 72.7 kB / 0.718 GB, free: 2.016 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/1.406, allocations: 78.11 kB / 0.7181 GB, free: 1.969 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/1.406, allocations: 34.89 kB / 0.7181 GB, free: 1.938 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003781/1.41, allocations: 2.5 MB / 0.7206 GB, free: 15.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.41, allocations: 0 / 0.7206 GB, free: 15.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005778/1.416, allocations: 0.9087 MB / 0.7214 GB, free: 14.81 MB / 458.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 (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.007439/1.423, allocations: 5.333 MB / 0.7267 GB, free: 10.12 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008087/1.431, allocations: 4.277 MB / 0.7308 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/1.432, allocations: 0 / 0.7308 GB, free: 6.242 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001678/1.433, allocations: 1.15 MB / 0.732 GB, free: 5.195 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/1.436, allocations: 406.5 kB / 0.7323 GB, free: 4.855 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.457, allocations: 7.997 MB / 0.7401 GB, free: 13.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003473/1.46, allocations: 3.185 MB / 0.7433 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004991/1.466, allocations: 1.784 MB / 0.745 GB, free: 10.37 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002427/1.468, allocations: 1.749 MB / 0.7467 GB, free: 8.758 MB / 474.7 MB Notification: Performance of SimCode: time 1.563e-06/1.468, allocations: 0 / 0.7467 GB, free: 8.758 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4487/1.917, allocations: 70.96 MB / 0.816 GB, free: 92.38 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002211/1.917, allocations: 201.5 kB / 0.8162 GB, free: 92.16 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.32/6.237, allocations: 0 / 0.8162 GB, free: 92.16 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