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.001653/0.001653, allocations: 103.6 kB / 21.18 MB, free: 472 kB / 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.001937/0.001937, allocations: 214.9 kB / 24.47 MB, free: 3.793 MB / 14.72 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 1.463/1.463, allocations: 207.7 MB / 235.3 MB, free: 9.781 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 55.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2628/0.2648, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.0128/0.2776, allocations: 10.31 MB / 406.7 MB, free: 2.195 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008858/0.2865, allocations: 3.728 MB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.289, allocations: 78.5 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006554/0.2956, allocations: 2.65 MB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.3024, allocations: 1.945 MB / 415.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001952/0.3044, allocations: 0.5817 MB / 415.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006901/0.3113, allocations: 3.755 MB / 419.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005668/0.317, allocations: 2.825 MB / 422.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004028/0.321, allocations: 1.559 MB / 423.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004418/0.3254, allocations: 2.165 MB / 425.9 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001347/0.3267, allocations: 340 kB / 426.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.3304, allocations: 0.9752 MB / 427.2 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003668/0.334, allocations: 1.983 MB / 429.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004525/0.3386, allocations: 1.658 MB / 430.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.3498, allocations: 7.264 MB / 438.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.3498, allocations: 0 / 438.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.3498, allocations: 0 / 438.2 MB, free: 9.164 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002719/0.3501, allocations: 0 / 438.2 MB, free: 9.164 MB / 350.1 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.02017/0.3703, allocations: 5.383 MB / 443.5 MB, free: 3.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.3703, allocations: 15.98 kB / 443.6 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001894/0.3722, allocations: 0.7239 MB / 444.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008082/0.3803, allocations: 1.924 MB / 446.2 MB, free: 1.043 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007234/0.3875, allocations: 2.77 MB / 449 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003048/0.3878, allocations: 234 kB / 449.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001642/0.3895, allocations: 315.8 kB / 449.5 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.025/0.4145, allocations: 10.72 MB / 460.2 MB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002102/0.4147, allocations: 47.64 kB / 460.3 MB, free: 2.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009631/0.4156, allocations: 147.9 kB / 460.4 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005932/0.4216, allocations: 1.982 MB / 462.4 MB, free: 100 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03405/0.4556, allocations: 9.551 MB / 472 MB, free: 6.523 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08273/0.5383, allocations: 38.13 MB / 0.4981 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01352/0.5519, allocations: 3.256 MB / 0.5013 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.5547, allocations: 1.736 MB / 0.503 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005144/0.5552, allocations: 124.8 kB / 0.5031 GB, free: 10.11 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.255e-05/0.5553, allocations: 55.5 kB / 0.5032 GB, free: 10.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 4.889e-06/0.5553, allocations: 4 kB / 0.5032 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04655/0.6018, allocations: 13.92 MB / 0.5168 GB, free: 12.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.6019, allocations: 145.5 kB / 0.5169 GB, free: 11.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006727/0.6087, allocations: 4.408 MB / 0.5212 GB, free: 7.461 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003363/0.609, allocations: 45.7 kB / 0.5213 GB, free: 7.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002765/0.6118, allocations: 3.295 MB / 0.5245 GB, free: 4.082 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008967/0.6126, allocations: 0.6476 MB / 0.5251 GB, free: 3.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/0.6144, allocations: 1.226 MB / 0.5263 GB, free: 2.191 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.6146, allocations: 305.1 kB / 0.5266 GB, free: 1.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003542/0.6181, allocations: 2.127 MB / 0.5287 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007072/0.6252, allocations: 5.944 MB / 0.5345 GB, free: 7.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.6373, allocations: 8.763 MB / 0.543 GB, free: 13.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001341/0.6374, allocations: 40 kB / 0.5431 GB, free: 13.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01722/0.6547, allocations: 8.556 MB / 0.5514 GB, free: 4.613 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001189/0.6548, allocations: 67.91 kB / 0.5515 GB, free: 4.547 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002079/0.655, allocations: 136 kB / 0.5516 GB, free: 4.414 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.6577, allocations: 0.9109 MB / 0.5525 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004671/0.6623, allocations: 1.396 MB / 0.5539 GB, free: 2.102 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1974/0.8597, allocations: 5.055 MB / 0.5588 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004591/0.8643, allocations: 325.6 kB / 0.5591 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.8655, allocations: 390.9 kB / 0.5595 GB, free: 137.3 MB / 478.1 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 (736): * Single equations (assignments): 732 * 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.004446/0.87, allocations: 2.099 MB / 0.5615 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009227/0.8709, allocations: 368.1 kB / 0.5619 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006977/0.8779, allocations: 3.138 MB / 0.565 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.986e-05/0.8779, allocations: 17.31 kB / 0.565 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.8779, allocations: 4.656 kB / 0.565 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.878, allocations: 6.609 kB / 0.565 GB, free: 135.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0167/0.8947, allocations: 7.473 MB / 0.5723 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.8947, allocations: 1.25 kB / 0.5723 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001275/0.896, allocations: 263 kB / 0.5725 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.8981, allocations: 0.7194 MB / 0.5732 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001967/0.8983, allocations: 38.03 kB / 0.5733 GB, free: 132.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005387/0.9037, allocations: 4.604 MB / 0.5778 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.9037, allocations: 3.875 kB / 0.5778 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007828/0.9115, allocations: 5.695 MB / 0.5833 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002073/0.9136, allocations: 0.5735 MB / 0.5839 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001082/0.9147, allocations: 30.34 kB / 0.5839 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001794/0.9164, allocations: 82.75 kB / 0.584 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003497/0.9168, allocations: 107.9 kB / 0.5841 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/0.9169, allocations: 50.75 kB / 0.5842 GB, free: 128.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004695/0.9216, allocations: 2.612 MB / 0.5867 GB, free: 127.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.9216, allocations: 0 / 0.5867 GB, free: 127.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006118/0.9278, allocations: 0.9604 MB / 0.5876 GB, free: 127.2 MB / 478.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 (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.008348/0.9361, allocations: 6.329 MB / 0.5938 GB, free: 123 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006599/0.9427, allocations: 4.912 MB / 0.5986 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9427, allocations: 0 / 0.5986 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001644/0.9444, allocations: 1.434 MB / 0.6 GB, free: 116.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002607/0.947, allocations: 444.7 kB / 0.6004 GB, free: 116.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05355/1.001, allocations: 46.41 MB / 0.6458 GB, free: 64.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002864/1.003, allocations: 2.696 MB / 0.6484 GB, free: 61.36 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003979/1.007, allocations: 1.937 MB / 0.6503 GB, free: 59.41 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002316/1.01, allocations: 1.878 MB / 0.6521 GB, free: 57.54 MB / 478.1 MB Notification: Performance of SimCode: time 1.793e-06/1.01, allocations: 0 / 0.6521 GB, free: 57.54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/1.136, allocations: 68.13 MB / 0.7187 GB, free: 5.258 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.43/17.57, allocations: 27.61 kB / 0.7187 GB, free: 5.23 MB / 494.1 MB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 20.287095014937222]