Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") translateModel(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|axis.controller.PI.x|axis.gear.spring.phi_rel|axis.gear.spring.w_rel|axis.initializeFlange.phi_flange|axis.initializeFlange.w_flange|axis.motor.C.v|axis.motor.La.i|axis.gear.bearingFriction.mode|axis.gear.bearingFriction.startBackward|axis.gear.bearingFriction.startForward",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 177.9 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.353/1.353, allocations: 205.6 MB / 223.7 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008153/0.0008152, allocations: 91.12 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002795, allocations: 4 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2359, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis): time 0.006839/0.2428, allocations: 8.067 MB / 384.7 MB, free: 39.24 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004057/0.2469, allocations: 2.382 MB / 387.1 MB, free: 37.18 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007146/0.2476, allocations: 29.81 kB / 387.1 MB, free: 37.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005515/0.2482, allocations: 257.8 kB / 387.4 MB, free: 36.97 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008807/0.2491, allocations: 414.7 kB / 387.8 MB, free: 36.62 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008767/0.25, allocations: 0.5721 MB / 388.3 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002001/0.252, allocations: 2.162 MB / 390.5 MB, free: 34.54 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.2531, allocations: 0.9874 MB / 391.5 MB, free: 33.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000927/0.254, allocations: 0.6067 MB / 392.1 MB, free: 32.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005704/0.2546, allocations: 0.6724 MB / 392.8 MB, free: 32.22 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.2548, allocations: 80 kB / 392.8 MB, free: 32.14 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000245/0.255, allocations: 116 kB / 392.9 MB, free: 32.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001998/0.2552, allocations: 298.7 kB / 393.2 MB, free: 31.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005083/0.2557, allocations: 0.7789 MB / 394 MB, free: 30.95 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.2574, allocations: 3.048 MB / 397.1 MB, free: 27.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.2574, allocations: 0 / 397.1 MB, free: 27.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2575, allocations: 4 kB / 397.1 MB, free: 27.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.301e-05/0.2575, allocations: 3.938 kB / 397.1 MB, free: 27.88 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 389 * Number of variables: 389 Notification: Performance of Generate backend data structure: time 0.002487/0.26, allocations: 1.624 MB / 398.7 MB, free: 26.2 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.26, allocations: 12.02 kB / 398.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002136/0.2602, allocations: 182.9 kB / 398.9 MB, free: 26.01 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008652/0.2611, allocations: 0.8264 MB / 399.7 MB, free: 25.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002047/0.2613, allocations: 240.7 kB / 400 MB, free: 24.89 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001799/0.2615, allocations: 167.8 kB / 400.1 MB, free: 24.73 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.2641, allocations: 1.686 MB / 401.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.731e-05/0.2642, allocations: 3.906 kB / 401.8 MB, free: 23.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.2643, allocations: 64 kB / 401.9 MB, free: 22.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.2643, allocations: 36 kB / 401.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002703/0.267, allocations: 1.577 MB / 403.5 MB, free: 21.33 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006693/0.2737, allocations: 5.974 MB / 409.5 MB, free: 15.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.2753, allocations: 0.9526 MB / 410.4 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008223/0.2762, allocations: 0.5357 MB / 410.9 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.661e-05/0.2762, allocations: 13 kB / 411 MB, free: 13.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009925/0.2772, allocations: 0.6762 MB / 411.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of pre-optimization done (n=90): time 3.376e-06/0.2773, allocations: 0 / 411.6 MB, free: 12.89 MB / 298.7 MB Notification: Performance of matching and sorting (n=120): time 0.0281/0.3054, allocations: 9.841 MB / 421.5 MB, free: 2.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.3055, allocations: 299.7 kB / 421.8 MB, free: 2.566 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008972/0.3064, allocations: 0.7778 MB / 422.5 MB, free: 1.781 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.523e-05/0.3065, allocations: 61.67 kB / 422.6 MB, free: 1.715 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003591/0.3069, allocations: 0.6661 MB / 423.3 MB, free: 1.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002352/0.3071, allocations: 402.2 kB / 423.7 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/0.3072, allocations: 28 kB / 423.7 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.3073, allocations: 410.7 kB / 424.1 MB, free: 204 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001759/0.3091, allocations: 0.8394 MB / 424.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002038/0.3111, allocations: 1.169 MB / 426.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003353/0.3145, allocations: 1.721 MB / 427.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.3145, allocations: 0 / 427.8 MB, free: 12.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004384/0.3189, allocations: 2.131 MB / 429.9 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3189, allocations: 15.98 kB / 430 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.3189, allocations: 8 kB / 430 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004042/0.3194, allocations: 174.5 kB / 430.1 MB, free: 9.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001595/0.321, allocations: 371.5 kB / 430.5 MB, free: 9.547 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003794/0.3248, allocations: 4.477 MB / 435 MB, free: 4.672 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.3262, allocations: 195.9 kB / 435.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.3263, allocations: 51.98 kB / 435.2 MB, free: 4.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 12 (axis.gear.bearingFriction.free,$whenCondition1,$PRE.axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startForward,$PRE.axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,$PRE.axis.gear.bearingFriction.mode,axis.gear.bearingFriction.mode,pathPlanning.path.noWphase,pathPlanning.pathToAxis1.moving[1],pathPlanning.terminateSimulation.condition) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (168): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007196/0.3271, allocations: 387.3 kB / 435.6 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.3272, allocations: 118.6 kB / 435.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3275, allocations: 134 kB / 435.9 MB, free: 3.789 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/0.3275, allocations: 12 kB / 435.9 MB, free: 3.777 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.3275, allocations: 3.984 kB / 435.9 MB, free: 3.773 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.3275, allocations: 3.984 kB / 435.9 MB, free: 3.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00739/0.3349, allocations: 4.529 MB / 440.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.335, allocations: 8 kB / 440.4 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.3361, allocations: 283.6 kB / 440.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005311/0.3366, allocations: 357.5 kB / 441 MB, free: 14.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/0.3367, allocations: 43.98 kB / 441.1 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001596/0.3383, allocations: 2.18 MB / 443.3 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/0.3383, allocations: 16.22 kB / 443.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00473/0.3431, allocations: 2.606 MB / 445.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.3437, allocations: 319.7 kB / 446.2 MB, free: 8.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.3439, allocations: 51.98 kB / 446.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009765/0.3449, allocations: 171.9 kB / 446.4 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000334/0.3452, allocations: 172.2 kB / 446.6 MB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/0.3453, allocations: 40 kB / 446.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000771/0.3461, allocations: 0.5264 MB / 447.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3461, allocations: 0 / 447.1 MB, free: 7.969 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001188/0.3473, allocations: 344 kB / 447.5 MB, free: 7.633 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 7 (axis.gear.spring.phi_rel,axis.gear.spring.w_rel,axis.motor.La.i,axis.motor.C.v,axis.motor.Jmotor.w,axis.controller.PI.x,axis.initializeFlange.phi_flange) * Number of discrete variables: 8 (pathPlanning.terminateSimulation.condition,$whenCondition1,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward,axis.gear.bearingFriction.locked,axis.gear.bearingFriction.mode,pathPlanning.pathToAxis1.moving[1],pathPlanning.path.noWphase) * Number of discrete states: 3 (axis.gear.bearingFriction.mode,axis.gear.bearingFriction.startForward,axis.gear.bearingFriction.startBackward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003197/0.3476, allocations: 192.9 kB / 447.7 MB, free: 7.438 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004064/0.3517, allocations: 2.097 MB / 449.8 MB, free: 5.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3517, allocations: 4 kB / 449.8 MB, free: 5.293 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.3538, allocations: 1.088 MB / 450.9 MB, free: 4.195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001905/0.3557, allocations: 186.9 kB / 451 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006227/0.362, allocations: 3.906 MB / 454.9 MB, free: 15.95 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009037/0.3629, allocations: 1.178 MB / 456.1 MB, free: 14.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000944/0.3638, allocations: 168.4 kB / 456.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.3642, allocations: 75.44 kB / 456.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of SimCode: time 6.81e-07/0.3642, allocations: 0 / 456.4 MB, free: 14.49 MB / 346.7 MB Notification: Performance of Templates: time 0.03154/0.3958, allocations: 17.46 MB / 473.8 MB, free: 13.06 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.makefile (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Systems/RobotR3/oneAxis/oneAxis.csv","../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches