Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001277/0.001278, allocations: 171.9 kB / 14.1 MB, free: 1.223 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.469/1.469, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.0009427/0.0009428, allocations: 74.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.54e-05, allocations: 7.938 kB / 322.6 MB, free: 17.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08921/0.08927, allocations: 47.57 MB / 370.1 MB, free: 1.602 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3668/0.4561, allocations: 98.22 MB / 468.3 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002042/0.4563, allocations: 86.92 kB / 468.4 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4526/0.9089, allocations: 84.83 MB / 0.5403 GB, free: 91.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.9089, allocations: 1.438 kB / 0.5403 GB, free: 91.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003684/0.9093, allocations: 81.77 kB / 0.5404 GB, free: 91.09 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0207/0.93, allocations: 4.497 MB / 0.5448 GB, free: 89.39 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.9301, allocations: 9.906 kB / 0.5448 GB, free: 89.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003726/0.9339, allocations: 0.7725 MB / 0.5455 GB, free: 89.32 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.9451, allocations: 2.216 MB / 0.5477 GB, free: 89.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01327/0.9584, allocations: 4.473 MB / 0.552 GB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003443/0.9588, allocations: 322 kB / 0.5524 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002251/0.961, allocations: 432.4 kB / 0.5528 GB, free: 88.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.9853, allocations: 10.7 MB / 0.5632 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003653/0.9857, allocations: 67.11 kB / 0.5633 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001884/0.9876, allocations: 207.8 kB / 0.5635 GB, free: 85.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001635/0.9892, allocations: 1.006 MB / 0.5645 GB, free: 85.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01756/1.007, allocations: 8.844 MB / 0.5731 GB, free: 84.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05327/1.06, allocations: 48.99 MB / 0.6209 GB, free: 47.17 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009472/1.07, allocations: 3.477 MB / 0.6243 GB, free: 45.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002198/1.072, allocations: 1.776 MB / 0.6261 GB, free: 45.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00842/1.08, allocations: 4.378 MB / 0.6303 GB, free: 41.42 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.633e-05/1.08, allocations: 51.28 kB / 0.6304 GB, free: 41.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.839e-06/1.08, allocations: 0 / 0.6304 GB, free: 41.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=145): time 0.02095/1.101, allocations: 9.752 MB / 0.6399 GB, free: 32.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/1.101, allocations: 141.3 kB / 0.6401 GB, free: 32.69 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004743/1.106, allocations: 3.694 MB / 0.6437 GB, free: 29.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001956/1.106, allocations: 49.7 kB / 0.6437 GB, free: 29.33 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001398/1.108, allocations: 3.191 MB / 0.6468 GB, free: 26.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000438/1.108, allocations: 0.5824 MB / 0.6474 GB, free: 25.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/1.108, allocations: 120 kB / 0.6475 GB, free: 25.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/1.109, allocations: 0.5502 MB / 0.648 GB, free: 25.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002176/1.111, allocations: 1.917 MB / 0.6499 GB, free: 23.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003446/1.114, allocations: 5.733 MB / 0.6555 GB, free: 16.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003493/1.118, allocations: 3.28 MB / 0.6587 GB, free: 13.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-05/1.118, allocations: 40 kB / 0.6588 GB, free: 13.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=771) (initialization): time 0.01132/1.129, allocations: 8.109 MB / 0.6667 GB, free: 6.418 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.787e-05/1.129, allocations: 64 kB / 0.6667 GB, free: 6.355 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.129, allocations: 136 kB / 0.6669 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002119/1.132, allocations: 0.9258 MB / 0.6678 GB, free: 5.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00401/1.136, allocations: 1.384 MB / 0.6691 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005934/1.142, allocations: 4.769 MB / 0.6738 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005774/1.147, allocations: 335.1 kB / 0.6741 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009591/1.148, allocations: 380 kB / 0.6745 GB, free: 14.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 622 * Number of states: 0 () * Number of discrete variables: 36 (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.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 (732): * Single equations (assignments): 728 * 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.001056/1.149, allocations: 0.5756 MB / 0.675 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/1.15, allocations: 347.5 kB / 0.6754 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006198/1.156, allocations: 2.803 MB / 0.6781 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.127e-05/1.156, allocations: 20 kB / 0.6781 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.156, allocations: 4 kB / 0.6781 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/1.156, allocations: 7.969 kB / 0.6781 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/1.17, allocations: 6.95 MB / 0.6849 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.121e-05/1.17, allocations: 0 / 0.6849 GB, free: 3.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.171, allocations: 247.6 kB / 0.6851 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002017/1.173, allocations: 0.703 MB / 0.6858 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/1.173, allocations: 24 kB / 0.6859 GB, free: 2.688 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2547/1.428, allocations: 4.327 MB / 0.6901 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/1.428, allocations: 1.25 kB / 0.6901 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009149/1.437, allocations: 5.093 MB / 0.6951 GB, free: 93.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00213/1.44, allocations: 0.6168 MB / 0.6957 GB, free: 93.51 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004161/1.44, allocations: 23.73 kB / 0.6957 GB, free: 93.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0013/1.441, allocations: 86.08 kB / 0.6958 GB, free: 93.51 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/1.442, allocations: 85.25 kB / 0.6958 GB, free: 93.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001194/1.442, allocations: 42.14 kB / 0.6959 GB, free: 93.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005471/1.447, allocations: 2.57 MB / 0.6984 GB, free: 93.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.603e-06/1.447, allocations: 0 / 0.6984 GB, free: 93.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006849/1.454, allocations: 0.9692 MB / 0.6993 GB, free: 93.3 MB / 426.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 (114): * Single equations (assignments): 110 * 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.008304/1.462, allocations: 5.896 MB / 0.7051 GB, free: 92.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007433/1.47, allocations: 4.661 MB / 0.7096 GB, free: 92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/1.47, allocations: 1.641 kB / 0.7097 GB, free: 92 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001642/1.472, allocations: 1.328 MB / 0.7109 GB, free: 91.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/1.474, allocations: 411.5 kB / 0.7113 GB, free: 91.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/1.494, allocations: 8.55 MB / 0.7197 GB, free: 90.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002916/1.497, allocations: 3.321 MB / 0.7229 GB, free: 89.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004757/1.501, allocations: 1.876 MB / 0.7248 GB, free: 89.13 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002551/1.504, allocations: 1.851 MB / 0.7266 GB, free: 87.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/1.504, allocations: 0 / 0.7266 GB, free: 87.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1038/1.608, allocations: 74.53 MB / 0.7994 GB, free: 39.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/1.608, allocations: 198.6 kB / 0.7995 GB, free: 38.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.817/5.425, allocations: 0 / 0.7995 GB, free: 38.9 MB / 426.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat does not exist to compare? outputFormat=mat