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.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.001133/0.001133, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001452/0.002585, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001008/0.001008, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001238/0.002246, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8702/0.8702, allocations: 158.6 MB / 171.1 MB, free: 2.594 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1411/1.011, allocations: 49.49 MB / 220.5 MB, free: 1.453 MB / 218.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 221.8 MB, free: 196 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.517e-05, allocations: 18.05 kB / 221.8 MB, free: 180 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008813/0.008828, allocations: 11.23 MB / 233.1 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006243/0.01507, allocations: 3.998 MB / 237.1 MB, free: 0.8789 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001052/0.01612, allocations: 75.69 kB / 237.1 MB, free: 0.8047 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002989/0.01911, allocations: 2.768 MB / 239.9 MB, free: 14.03 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.02219, allocations: 1.971 MB / 241.9 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000903/0.02309, allocations: 0.5808 MB / 242.5 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.02659, allocations: 4.025 MB / 246.5 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002344/0.02893, allocations: 2.976 MB / 249.5 MB, free: 4.371 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00219/0.03112, allocations: 2.509 MB / 252 MB, free: 1.855 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002068/0.03319, allocations: 2.124 MB / 254.1 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003472/0.03354, allocations: 339.9 kB / 254.4 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.03475, allocations: 1.042 MB / 255.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.03579, allocations: 1.847 MB / 257.3 MB, free: 12.5 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008934/0.03669, allocations: 1.059 MB / 258.4 MB, free: 11.44 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003254/0.03994, allocations: 4.261 MB / 262.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.112e-05/0.03995, allocations: 0 / 262.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.03995, allocations: 0 / 262.6 MB, free: 7.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.714e-05/0.04, allocations: 0 / 262.6 MB, free: 7.16 MB / 266.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.005202/0.0452, allocations: 5.616 MB / 268.2 MB, free: 1.473 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.04523, allocations: 15.97 kB / 268.3 MB, free: 1.457 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002394/0.04763, allocations: 1.097 MB / 269.4 MB, free: 368 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.04944, allocations: 1.747 MB / 271.1 MB, free: 14.55 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/0.04956, allocations: 242.2 kB / 271.3 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.04989, allocations: 323.7 kB / 271.7 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004673/0.05456, allocations: 4.845 MB / 276.5 MB, free: 8.457 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.95e-05/0.05463, allocations: 39.64 kB / 276.5 MB, free: 8.418 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002427/0.05488, allocations: 151.8 kB / 276.7 MB, free: 8.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001341/0.05622, allocations: 1.697 MB / 278.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/0.05956, allocations: 2.379 MB / 280.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1395/0.199, allocations: 30.65 MB / 311.4 MB, free: 21.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002264/0.2013, allocations: 1.082 MB / 312.5 MB, free: 21.21 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003386/0.2016, allocations: 277 kB / 312.8 MB, free: 21.18 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003419/0.2051, allocations: 2.866 MB / 315.6 MB, free: 20.4 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.2051, allocations: 41.19 kB / 315.7 MB, free: 20.36 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 1.944e-06/0.2051, allocations: 1.281 kB / 315.7 MB, free: 20.36 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.004563/0.2096, allocations: 2.547 MB / 318.2 MB, free: 19.68 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.2097, allocations: 139.2 kB / 318.4 MB, free: 19.53 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/0.2118, allocations: 3.248 MB / 321.6 MB, free: 18.75 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.268e-05/0.2118, allocations: 48.08 kB / 321.7 MB, free: 18.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008224/0.2127, allocations: 3.212 MB / 324.9 MB, free: 16.36 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/0.2129, allocations: 0.5007 MB / 325.4 MB, free: 16 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006832/0.2136, allocations: 1.127 MB / 326.5 MB, free: 15.37 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.2136, allocations: 304.7 kB / 326.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008212/0.2144, allocations: 0.6822 MB / 327.5 MB, free: 14.9 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001659/0.2161, allocations: 4.507 MB / 332 MB, free: 9.422 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002814/0.2189, allocations: 5.754 MB / 337.7 MB, free: 3.262 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.498e-05/0.2189, allocations: 40.98 kB / 337.8 MB, free: 3.223 MB / 282.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.003438/0.2224, allocations: 4.046 MB / 341.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.674e-05/0.2224, allocations: 67.98 kB / 341.9 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-05/0.2225, allocations: 144 kB / 342 MB, free: 14.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002668/0.2228, allocations: 227 kB / 342.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/0.2249, allocations: 1.501 MB / 343.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001019/0.2259, allocations: 1.533 MB / 345.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.2276, allocations: 271.7 kB / 345.5 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002494/0.2278, allocations: 324 kB / 345.9 MB, free: 11.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 647 * 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 (743): * Single equations (assignments): 739 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008937/0.2287, allocations: 0.637 MB / 346.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/0.229, allocations: 187.8 kB / 346.7 MB, free: 10.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009329/0.2299, allocations: 0.5902 MB / 347.3 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.156e-05/0.2299, allocations: 16 kB / 347.3 MB, free: 9.582 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.2299, allocations: 4 kB / 347.3 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.2299, allocations: 3.984 kB / 347.3 MB, free: 9.574 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003936/0.2339, allocations: 3.085 MB / 350.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.2339, allocations: 0 / 350.4 MB, free: 6.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004565/0.2343, allocations: 187.8 kB / 350.6 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.2347, allocations: 369.7 kB / 350.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001286/0.2348, allocations: 47.86 kB / 351 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.071e-05/0.2348, allocations: 19.98 kB / 351 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000913/0.2358, allocations: 1.437 MB / 352.4 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.2358, allocations: 3.938 kB / 352.4 MB, free: 4.281 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.2368, allocations: 1.33 MB / 353.8 MB, free: 2.898 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001695/0.2369, allocations: 20 kB / 353.8 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004325/0.2374, allocations: 27.92 kB / 353.8 MB, free: 2.852 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.2375, allocations: 68.31 kB / 353.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.2375, allocations: 31.98 kB / 353.9 MB, free: 2.75 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0008365/0.2383, allocations: 1.169 MB / 355.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2383, allocations: 0 / 355.1 MB, free: 1.594 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.002154/0.2405, allocations: 0.9296 MB / 356 MB, free: 0.6641 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (92): * Single equations (assignments): 88 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002463/0.2407, allocations: 148.1 kB / 356.2 MB, free: 0.5117 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001912/0.2427, allocations: 2.306 MB / 358.5 MB, free: 14.21 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000159/0.2428, allocations: 110.8 kB / 358.6 MB, free: 14.09 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003244/0.2431, allocations: 372 kB / 358.9 MB, free: 13.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.2445, allocations: 0.7978 MB / 359.7 MB, free: 12.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009117/0.2536, allocations: 7.113 MB / 366.8 MB, free: 5.715 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009554/0.2546, allocations: 1.203 MB / 368 MB, free: 4.492 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009399/0.2555, allocations: 482.7 kB / 368.5 MB, free: 4.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005754/0.2561, allocations: 0.4895 MB / 369 MB, free: 3.531 MB / 314.7 MB Notification: Performance of SimCode: time 1.103e-06/0.2561, allocations: 0 / 369 MB, free: 3.531 MB / 314.7 MB Notification: Performance of Templates: time 0.03724/0.2933, allocations: 24.58 MB / 393.6 MB, free: 10.96 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.456851583905518]