Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.0009693/0.0009694, allocations: 180.8 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.229/1.229, allocations: 205.4 MB / 223.1 MB, free: 9.129 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007734/0.0007731, allocations: 92.92 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003111/0.0003111, allocations: 4 kB / 328.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2078, allocations: 47.57 MB / 375.9 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3143, allocations: 99.01 MB / 474.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/0.3146, allocations: 87.95 kB / 475 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3686/0.6832, allocations: 98.12 MB / 0.5597 GB, free: 57.05 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.6833, allocations: 0 / 0.5597 GB, free: 57.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002484/0.6835, allocations: 108 kB / 0.5598 GB, free: 56.95 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.0193/0.7028, allocations: 5.773 MB / 0.5654 GB, free: 51.1 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.7029, allocations: 12.03 kB / 0.5654 GB, free: 51.09 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003346/0.7063, allocations: 0.9273 MB / 0.5664 GB, free: 50.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00929/0.7156, allocations: 2.325 MB / 0.5686 GB, free: 47.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.7269, allocations: 4.953 MB / 0.5735 GB, free: 42.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.7272, allocations: 398.3 kB / 0.5738 GB, free: 42.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002211/0.7295, allocations: 0.5154 MB / 0.5743 GB, free: 41.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.7526, allocations: 13.02 MB / 0.5871 GB, free: 27.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002371/0.7529, allocations: 75.25 kB / 0.5871 GB, free: 27.67 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001464/0.7544, allocations: 243.9 kB / 0.5874 GB, free: 27.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001422/0.7558, allocations: 1.207 MB / 0.5885 GB, free: 26.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/0.7744, allocations: 11.24 MB / 0.5995 GB, free: 14.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2381/1.012, allocations: 57.16 MB / 0.6553 GB, free: 50.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0125/1.025, allocations: 5.2 MB / 0.6604 GB, free: 49.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009454/1.026, allocations: 0.6842 MB / 0.6611 GB, free: 49.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.434e-05/1.026, allocations: 58.69 kB / 0.6611 GB, free: 49.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 5.581e-06/1.026, allocations: 0 / 0.6611 GB, free: 49.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.05381/1.08, allocations: 25.67 MB / 0.6862 GB, free: 45.61 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.474e-05/1.08, allocations: 155.3 kB / 0.6864 GB, free: 45.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/1.084, allocations: 4.106 MB / 0.6904 GB, free: 45.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003431/1.085, allocations: 63.61 kB / 0.6904 GB, free: 45.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001423/1.086, allocations: 3.596 MB / 0.6939 GB, free: 43.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006866/1.087, allocations: 0.9464 MB / 0.6949 GB, free: 42.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/1.087, allocations: 142.6 kB / 0.695 GB, free: 42.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002524/1.088, allocations: 0.6003 MB / 0.6956 GB, free: 42.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003493/1.091, allocations: 3.052 MB / 0.6986 GB, free: 41.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004941/1.096, allocations: 7.103 MB / 0.7055 GB, free: 35.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005253/1.101, allocations: 4.55 MB / 0.7099 GB, free: 34.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-05/1.101, allocations: 41.69 kB / 0.71 GB, free: 34.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=912) (initialization): time 0.01463/1.116, allocations: 11.01 MB / 0.7207 GB, free: 30.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.823e-05/1.116, allocations: 71.95 kB / 0.7208 GB, free: 30.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/1.116, allocations: 140 kB / 0.7209 GB, free: 30.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002303/1.118, allocations: 1.143 MB / 0.7221 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/1.124, allocations: 1.741 MB / 0.7238 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005828/1.13, allocations: 6.032 MB / 0.7296 GB, free: 22.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005066/1.135, allocations: 436 kB / 0.7301 GB, free: 22.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/1.136, allocations: 438.9 kB / 0.7305 GB, free: 21.96 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 653 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (873): * Single equations (assignments): 869 * 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.004395/1.14, allocations: 2.432 MB / 0.7329 GB, free: 19.81 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.141, allocations: 422 kB / 0.7333 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009129/1.15, allocations: 5.599 MB / 0.7387 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-05/1.15, allocations: 25.83 kB / 0.7388 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.15, allocations: 7.828 kB / 0.7388 GB, free: 14.89 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.671e-05/1.15, allocations: 17.7 kB / 0.7388 GB, free: 14.88 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02/1.17, allocations: 12.21 MB / 0.7507 GB, free: 4.992 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.17, allocations: 7 kB / 0.7507 GB, free: 4.988 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.173, allocations: 0.5034 MB / 0.7512 GB, free: 4.594 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002145/1.175, allocations: 0.9391 MB / 0.7521 GB, free: 3.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002446/1.175, allocations: 50.23 kB / 0.7522 GB, free: 3.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005805/1.181, allocations: 5.757 MB / 0.7578 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/1.181, allocations: 4 kB / 0.7578 GB, free: 14.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01337/1.194, allocations: 9.85 MB / 0.7674 GB, free: 5.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/1.197, allocations: 0.9056 MB / 0.7683 GB, free: 4.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009652/1.198, allocations: 44.94 kB / 0.7683 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00232/1.201, allocations: 187.3 kB / 0.7685 GB, free: 3.973 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/1.201, allocations: 149.7 kB / 0.7687 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002081/1.201, allocations: 69.47 kB / 0.7687 GB, free: 3.758 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005119/1.206, allocations: 2.88 MB / 0.7715 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/1.206, allocations: 0 / 0.7715 GB, free: 0.8789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005923/1.212, allocations: 1.267 MB / 0.7728 GB, free: 15.61 MB / 442.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 221 * 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.01417/1.226, allocations: 11.21 MB / 0.7837 GB, free: 4.262 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01064/1.237, allocations: 7.316 MB / 0.7909 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/1.237, allocations: 0 / 0.7909 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/1.241, allocations: 2.736 MB / 0.7935 GB, free: 10.22 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/1.243, allocations: 466.7 kB / 0.794 GB, free: 9.777 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.243/1.486, allocations: 143.4 MB / 0.934 GB, free: 41.43 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003975/1.49, allocations: 3.91 MB / 0.9378 GB, free: 40.62 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005366/1.496, allocations: 2.325 MB / 0.9401 GB, free: 40.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002796/1.498, allocations: 2.349 MB / 0.9424 GB, free: 40.53 MB / 474.7 MB Notification: Performance of SimCode: time 9.12e-07/1.498, allocations: 3.562 kB / 0.9424 GB, free: 40.53 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/1.786, allocations: 96.85 MB / 1.037 GB, free: 141.4 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001576/1.786, allocations: 240.4 kB / 1.037 GB, free: 141.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.412/6.198, allocations: 3.938 kB / 1.037 GB, free: 141.2 MB / 474.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat does not exist to compare? outputFormat=mat