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.0007462/0.0007462, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001021/0.001767, allocations: 453.8 kB / 10.46 MB, free: 236 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.0006724/0.0006724, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008937/0.001566, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.8819/0.8819, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1379/1.02, allocations: 49.5 MB / 220.7 MB, free: 1.359 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 3.236e-06/3.236e-06, allocations: 0 / 222 MB, free: 80 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.314e-05/2.638e-05, allocations: 2.312 kB / 222 MB, free: 76 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.008979/0.009006, allocations: 11.24 MB / 233.2 MB, free: 4.777 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.007343/0.01635, allocations: 3.998 MB / 237.2 MB, free: 0.7656 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001575/0.01792, allocations: 79.62 kB / 237.3 MB, free: 0.6875 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.02108, allocations: 2.76 MB / 240.1 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004156/0.02523, allocations: 1.987 MB / 242 MB, free: 11.92 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009798/0.02621, allocations: 0.5769 MB / 242.6 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003739/0.02995, allocations: 4.003 MB / 246.6 MB, free: 7.332 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002718/0.03267, allocations: 2.972 MB / 249.6 MB, free: 4.277 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002614/0.03528, allocations: 2.509 MB / 252.1 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002195/0.03748, allocations: 2.12 MB / 254.2 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004483/0.03793, allocations: 340 kB / 254.6 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001524/0.03945, allocations: 1.037 MB / 255.6 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001499/0.04095, allocations: 1.855 MB / 257.4 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001035/0.04198, allocations: 1.059 MB / 258.5 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003777/0.04576, allocations: 4.249 MB / 262.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.04577, allocations: 0 / 262.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.04577, allocations: 3.938 kB / 262.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.628e-05/0.04586, allocations: 4 kB / 262.8 MB, free: 7.07 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.005784/0.05164, allocations: 5.62 MB / 268.4 MB, free: 1.379 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.05169, allocations: 8.031 kB / 268.4 MB, free: 1.371 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.05425, allocations: 1.089 MB / 269.5 MB, free: 288 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002235/0.05649, allocations: 1.759 MB / 271.2 MB, free: 14.46 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001261/0.05661, allocations: 242.2 kB / 271.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003504/0.05696, allocations: 315.8 kB / 271.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004995/0.06196, allocations: 4.849 MB / 276.6 MB, free: 8.371 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.848e-05/0.06203, allocations: 47.62 kB / 276.7 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002485/0.06228, allocations: 151.8 kB / 276.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001604/0.06389, allocations: 1.572 MB / 278.4 MB, free: 6.602 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003572/0.06746, allocations: 2.394 MB / 280.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1373/0.2048, allocations: 30.64 MB / 311.4 MB, free: 21.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002482/0.2072, allocations: 1.088 MB / 312.5 MB, free: 21.39 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.2076, allocations: 271.3 kB / 312.8 MB, free: 21.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003648/0.2112, allocations: 2.867 MB / 315.6 MB, free: 20.59 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2113, allocations: 48.42 kB / 315.7 MB, free: 20.55 MB / 282.7 MB Notification: Performance of pre-optimization done (n=113): time 2.645e-06/0.2113, allocations: 0 / 315.7 MB, free: 20.55 MB / 282.7 MB Notification: Performance of matching and sorting (n=114): time 0.005263/0.2165, allocations: 2.576 MB / 318.3 MB, free: 19.87 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.2166, allocations: 142.1 kB / 318.4 MB, free: 19.71 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002482/0.2191, allocations: 3.25 MB / 321.7 MB, free: 18.94 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.2191, allocations: 40.11 kB / 321.7 MB, free: 18.9 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009453/0.22, allocations: 3.216 MB / 324.9 MB, free: 16.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.2203, allocations: 0.4962 MB / 325.4 MB, free: 16.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007657/0.2211, allocations: 1.131 MB / 326.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.964e-05/0.2211, allocations: 306.2 kB / 326.8 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008463/0.2219, allocations: 0.6728 MB / 327.5 MB, free: 15.08 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.2237, allocations: 4.515 MB / 332 MB, free: 9.578 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.2272, allocations: 6.198 MB / 338.2 MB, free: 2.848 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.421e-05/0.2273, allocations: 40 kB / 338.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=769) (initialization): time 0.004054/0.2313, allocations: 4.064 MB / 342.3 MB, free: 14.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/0.2314, allocations: 64 kB / 342.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001216/0.2315, allocations: 156.8 kB / 342.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003141/0.2318, allocations: 227.6 kB / 342.8 MB, free: 14.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/0.2341, allocations: 1.497 MB / 344.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001161/0.2353, allocations: 1.524 MB / 345.8 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.2375, allocations: 271.7 kB / 346.1 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002853/0.2378, allocations: 331.9 kB / 346.4 MB, free: 10.59 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.001163/0.239, allocations: 0.6251 MB / 347 MB, free: 9.953 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.2393, allocations: 187.8 kB / 347.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/0.24, allocations: 0.6017 MB / 347.8 MB, free: 9.156 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.2401, allocations: 11.94 kB / 347.8 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2401, allocations: 4 kB / 347.8 MB, free: 9.141 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.508e-06/0.2401, allocations: 3.984 kB / 347.8 MB, free: 9.137 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004479/0.2446, allocations: 3.07 MB / 350.9 MB, free: 6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.2446, allocations: 8 kB / 350.9 MB, free: 5.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.2451, allocations: 195.7 kB / 351.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004531/0.2455, allocations: 369.6 kB / 351.4 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.2457, allocations: 47.86 kB / 351.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.263e-05/0.2457, allocations: 16 kB / 351.5 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009001/0.2466, allocations: 1.436 MB / 352.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.2466, allocations: 8.031 kB / 352.9 MB, free: 3.836 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.2477, allocations: 1.337 MB / 354.3 MB, free: 2.445 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.2479, allocations: 20 kB / 354.3 MB, free: 2.426 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/0.2484, allocations: 20 kB / 354.3 MB, free: 2.406 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.2485, allocations: 72.25 kB / 354.4 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/0.2485, allocations: 27.98 kB / 354.4 MB, free: 2.309 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009608/0.2495, allocations: 1.176 MB / 355.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2495, allocations: 0 / 355.6 MB, free: 1.145 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.00313/0.2526, allocations: 0.9178 MB / 356.5 MB, free: 232 kB / 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.0003046/0.2529, allocations: 156.1 kB / 356.7 MB, free: 68 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002608/0.2555, allocations: 2.428 MB / 359.1 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001815/0.2557, allocations: 110.7 kB / 359.2 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000478/0.2562, allocations: 450 kB / 359.6 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/0.2587, allocations: 2.856 MB / 362.5 MB, free: 9.949 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01154/0.2702, allocations: 7.106 MB / 369.6 MB, free: 2.742 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.2713, allocations: 1.205 MB / 370.8 MB, free: 1.516 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001119/0.2725, allocations: 474.4 kB / 371.3 MB, free: 1.051 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005744/0.273, allocations: 493.2 kB / 371.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.273, allocations: 3.938 kB / 371.8 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of Templates: time 0.03836/0.3114, allocations: 22.61 MB / 394.4 MB, free: 9.824 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.111405523493886]