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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008556/0.0008557, allocations: 100.6 kB / 17.3 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009273/0.0009275, allocations: 178.6 kB / 18.2 MB, free: 5.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.55/1.55, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004779/0.0004779, allocations: 8 kB / 281.4 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.09916, allocations: 47.59 MB / 329 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.04659/0.1458, allocations: 48.91 MB / 377.9 MB, free: 2.645 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2736/0.4194, allocations: 10.27 MB / 388.1 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01236/0.4318, allocations: 214.2 kB / 388.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001888/0.4337, allocations: 425 kB / 388.8 MB, free: 8.746 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.4399, allocations: 1.769 MB / 390.5 MB, free: 8.645 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.4417, allocations: 0.5185 MB / 391.1 MB, free: 8.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008421/0.4501, allocations: 5.512 MB / 396.6 MB, free: 8.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006847/0.457, allocations: 5.008 MB / 401.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002309/0.4594, allocations: 1.114 MB / 402.7 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002396/0.4618, allocations: 1.975 MB / 404.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.4622, allocations: 141.8 kB / 404.8 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.4641, allocations: 0.9255 MB / 405.7 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001403/0.4655, allocations: 1.719 MB / 407.4 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001651/0.4672, allocations: 2.011 MB / 409.5 MB, free: 2.402 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00654/0.4738, allocations: 6.654 MB / 416.1 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.4738, allocations: 0 / 416.1 MB, free: 14 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.916e-06/0.4738, allocations: 3.938 kB / 416.1 MB, free: 14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0002947/0.4741, allocations: 0 / 416.1 MB, free: 14 MB / 334.1 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.01759/0.4917, allocations: 4.383 MB / 420.5 MB, free: 9.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/0.4918, allocations: 8.031 kB / 420.5 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007781/0.4996, allocations: 1.941 MB / 422.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005324/0.5049, allocations: 2.337 MB / 424.8 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002038/0.5051, allocations: 239.1 kB / 425 MB, free: 5.375 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00105/0.5062, allocations: 318 kB / 425.3 MB, free: 5.102 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.5254, allocations: 10.73 MB / 436.1 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001182/0.5255, allocations: 43.58 kB / 436.1 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004342/0.526, allocations: 154.8 kB / 436.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003367/0.5294, allocations: 1.982 MB / 438.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01913/0.5485, allocations: 9.602 MB / 447.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04818/0.5967, allocations: 39.89 MB / 487.7 MB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01383/0.6106, allocations: 3.852 MB / 491.6 MB, free: 1.203 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002711/0.6133, allocations: 1.853 MB / 493.4 MB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005923/0.6139, allocations: 365.1 kB / 493.8 MB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.902e-05/0.614, allocations: 47.5 kB / 493.8 MB, free: 14.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.817e-06/0.614, allocations: 0 / 493.8 MB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=154): time 0.0467/0.6607, allocations: 13.79 MB / 0.4957 GB, free: 0.9727 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.6609, allocations: 145.5 kB / 0.4959 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008047/0.669, allocations: 4.163 MB / 0.4999 GB, free: 12.61 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005347/0.6695, allocations: 47.89 kB / 0.5 GB, free: 12.56 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002509/0.6721, allocations: 3.16 MB / 0.5031 GB, free: 9.402 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009639/0.673, allocations: 0.6192 MB / 0.5037 GB, free: 8.789 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000644/0.6737, allocations: 0.5031 MB / 0.5042 GB, free: 8.277 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.6738, allocations: 301.1 kB / 0.5045 GB, free: 7.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003258/0.6771, allocations: 2.147 MB / 0.5066 GB, free: 5.828 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005649/0.6827, allocations: 5.96 MB / 0.5124 GB, free: 13.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01047/0.6932, allocations: 8.785 MB / 0.521 GB, free: 3.258 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.891e-05/0.6934, allocations: 39.94 kB / 0.521 GB, free: 3.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.0175/0.7109, allocations: 8.588 MB / 0.5294 GB, free: 10.62 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.032e-05/0.711, allocations: 60 kB / 0.5294 GB, free: 10.56 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001607/0.7112, allocations: 140 kB / 0.5296 GB, free: 10.42 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/0.7138, allocations: 0.9182 MB / 0.5305 GB, free: 9.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/0.7188, allocations: 1.4 MB / 0.5318 GB, free: 8.098 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006976/0.7258, allocations: 4.867 MB / 0.5366 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005679/0.7316, allocations: 323.6 kB / 0.5369 GB, free: 2.777 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/0.7329, allocations: 391.1 kB / 0.5373 GB, free: 2.398 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (740): * Single equations (assignments): 736 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004663/0.7376, allocations: 2.103 MB / 0.5393 GB, free: 292 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.2269/0.9645, allocations: 350.3 kB / 0.5397 GB, free: 175.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/0.9721, allocations: 3.15 MB / 0.5427 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/0.9722, allocations: 18.75 kB / 0.5427 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.355e-05/0.9722, allocations: 11.75 kB / 0.5428 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/0.9722, allocations: 6.516 kB / 0.5428 GB, free: 175 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01619/0.9884, allocations: 7.833 MB / 0.5504 GB, free: 172.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-05/0.9885, allocations: 1.812 kB / 0.5504 GB, free: 172.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.9897, allocations: 260.7 kB / 0.5507 GB, free: 172.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.9919, allocations: 0.7184 MB / 0.5514 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001719/0.9921, allocations: 38.64 kB / 0.5514 GB, free: 172.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005217/0.9973, allocations: 4.413 MB / 0.5557 GB, free: 170.1 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9974, allocations: 0.8125 kB / 0.5557 GB, free: 170.1 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008035/1.005, allocations: 5.698 MB / 0.5613 GB, free: 168.1 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001344/1.007, allocations: 0.6325 MB / 0.5619 GB, free: 167.9 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003803/1.007, allocations: 24.95 kB / 0.5619 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/1.008, allocations: 85.28 kB / 0.562 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/1.009, allocations: 108.8 kB / 0.5621 GB, free: 167.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.009, allocations: 60.38 kB / 0.5622 GB, free: 167.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003645/1.013, allocations: 2.607 MB / 0.5647 GB, free: 166.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.3e-07/1.013, allocations: 0 / 0.5647 GB, free: 166.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004502/1.017, allocations: 0.9641 MB / 0.5656 GB, free: 166.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (123): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003532/1.017, allocations: 152.2 kB / 0.5658 GB, free: 166.7 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006822/1.024, allocations: 5.092 MB / 0.5708 GB, free: 164.8 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.533e-06/1.024, allocations: 3.844 kB / 0.5708 GB, free: 164.8 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001908/1.026, allocations: 1.54 MB / 0.5723 GB, free: 163.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.03, allocations: 419.8 kB / 0.5727 GB, free: 163.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/1.046, allocations: 11.13 MB / 0.5835 GB, free: 152.1 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002968/1.049, allocations: 3.236 MB / 0.5867 GB, free: 148.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004216/1.053, allocations: 1.938 MB / 0.5886 GB, free: 146.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/1.053, allocations: 263.3 kB / 0.5889 GB, free: 146.7 MB / 462.1 MB Notification: Performance of SimCode: time 1.793e-06/1.053, allocations: 4 kB / 0.5889 GB, free: 146.7 MB / 462.1 MB Notification: Performance of Templates: time 0.05831/1.112, allocations: 35.26 MB / 0.6233 GB, free: 111.4 MB / 462.1 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