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: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 196 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 226.5 MB / 245.4 MB, free: 8.199 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008633/0.0008634, allocations: 100.5 kB / 297.5 MB, free: 6.871 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002464/0.0002468, allocations: 8 kB / 358.1 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2182, allocations: 51.29 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1117/0.3299, allocations: 99.97 MB / 0.4974 GB, free: 7.508 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.3302, allocations: 87.95 kB / 0.4975 GB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3709/0.7011, allocations: 81.04 MB / 0.5766 GB, free: 35.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.7012, allocations: 0 / 0.5766 GB, free: 35.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002369/0.7014, allocations: 76 kB / 0.5767 GB, free: 35.2 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.0168/0.7182, allocations: 4.491 MB / 0.5811 GB, free: 30.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.7183, allocations: 8.031 kB / 0.5811 GB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008934/0.7272, allocations: 2.175 MB / 0.5832 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/0.7337, allocations: 3.084 MB / 0.5862 GB, free: 25.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002407/0.7339, allocations: 309.1 kB / 0.5865 GB, free: 25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00167/0.7356, allocations: 407.8 kB / 0.5869 GB, free: 24.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.7556, allocations: 10.3 MB / 0.597 GB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002578/0.7559, allocations: 71.39 kB / 0.5971 GB, free: 13.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001492/0.7574, allocations: 199.9 kB / 0.5972 GB, free: 12.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00132/0.7587, allocations: 0.9277 MB / 0.5981 GB, free: 12.04 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.7746, allocations: 8.536 MB / 0.6065 GB, free: 3.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05035/0.825, allocations: 47.31 MB / 0.6527 GB, free: 2.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/0.8341, allocations: 3.263 MB / 0.6559 GB, free: 15.23 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002274/0.8364, allocations: 1.633 MB / 0.6575 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007282/0.8437, allocations: 4.044 MB / 0.6614 GB, free: 9.387 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.8438, allocations: 51.06 kB / 0.6615 GB, free: 9.328 MB / 442.7 MB Notification: Performance of pre-optimization done (n=118): time 3.767e-06/0.8438, allocations: 4 kB / 0.6615 GB, free: 9.324 MB / 442.7 MB Notification: Performance of matching and sorting (n=124): time 0.243/1.087, allocations: 10.88 MB / 0.6721 GB, free: 106.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/1.087, allocations: 144.4 kB / 0.6722 GB, free: 106 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005508/1.092, allocations: 4.069 MB / 0.6762 GB, free: 105.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.093, allocations: 39.7 kB / 0.6762 GB, free: 105.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001719/1.094, allocations: 3.079 MB / 0.6792 GB, free: 104.7 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006167/1.095, allocations: 0.5186 MB / 0.6798 GB, free: 104.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002082/1.095, allocations: 108.5 kB / 0.6799 GB, free: 104.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002642/1.096, allocations: 0.5452 MB / 0.6804 GB, free: 104.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002649/1.098, allocations: 1.816 MB / 0.6822 GB, free: 104.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/1.102, allocations: 5.53 MB / 0.6876 GB, free: 99.31 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007775/1.11, allocations: 7.99 MB / 0.6954 GB, free: 94.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000148/1.11, allocations: 39.16 kB / 0.6954 GB, free: 94.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=733) (initialization): time 0.01482/1.125, allocations: 7.75 MB / 0.703 GB, free: 93.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.43e-05/1.125, allocations: 66.25 kB / 0.703 GB, free: 93.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001599/1.125, allocations: 133.4 kB / 0.7032 GB, free: 93.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00217/1.127, allocations: 0.8972 MB / 0.704 GB, free: 93.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004215/1.132, allocations: 1.308 MB / 0.7053 GB, free: 93.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005051/1.137, allocations: 4.782 MB / 0.71 GB, free: 90.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004381/1.141, allocations: 311.1 kB / 0.7103 GB, free: 90.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001015/1.142, allocations: 360.5 kB / 0.7106 GB, free: 90.49 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.003544/1.146, allocations: 2.006 MB / 0.7126 GB, free: 89.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006872/1.146, allocations: 335 kB / 0.7129 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/1.151, allocations: 2.495 MB / 0.7153 GB, free: 88.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-05/1.151, allocations: 19.8 kB / 0.7154 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.749e-06/1.151, allocations: 10.19 kB / 0.7154 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.151, allocations: 3.516 kB / 0.7154 GB, free: 88.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009993/1.161, allocations: 6.322 MB / 0.7215 GB, free: 86.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/1.161, allocations: 0 / 0.7215 GB, free: 86.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008974/1.162, allocations: 199 kB / 0.7217 GB, free: 86.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/1.163, allocations: 0.6926 MB / 0.7224 GB, free: 86.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.164, allocations: 22.23 kB / 0.7224 GB, free: 86.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/1.168, allocations: 4.357 MB / 0.7267 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.168, allocations: 3.75 kB / 0.7267 GB, free: 83.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005895/1.174, allocations: 4.532 MB / 0.7311 GB, free: 81.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.175, allocations: 389.5 kB / 0.7315 GB, free: 81.58 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003238/1.175, allocations: 23.81 kB / 0.7315 GB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/1.176, allocations: 71.31 kB / 0.7316 GB, free: 81.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002257/1.177, allocations: 68 kB / 0.7316 GB, free: 81.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/1.177, allocations: 42.44 kB / 0.7317 GB, free: 81.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003814/1.18, allocations: 2.533 MB / 0.7342 GB, free: 80.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 2e-07/1.18, allocations: 0 / 0.7342 GB, free: 80.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004915/1.185, allocations: 0.9106 MB / 0.735 GB, free: 79.94 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.0003941/1.186, allocations: 164.3 kB / 0.7352 GB, free: 79.78 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006168/1.192, allocations: 4.362 MB / 0.7395 GB, free: 75.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/1.192, allocations: 3 kB / 0.7395 GB, free: 75.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/1.194, allocations: 1.181 MB / 0.7406 GB, free: 74.91 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.196, allocations: 407.4 kB / 0.741 GB, free: 74.57 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/1.21, allocations: 9.77 MB / 0.7505 GB, free: 65.64 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0029/1.213, allocations: 3.098 MB / 0.7536 GB, free: 63.21 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004278/1.217, allocations: 1.794 MB / 0.7553 GB, free: 62.09 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000527/1.218, allocations: 225.8 kB / 0.7555 GB, free: 61.88 MB / 442.7 MB Notification: Performance of SimCode: time 1.223e-06/1.218, allocations: 0 / 0.7555 GB, free: 61.88 MB / 442.7 MB Notification: Performance of Templates: time 0.05208/1.27, allocations: 31.22 MB / 0.786 GB, free: 35.71 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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 & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches