Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001651/0.001651, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002128/0.002128, allocations: 207.2 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001624, allocations: 55.92 kB / 378.2 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2742, allocations: 53.37 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0134/0.2876, allocations: 9.664 MB / 441.2 MB, free: 13.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01172/0.2993, allocations: 3.641 MB / 444.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.3024, allocations: 87.56 kB / 445 MB, free: 9.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006111/0.3085, allocations: 2.605 MB / 447.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005604/0.3141, allocations: 1.802 MB / 449.4 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.316, allocations: 0.5849 MB / 450 MB, free: 4.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006324/0.3223, allocations: 3.574 MB / 453.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005034/0.3273, allocations: 2.732 MB / 456.3 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003692/0.331, allocations: 1.484 MB / 457.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004353/0.3354, allocations: 2.134 MB / 459.9 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001359/0.3367, allocations: 316 kB / 460.2 MB, free: 9.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002871/0.3396, allocations: 0.9596 MB / 461.1 MB, free: 8.984 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002898/0.3425, allocations: 1.839 MB / 463 MB, free: 7.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002881/0.3454, allocations: 1.534 MB / 464.5 MB, free: 5.598 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.3545, allocations: 6.7 MB / 471.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.3545, allocations: 0 / 471.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3546, allocations: 0 / 471.2 MB, free: 14.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002271/0.3548, allocations: 4 kB / 471.2 MB, free: 14.87 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02103/0.3758, allocations: 5.093 MB / 476.3 MB, free: 9.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.3759, allocations: 8.031 kB / 476.3 MB, free: 9.711 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007553/0.3834, allocations: 1.878 MB / 478.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006498/0.3899, allocations: 2.189 MB / 480.4 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002761/0.3902, allocations: 221.7 kB / 480.6 MB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/0.3917, allocations: 299.8 kB / 480.9 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0218/0.4135, allocations: 10.02 MB / 490.9 MB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.4136, allocations: 43.62 kB / 491 MB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004674/0.4141, allocations: 147.9 kB / 491.1 MB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003463/0.4176, allocations: 1.809 MB / 492.9 MB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02008/0.4377, allocations: 8.947 MB / 0.4901 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05509/0.4927, allocations: 35.34 MB / 0.5246 GB, free: 11.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01425/0.507, allocations: 3.039 MB / 0.5276 GB, free: 7.961 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002563/0.5096, allocations: 1.583 MB / 0.5291 GB, free: 6.367 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000581/0.5101, allocations: 116.5 kB / 0.5292 GB, free: 6.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.233e-05/0.5102, allocations: 47.22 kB / 0.5293 GB, free: 6.195 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 5.179e-06/0.5102, allocations: 3.938 kB / 0.5293 GB, free: 6.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2403/0.7505, allocations: 12.74 MB / 0.5417 GB, free: 98.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.7506, allocations: 140.8 kB / 0.5419 GB, free: 98.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003876/0.7545, allocations: 3.736 MB / 0.5455 GB, free: 97.51 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001529/0.7546, allocations: 45.52 kB / 0.5456 GB, free: 97.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001169/0.7558, allocations: 3.158 MB / 0.5486 GB, free: 95.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000374/0.7562, allocations: 0.5633 MB / 0.5492 GB, free: 94.84 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.7573, allocations: 1.175 MB / 0.5503 GB, free: 94.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.54e-05/0.7573, allocations: 308.8 kB / 0.5506 GB, free: 93.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.7594, allocations: 1.96 MB / 0.5525 GB, free: 93.37 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.7625, allocations: 5.654 MB / 0.5581 GB, free: 87.75 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005839/0.7683, allocations: 8.257 MB / 0.5661 GB, free: 78.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.912e-05/0.7684, allocations: 40 kB / 0.5662 GB, free: 78.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01212/0.7805, allocations: 8.039 MB / 0.574 GB, free: 70.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.633e-05/0.7806, allocations: 64 kB / 0.5741 GB, free: 70.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-05/0.7807, allocations: 132 kB / 0.5742 GB, free: 70.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002075/0.7828, allocations: 0.9114 MB / 0.5751 GB, free: 69.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.7862, allocations: 1.314 MB / 0.5764 GB, free: 68.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005095/0.7913, allocations: 5.026 MB / 0.5813 GB, free: 63.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/0.7949, allocations: 319.6 kB / 0.5816 GB, free: 62.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003824/0.7953, allocations: 371.2 kB / 0.5819 GB, free: 62.51 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,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 (699): * Single equations (assignments): 695 * 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.002145/0.7975, allocations: 1.978 MB / 0.5839 GB, free: 60.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004016/0.7979, allocations: 309.9 kB / 0.5842 GB, free: 60.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/0.8018, allocations: 2.719 MB / 0.5868 GB, free: 57.48 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.8018, allocations: 16 kB / 0.5868 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.8018, allocations: 4 kB / 0.5868 GB, free: 57.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.8018, allocations: 7.969 kB / 0.5869 GB, free: 57.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009629/0.8114, allocations: 6.077 MB / 0.5928 GB, free: 51.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.8114, allocations: 0 / 0.5928 GB, free: 51.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009643/0.8124, allocations: 215.7 kB / 0.593 GB, free: 51.14 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/0.8142, allocations: 0.7209 MB / 0.5937 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.766e-05/0.8143, allocations: 31.97 kB / 0.5937 GB, free: 50.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/0.8188, allocations: 4.589 MB / 0.5982 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.8188, allocations: 96 / 0.5982 GB, free: 45.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005871/0.8246, allocations: 5.063 MB / 0.6032 GB, free: 40.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006673/0.8253, allocations: 277.8 kB / 0.6034 GB, free: 40.35 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003039/0.8256, allocations: 23.94 kB / 0.6034 GB, free: 40.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.8269, allocations: 67.91 kB / 0.6035 GB, free: 40.26 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002208/0.8271, allocations: 96.47 kB / 0.6036 GB, free: 40.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.8272, allocations: 43.98 kB / 0.6036 GB, free: 40.12 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002326/0.8295, allocations: 2.146 MB / 0.6057 GB, free: 37.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8295, allocations: 0 / 0.6057 GB, free: 37.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00401/0.8335, allocations: 0.8788 MB / 0.6066 GB, free: 37.11 MB / 446.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 (101): * Single equations (assignments): 97 * 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.0003214/0.8338, allocations: 154.4 kB / 0.6067 GB, free: 36.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005504/0.8393, allocations: 4.535 MB / 0.6112 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8393, allocations: 0 / 0.6112 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001384/0.8407, allocations: 1.271 MB / 0.6124 GB, free: 31.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/0.8427, allocations: 364.7 kB / 0.6128 GB, free: 30.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.8538, allocations: 8.442 MB / 0.621 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002393/0.8562, allocations: 2.514 MB / 0.6235 GB, free: 19.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003261/0.8595, allocations: 1.78 MB / 0.6252 GB, free: 18.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005334/0.86, allocations: 231.3 kB / 0.6254 GB, free: 17.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.523e-06/0.86, allocations: 4 kB / 0.6254 GB, free: 17.78 MB / 446.1 MB Notification: Performance of Templates: time 0.06574/0.9257, allocations: 34.45 MB / 0.6591 GB, free: 15.78 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.385932459961623]