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: 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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001357/0.001357, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.714/1.714, allocations: 205.3 MB / 214.4 MB, free: 1.668 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008773/0.0008772, allocations: 86.7 kB / 262.4 MB, free: 1.613 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.73e-05, allocations: 0 / 315.5 MB, free: 22.7 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 47.59 MB / 363.1 MB, free: 7.059 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5242, allocations: 97.79 MB / 460.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/0.5245, allocations: 85.52 kB / 461 MB, free: 14.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.21/0.7345, allocations: 83.18 MB / 0.5314 GB, free: 28 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.7345, allocations: 0 / 0.5314 GB, free: 28 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.2716/1.006, allocations: 79.67 kB / 0.5315 GB, free: 92.2 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.02158/1.028, allocations: 4.482 MB / 0.5358 GB, free: 91.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.028, allocations: 10.2 kB / 0.5358 GB, free: 91.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01201/1.04, allocations: 2.217 MB / 0.538 GB, free: 91.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01418/1.054, allocations: 4.468 MB / 0.5424 GB, free: 90.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003686/1.054, allocations: 137.4 kB / 0.5425 GB, free: 90.74 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002117/1.057, allocations: 257.7 kB / 0.5427 GB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01271/1.069, allocations: 6.342 MB / 0.5489 GB, free: 90.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01906/1.088, allocations: 9.682 MB / 0.5584 GB, free: 87.9 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001844/1.089, allocations: 64.23 kB / 0.5585 GB, free: 87.9 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005798/1.089, allocations: 32.44 kB / 0.5585 GB, free: 87.9 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001358/1.091, allocations: 1.001 MB / 0.5595 GB, free: 87.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04639/1.137, allocations: 47.01 MB / 0.6054 GB, free: 55.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0035/1.141, allocations: 3.221 MB / 0.6085 GB, free: 53.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001707/1.142, allocations: 1.735 MB / 0.6102 GB, free: 52.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006407/1.149, allocations: 4.243 MB / 0.6144 GB, free: 50.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/1.149, allocations: 50.41 kB / 0.6144 GB, free: 50.11 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 4.809e-06/1.149, allocations: 3.406 kB / 0.6144 GB, free: 50.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=146): time 0.01949/1.168, allocations: 12.05 MB / 0.6262 GB, free: 44.81 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/1.168, allocations: 145.7 kB / 0.6263 GB, free: 44.65 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/1.173, allocations: 3.16 MB / 0.6294 GB, free: 42.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002324/1.173, allocations: 25.7 kB / 0.6294 GB, free: 42.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001434/1.174, allocations: 3.257 MB / 0.6326 GB, free: 39.51 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005273/1.175, allocations: 0.5766 MB / 0.6332 GB, free: 39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000186/1.175, allocations: 0 / 0.6332 GB, free: 39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000265/1.175, allocations: 0.5734 MB / 0.6337 GB, free: 38.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002158/1.178, allocations: 1.859 MB / 0.6355 GB, free: 36.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003723/1.181, allocations: 5.816 MB / 0.6412 GB, free: 29.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/1.185, allocations: 3.252 MB / 0.6444 GB, free: 26.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-05/1.185, allocations: 47.94 kB / 0.6444 GB, free: 26.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.01154/1.197, allocations: 7.44 MB / 0.6517 GB, free: 20.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.135e-05/1.197, allocations: 68 kB / 0.6518 GB, free: 20.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001195/1.197, allocations: 140 kB / 0.6519 GB, free: 19.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/1.199, allocations: 0.9224 MB / 0.6528 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004029/1.203, allocations: 1.444 MB / 0.6542 GB, free: 18.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/1.208, allocations: 4.616 MB / 0.6587 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005138/1.213, allocations: 213.5 kB / 0.6589 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001128/1.214, allocations: 400 kB / 0.6593 GB, free: 13.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * 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 (763): * Single equations (assignments): 759 * 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.0008251/1.215, allocations: 453.7 kB / 0.6597 GB, free: 12.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00061/1.216, allocations: 319.8 kB / 0.6601 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004584/1.22, allocations: 2.718 MB / 0.6627 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.189e-05/1.22, allocations: 20 kB / 0.6627 GB, free: 10.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/1.22, allocations: 7.656 kB / 0.6627 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/1.22, allocations: 3.797 kB / 0.6627 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.231, allocations: 6.123 MB / 0.6687 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/1.231, allocations: 0 / 0.6687 GB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.232, allocations: 248.5 kB / 0.669 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/1.234, allocations: 0.6916 MB / 0.6696 GB, free: 4.961 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/1.234, allocations: 8 kB / 0.6696 GB, free: 4.953 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004213/1.238, allocations: 4.18 MB / 0.6737 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/1.238, allocations: 4 kB / 0.6737 GB, free: 0.7617 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007742/1.246, allocations: 4.985 MB / 0.6786 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.248, allocations: 0.5749 MB / 0.6792 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003904/1.248, allocations: 4 kB / 0.6792 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/1.25, allocations: 71.83 kB / 0.6792 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002882/1.25, allocations: 80.66 kB / 0.6793 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/1.25, allocations: 40 kB / 0.6793 GB, free: 10.95 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00404/1.254, allocations: 2.097 MB / 0.6814 GB, free: 8.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.254, allocations: 0 / 0.6814 GB, free: 8.867 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005725/1.26, allocations: 0.832 MB / 0.6822 GB, free: 8.035 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 (115): * Single equations (assignments): 111 * 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.000491/1.26, allocations: 143 kB / 0.6823 GB, free: 7.887 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007553/1.268, allocations: 4.462 MB / 0.6867 GB, free: 3.441 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.268, allocations: 4 kB / 0.6867 GB, free: 3.438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001914/1.27, allocations: 1.289 MB / 0.688 GB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.272, allocations: 318.3 kB / 0.6883 GB, free: 1.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2715/1.544, allocations: 7.125 MB / 0.6952 GB, free: 94.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004553/1.548, allocations: 3.324 MB / 0.6985 GB, free: 93.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006198/1.555, allocations: 1.909 MB / 0.7003 GB, free: 93.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000831/1.555, allocations: 228.2 kB / 0.7005 GB, free: 93.69 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/1.555, allocations: 2.812 kB / 0.7005 GB, free: 93.69 MB / 426.7 MB Notification: Performance of Templates: time 0.05204/1.607, allocations: 28.24 MB / 0.7281 GB, free: 92.47 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches