Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001584/0.001584, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001729/0.001729, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9798/0.9798, allocations: 173.4 MB / 201.1 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 3.938 kB / 268 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.825e-05/2.988e-05, allocations: 6.25 kB / 268 MB, free: 6.43 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.00919/0.00922, allocations: 10.85 MB / 278.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.01602, allocations: 3.757 MB / 282.6 MB, free: 7.754 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001652/0.01767, allocations: 75.62 kB / 282.7 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003314/0.02099, allocations: 2.901 MB / 285.6 MB, free: 4.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004104/0.02509, allocations: 1.936 MB / 287.5 MB, free: 2.824 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.02618, allocations: 0.6315 MB / 288.1 MB, free: 2.191 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.1324/0.1586, allocations: 3.934 MB / 292.1 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004229/0.1629, allocations: 3.103 MB / 295.2 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004339/0.1672, allocations: 2.24 MB / 297.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003566/0.1708, allocations: 2.204 MB / 299.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.1719, allocations: 324.6 kB / 299.9 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.1738, allocations: 1.007 MB / 300.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001708/0.1755, allocations: 1.982 MB / 302.9 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.1773, allocations: 1.243 MB / 304.2 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004863/0.1822, allocations: 4.379 MB / 308.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1822, allocations: 0 / 308.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.1822, allocations: 0 / 308.6 MB, free: 11.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0002516/0.1824, allocations: 0 / 308.6 MB, free: 11.86 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01069/0.1931, allocations: 5.688 MB / 314.2 MB, free: 8.582 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.1932, allocations: 10.05 kB / 314.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003995/0.1972, allocations: 2.335 MB / 316.6 MB, free: 6.578 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002553/0.1997, allocations: 2.023 MB / 318.6 MB, free: 4.668 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.114e-05/0.1998, allocations: 229.4 kB / 318.8 MB, free: 4.477 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003555/0.2002, allocations: 308.4 kB / 319.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008071/0.2082, allocations: 6.086 MB / 325.2 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.103e-05/0.2083, allocations: 36.83 kB / 325.3 MB, free: 13.37 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002914/0.2086, allocations: 154.6 kB / 325.4 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001938/0.2106, allocations: 1.865 MB / 327.3 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007869/0.2184, allocations: 3.353 MB / 330.6 MB, free: 8.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03169/0.2501, allocations: 42.01 MB / 372.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006444/0.2566, allocations: 1.847 MB / 374.5 MB, free: 11.51 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008077/0.2574, allocations: 488.5 kB / 375 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.2577, allocations: 136.4 kB / 375.1 MB, free: 10.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.829e-05/0.2577, allocations: 53.56 kB / 375.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of pre-optimization done (n=127): time 6.012e-06/0.2577, allocations: 0 / 375.1 MB, free: 10.82 MB / 330.7 MB Notification: Performance of matching and sorting (n=133): time 0.02246/0.2802, allocations: 9.517 MB / 384.7 MB, free: 1.281 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.634e-05/0.2803, allocations: 141.2 kB / 384.8 MB, free: 1.113 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.284, allocations: 3.45 MB / 388.3 MB, free: 13.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.2842, allocations: 41.7 kB / 388.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00166/0.2858, allocations: 3.341 MB / 391.6 MB, free: 10.28 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00048/0.2863, allocations: 0.5885 MB / 392.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.2874, allocations: 1.278 MB / 393.5 MB, free: 8.402 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.2876, allocations: 480.7 kB / 394 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001111/0.2887, allocations: 0.5849 MB / 394.6 MB, free: 7.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/0.2924, allocations: 6.088 MB / 400.6 MB, free: 14.76 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005688/0.2981, allocations: 7.39 MB / 408 MB, free: 4.984 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.369e-05/0.2981, allocations: 39.98 kB / 408.1 MB, free: 4.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=741) (initialization): time 0.00762/0.3058, allocations: 5.427 MB / 413.5 MB, free: 15.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.3058, allocations: 60 kB / 413.6 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/0.3059, allocations: 132 kB / 413.7 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.3073, allocations: 0.6246 MB / 414.3 MB, free: 14.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002267/0.3095, allocations: 1.333 MB / 415.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.3126, allocations: 3.221 MB / 418.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002438/0.315, allocations: 347.6 kB / 419.2 MB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.3155, allocations: 375 kB / 419.6 MB, free: 9.316 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (702): * Single equations (assignments): 698 * 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.001244/0.3167, allocations: 0.638 MB / 420.2 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.3172, allocations: 353.9 kB / 420.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002195/0.3194, allocations: 1.399 MB / 422 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.3194, allocations: 20 kB / 422 MB, free: 6.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/0.3194, allocations: 4 kB / 422 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.3194, allocations: 3.984 kB / 422 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00722/0.3266, allocations: 4.779 MB / 426.8 MB, free: 2.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/0.3267, allocations: 7.938 kB / 426.8 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005942/0.3272, allocations: 215.7 kB / 427 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.3284, allocations: 444.1 kB / 427.4 MB, free: 1.387 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-05/0.3285, allocations: 31.98 kB / 427.4 MB, free: 1.355 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1367/0.4652, allocations: 2.922 MB / 430.4 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4652, allocations: 3.547 kB / 430.4 MB, free: 111.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004225/0.4694, allocations: 2.403 MB / 432.8 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007353/0.4701, allocations: 295.4 kB / 433.1 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002784/0.4704, allocations: 27.64 kB / 433.1 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000808/0.4712, allocations: 101.2 kB / 433.2 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000273/0.4715, allocations: 103.2 kB / 433.3 MB, free: 110.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001141/0.4716, allocations: 49.28 kB / 433.3 MB, free: 110.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002393/0.474, allocations: 1.468 MB / 434.8 MB, free: 110.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.474, allocations: 0 / 434.8 MB, free: 110.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003632/0.4776, allocations: 0.9822 MB / 435.8 MB, free: 110.5 MB / 378.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 (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.0004438/0.4781, allocations: 174.3 kB / 436 MB, free: 110.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00488/0.483, allocations: 2.815 MB / 438.8 MB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.483, allocations: 4.797 kB / 438.8 MB, free: 110.1 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008819/0.4839, allocations: 0.6697 MB / 439.4 MB, free: 109.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001682/0.4855, allocations: 393 kB / 439.8 MB, free: 109.9 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009561/0.4951, allocations: 6.88 MB / 446.7 MB, free: 107.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/0.4961, allocations: 1.161 MB / 447.9 MB, free: 106.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002395/0.4985, allocations: 1.574 MB / 449.4 MB, free: 106.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005551/0.499, allocations: 254.8 kB / 449.7 MB, free: 106.8 MB / 378.7 MB Notification: Performance of SimCode: time 1.984e-06/0.499, allocations: 0 / 449.7 MB, free: 106.8 MB / 378.7 MB Notification: Performance of Templates: time 0.04399/0.543, allocations: 29.52 MB / 479.2 MB, free: 83.67 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.9666522396728396]