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.001825/0.001825, allocations: 84.55 kB / 20.68 MB, free: 1.023 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.002119/0.002119, allocations: 163.9 kB / 23.95 MB, free: 4.148 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.461/1.461, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.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 1.573e-06/1.573e-06, allocations: 0 / 325.1 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.964e-05/3.121e-05, allocations: 3.375 kB / 325.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01292/0.01295, allocations: 9.693 MB / 334.8 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.02305, allocations: 3.654 MB / 338.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00294/0.02599, allocations: 72.41 kB / 338.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006354/0.03235, allocations: 2.751 MB / 341.2 MB, free: 4.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005578/0.03792, allocations: 1.865 MB / 343.1 MB, free: 3.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.03971, allocations: 0.6236 MB / 343.7 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005796/0.04551, allocations: 3.971 MB / 347.7 MB, free: 14.47 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004728/0.05024, allocations: 2.993 MB / 350.7 MB, free: 11.41 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.05547, allocations: 2.202 MB / 352.9 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004782/0.06025, allocations: 2.104 MB / 355 MB, free: 7.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001001/0.06125, allocations: 320 kB / 355.3 MB, free: 6.785 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002658/0.06391, allocations: 0.9907 MB / 356.3 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002446/0.06635, allocations: 1.913 MB / 358.2 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002025/0.06838, allocations: 1.203 MB / 359.4 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.0765, allocations: 6.698 MB / 366.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.0765, allocations: 0 / 366.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.522e-06/0.0765, allocations: 0 / 366.1 MB, free: 11.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001642/0.07667, allocations: 0 / 366.1 MB, free: 11.95 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01858/0.09525, allocations: 5.257 MB / 371.4 MB, free: 6.633 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.09529, allocations: 8.031 kB / 371.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007259/0.1025, allocations: 1.917 MB / 373.3 MB, free: 4.703 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00458/0.1071, allocations: 2.185 MB / 375.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/0.1073, allocations: 229.8 kB / 375.7 MB, free: 2.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006768/0.108, allocations: 295.8 kB / 376 MB, free: 1.953 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/0.1273, allocations: 10.1 MB / 386.1 MB, free: 7.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.1274, allocations: 39.64 kB / 386.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004366/0.1278, allocations: 151.9 kB / 386.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003348/0.1312, allocations: 1.805 MB / 388.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.1498, allocations: 9.029 MB / 397.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04769/0.1975, allocations: 35.52 MB / 432.6 MB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/0.2119, allocations: 3.225 MB / 435.8 MB, free: 4.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/0.2143, allocations: 1.577 MB / 437.4 MB, free: 2.723 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004886/0.2148, allocations: 128.4 kB / 437.5 MB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/0.2148, allocations: 47.16 kB / 437.6 MB, free: 2.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=127): time 4.519e-06/0.2148, allocations: 0 / 437.6 MB, free: 2.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=133): time 0.048/0.2628, allocations: 13.31 MB / 450.9 MB, free: 5.172 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.263, allocations: 149 kB / 451.1 MB, free: 4.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005637/0.2686, allocations: 3.819 MB / 454.9 MB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002623/0.2689, allocations: 45.7 kB / 454.9 MB, free: 1.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002693/0.2716, allocations: 3.117 MB / 458 MB, free: 13.97 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008473/0.2724, allocations: 0.5623 MB / 458.6 MB, free: 13.4 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.2741, allocations: 1.167 MB / 459.8 MB, free: 12.22 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.2743, allocations: 301.1 kB / 460.1 MB, free: 11.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003147/0.2774, allocations: 1.955 MB / 462 MB, free: 9.965 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006474/0.2839, allocations: 5.65 MB / 467.7 MB, free: 2.453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1685/0.4524, allocations: 8.251 MB / 475.9 MB, free: 116.4 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-05/0.4525, allocations: 38.22 kB / 475.9 MB, free: 116.4 MB / 430.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01392/0.4664, allocations: 8.053 MB / 484 MB, free: 113.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.858e-05/0.4665, allocations: 64.47 kB / 484.1 MB, free: 113.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001508/0.4667, allocations: 131.2 kB / 484.2 MB, free: 113.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002393/0.469, allocations: 0.904 MB / 485.1 MB, free: 113.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00357/0.4726, allocations: 1.329 MB / 486.4 MB, free: 113.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005413/0.478, allocations: 5.011 MB / 491.4 MB, free: 110.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003788/0.4818, allocations: 348.7 kB / 491.8 MB, free: 110.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004132/0.4822, allocations: 375.3 kB / 492.1 MB, free: 110.7 MB / 430.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.002272/0.4845, allocations: 1.983 MB / 494.1 MB, free: 109.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004811/0.485, allocations: 307 kB / 494.4 MB, free: 109.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004522/0.4895, allocations: 2.72 MB / 497.1 MB, free: 109 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.4895, allocations: 14.91 kB / 497.2 MB, free: 109 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.4895, allocations: 9.031 kB / 497.2 MB, free: 109 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.4896, allocations: 4.641 kB / 497.2 MB, free: 109 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009416/0.499, allocations: 6.173 MB / 0.4916 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.499, allocations: 7.938 kB / 0.4916 GB, free: 103.4 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.5, allocations: 223.7 kB / 0.4918 GB, free: 103.2 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.502, allocations: 0.7109 MB / 0.4925 GB, free: 102.4 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/0.5021, allocations: 35.97 kB / 0.4925 GB, free: 102.4 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004899/0.507, allocations: 4.618 MB / 0.497 GB, free: 97.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.507, allocations: 0 / 0.497 GB, free: 97.72 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006471/0.5135, allocations: 5.045 MB / 0.5019 GB, free: 92.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008504/0.5143, allocations: 303.8 kB / 0.5022 GB, free: 92.63 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/0.5147, allocations: 25.94 kB / 0.5023 GB, free: 92.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.516, allocations: 106 kB / 0.5024 GB, free: 92.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/0.5163, allocations: 92.48 kB / 0.5024 GB, free: 92.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.5164, allocations: 47.97 kB / 0.5025 GB, free: 92.37 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002483/0.5188, allocations: 2.212 MB / 0.5046 GB, free: 90.17 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5188, allocations: 0 / 0.5046 GB, free: 90.17 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004156/0.523, allocations: 0.9508 MB / 0.5056 GB, free: 89.23 MB / 430.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.0004288/0.5234, allocations: 176.5 kB / 0.5057 GB, free: 89.05 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005932/0.5294, allocations: 4.513 MB / 0.5101 GB, free: 84.57 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.033e-06/0.5294, allocations: 0 / 0.5101 GB, free: 84.57 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/0.5309, allocations: 1.282 MB / 0.5114 GB, free: 83.27 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002358/0.5332, allocations: 374.7 kB / 0.5118 GB, free: 82.92 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.5437, allocations: 8.387 MB / 0.5199 GB, free: 74.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002242/0.5459, allocations: 2.521 MB / 0.5224 GB, free: 71.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003146/0.5491, allocations: 1.788 MB / 0.5242 GB, free: 70.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.5497, allocations: 252.4 kB / 0.5244 GB, free: 69.93 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5497, allocations: 0 / 0.5244 GB, free: 69.93 MB / 430.1 MB Notification: Performance of Templates: time 0.05005/0.5997, allocations: 29 MB / 0.5527 GB, free: 41.4 MB / 430.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.064742609858513]