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.0009522/0.0009522, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 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.0009366/0.0009366, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 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.8935/0.8935, allocations: 158.6 MB / 187.6 MB, free: 2.941 MB / 170.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 2.325e-06/2.325e-06, allocations: 0 / 251.1 MB, free: 7.812 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.905e-05/3.138e-05, allocations: 2.312 kB / 251.1 MB, free: 7.809 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0126/0.01263, allocations: 11.43 MB / 262.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005643/0.01828, allocations: 3.828 MB / 266.4 MB, free: 8.48 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000845/0.01912, allocations: 75.69 kB / 266.4 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002876/0.022, allocations: 2.92 MB / 269.4 MB, free: 5.477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002523/0.02452, allocations: 2.01 MB / 271.4 MB, free: 3.457 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007396/0.02526, allocations: 0.6354 MB / 272 MB, free: 2.82 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.02817, allocations: 4.118 MB / 276.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002347/0.03052, allocations: 3.197 MB / 279.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.03255, allocations: 2.342 MB / 281.7 MB, free: 9.078 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.03462, allocations: 2.307 MB / 284 MB, free: 6.766 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004547/0.03508, allocations: 359.9 kB / 284.3 MB, free: 6.414 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.03623, allocations: 1.014 MB / 285.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.03761, allocations: 2.08 MB / 287.4 MB, free: 3.312 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001161/0.03877, allocations: 1.301 MB / 288.7 MB, free: 2.008 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.04263, allocations: 4.612 MB / 293.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.04263, allocations: 0 / 293.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.04263, allocations: 0 / 293.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.724e-05/0.04273, allocations: 0 / 293.3 MB, free: 13.38 MB / 282.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.0093/0.05203, allocations: 5.887 MB / 299.2 MB, free: 7.422 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.05207, allocations: 15.98 kB / 299.2 MB, free: 7.406 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/0.05625, allocations: 2.393 MB / 301.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002397/0.05865, allocations: 2.117 MB / 303.7 MB, free: 2.844 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001099/0.05876, allocations: 238.2 kB / 304 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.05913, allocations: 323.8 kB / 304.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007302/0.06643, allocations: 6.328 MB / 310.6 MB, free: 11.03 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.58e-05/0.06651, allocations: 47.62 kB / 310.7 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002888/0.0668, allocations: 151.9 kB / 310.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001926/0.06872, allocations: 1.985 MB / 312.8 MB, free: 8.844 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006724/0.07545, allocations: 3.509 MB / 316.3 MB, free: 5.309 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1634/0.2389, allocations: 43.52 MB / 359.8 MB, free: 60.41 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006244/0.2451, allocations: 1.937 MB / 361.8 MB, free: 60.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007689/0.2459, allocations: 0.55 MB / 362.3 MB, free: 60.22 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/0.2461, allocations: 128.8 kB / 362.4 MB, free: 60.22 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2462, allocations: 51.55 kB / 362.5 MB, free: 60.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=148): time 3.266e-06/0.2462, allocations: 0 / 362.5 MB, free: 60.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=154): time 0.02043/0.2666, allocations: 10.1 MB / 372.6 MB, free: 57.67 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.795e-05/0.2666, allocations: 146.7 kB / 372.7 MB, free: 57.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.2694, allocations: 3.537 MB / 376.3 MB, free: 56.63 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.501e-05/0.2695, allocations: 51.58 kB / 376.3 MB, free: 56.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001124/0.2706, allocations: 3.463 MB / 379.8 MB, free: 54.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003406/0.2709, allocations: 0.6609 MB / 380.4 MB, free: 53.85 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009059/0.2719, allocations: 1.334 MB / 381.8 MB, free: 53.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.2719, allocations: 480.7 kB / 382.2 MB, free: 52.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009995/0.2729, allocations: 0.64 MB / 382.9 MB, free: 52.24 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.2749, allocations: 6.322 MB / 389.2 MB, free: 43.82 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003742/0.2786, allocations: 7.682 MB / 396.9 MB, free: 34.21 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.51e-05/0.2787, allocations: 40 kB / 396.9 MB, free: 34.17 MB / 330.7 MB Notification: Performance of matching and sorting (n=779) (initialization): time 0.0056/0.2843, allocations: 5.701 MB / 402.6 MB, free: 28.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.565e-05/0.2843, allocations: 64 kB / 402.7 MB, free: 28.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.819e-05/0.2844, allocations: 139.8 kB / 402.8 MB, free: 28.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.2855, allocations: 0.6282 MB / 403.5 MB, free: 27.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.2875, allocations: 1.404 MB / 404.9 MB, free: 26.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002307/0.2898, allocations: 3.238 MB / 408.1 MB, free: 22.88 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.2916, allocations: 370.2 kB / 408.5 MB, free: 22.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002534/0.2918, allocations: 388 kB / 408.8 MB, free: 22.14 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * 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 (740): * Single equations (assignments): 736 * 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.0008105/0.2926, allocations: 0.6592 MB / 409.5 MB, free: 21.47 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/0.2929, allocations: 365.8 kB / 409.9 MB, free: 21.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002095/0.295, allocations: 1.6 MB / 411.5 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.295, allocations: 18.42 kB / 411.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.295, allocations: 4 kB / 411.5 MB, free: 19.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.228e-06/0.295, allocations: 15.91 kB / 411.5 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005465/0.3005, allocations: 5.169 MB / 416.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3005, allocations: 0 / 416.7 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005927/0.3011, allocations: 263.6 kB / 416.9 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009583/0.3021, allocations: 447 kB / 417.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.975e-05/0.3021, allocations: 39.97 kB / 417.4 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002032/0.3042, allocations: 2.925 MB / 420.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3042, allocations: 0.625 kB / 420.3 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002845/0.307, allocations: 2.632 MB / 423 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004919/0.3075, allocations: 0.5209 MB / 423.5 MB, free: 7.297 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.3077, allocations: 35.92 kB / 423.5 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006883/0.3084, allocations: 115.8 kB / 423.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001958/0.3086, allocations: 112.7 kB / 423.7 MB, free: 7.039 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.958e-05/0.3087, allocations: 58.83 kB / 423.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001249/0.3099, allocations: 1.508 MB / 425.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.3099, allocations: 0 / 425.3 MB, free: 5.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002542/0.3124, allocations: 1.035 MB / 426.3 MB, free: 4.457 MB / 330.7 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 (123): * Single equations (assignments): 119 * 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.0003005/0.3127, allocations: 182.9 kB / 426.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.3156, allocations: 3.008 MB / 429.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3156, allocations: 3.938 kB / 429.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008674/0.3165, allocations: 0.7446 MB / 430.3 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3176, allocations: 406.9 kB / 430.7 MB, free: 116 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.3257, allocations: 7.336 MB / 438 MB, free: 8.703 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.3267, allocations: 1.234 MB / 439.2 MB, free: 7.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002179/0.3289, allocations: 1.632 MB / 440.9 MB, free: 5.816 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.3293, allocations: 264.4 kB / 441.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3293, allocations: 0 / 441.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of Templates: time 0.04213/0.3715, allocations: 31.1 MB / 472.2 MB, free: 6.523 MB / 378.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 -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.827534583164379]