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.001319/0.001319, allocations: 115.5 kB / 18.45 MB, free: 4.609 MB / 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.001444/0.001444, allocations: 215.3 kB / 21.41 MB, free: 1.648 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.405/1.405, allocations: 207.6 MB / 231.8 MB, free: 4.07 MB / 174.1 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: "" <> 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.001793/0.001793, allocations: 53.02 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0892/0.09099, allocations: 49.13 MB / 391.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01397/0.105, allocations: 11.8 MB / 403.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00846/0.1134, allocations: 3.937 MB / 407.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00151/0.1149, allocations: 75.69 kB / 407.2 MB, free: 8.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005306/0.1202, allocations: 2.749 MB / 410 MB, free: 6.074 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004932/0.1252, allocations: 1.934 MB / 411.9 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.1267, allocations: 0.5732 MB / 412.5 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005368/0.1321, allocations: 3.754 MB / 416.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003969/0.136, allocations: 3.065 MB / 419.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00294/0.139, allocations: 1.569 MB / 420.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003581/0.1426, allocations: 2.29 MB / 423.2 MB, free: 8.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009575/0.1435, allocations: 340 kB / 423.5 MB, free: 8.457 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002269/0.1458, allocations: 1.092 MB / 424.6 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002094/0.1479, allocations: 1.979 MB / 426.6 MB, free: 5.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00294/0.1508, allocations: 2.249 MB / 428.8 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00899/0.1598, allocations: 7.233 MB / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1598, allocations: 0 / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1598, allocations: 0 / 436 MB, free: 11.86 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002078/0.16, allocations: 0 / 436 MB, free: 11.86 MB / 366.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.01921/0.1792, allocations: 5.454 MB / 441.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.1793, allocations: 8.031 kB / 441.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.1805, allocations: 0.7394 MB / 442.2 MB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007394/0.1879, allocations: 1.921 MB / 444.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00583/0.1937, allocations: 2.819 MB / 447 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002278/0.1939, allocations: 242 kB / 447.2 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/0.195, allocations: 319.8 kB / 447.5 MB, free: 216 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02049/0.2155, allocations: 10.71 MB / 458.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001188/0.2156, allocations: 43.64 kB / 458.3 MB, free: 4.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004849/0.2161, allocations: 151.8 kB / 458.4 MB, free: 4.621 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/0.2198, allocations: 1.982 MB / 460.4 MB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1969/0.4168, allocations: 9.561 MB / 470 MB, free: 56.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04152/0.4583, allocations: 39.86 MB / 0.4979 GB, free: 25.62 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01259/0.4709, allocations: 3.712 MB / 0.5015 GB, free: 21.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002016/0.4729, allocations: 1.732 MB / 0.5032 GB, free: 20.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004725/0.4734, allocations: 363.1 kB / 0.5035 GB, free: 19.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.181e-05/0.4734, allocations: 43.56 kB / 0.5036 GB, free: 19.56 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.456e-06/0.4734, allocations: 8 kB / 0.5036 GB, free: 19.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.03974/0.5131, allocations: 14.02 MB / 0.5173 GB, free: 5.648 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.5132, allocations: 145.5 kB / 0.5174 GB, free: 5.473 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004315/0.5175, allocations: 4.19 MB / 0.5215 GB, free: 1.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002703/0.5177, allocations: 45.7 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002025/0.5198, allocations: 3.309 MB / 0.5248 GB, free: 14.07 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000772/0.5205, allocations: 0.6353 MB / 0.5254 GB, free: 13.44 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001619/0.5222, allocations: 1.23 MB / 0.5266 GB, free: 12.2 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.5223, allocations: 305.1 kB / 0.5269 GB, free: 11.89 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003354/0.5256, allocations: 2.124 MB / 0.529 GB, free: 9.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006833/0.5325, allocations: 5.952 MB / 0.5348 GB, free: 1.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/0.5449, allocations: 8.752 MB / 0.5433 GB, free: 7.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.545, allocations: 40 kB / 0.5434 GB, free: 7.195 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01706/0.5621, allocations: 8.566 MB / 0.5517 GB, free: 14.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.512e-05/0.5622, allocations: 64 kB / 0.5518 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.5623, allocations: 140 kB / 0.5519 GB, free: 14.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/0.5649, allocations: 0.9101 MB / 0.5528 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004508/0.5694, allocations: 1.392 MB / 0.5542 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007457/0.5769, allocations: 5.204 MB / 0.5593 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/0.5813, allocations: 335.1 kB / 0.5596 GB, free: 6.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008902/0.5822, allocations: 380 kB / 0.56 GB, free: 6.07 MB / 430.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.003567/0.5858, allocations: 2.095 MB / 0.562 GB, free: 3.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007038/0.5865, allocations: 374.3 kB / 0.5624 GB, free: 3.594 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006501/0.593, allocations: 3.132 MB / 0.5654 GB, free: 456 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.668e-05/0.593, allocations: 20 kB / 0.5654 GB, free: 436 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.593, allocations: 7.984 kB / 0.5654 GB, free: 428 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.593, allocations: 3.984 kB / 0.5654 GB, free: 424 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01484/0.6079, allocations: 7.803 MB / 0.5731 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.095e-05/0.6079, allocations: 8 kB / 0.5731 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.6093, allocations: 259.6 kB / 0.5733 GB, free: 8.301 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.6116, allocations: 0.7156 MB / 0.574 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001943/0.6118, allocations: 42.39 kB / 0.5741 GB, free: 7.543 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006826/0.6186, allocations: 4.749 MB / 0.5787 GB, free: 2.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.6187, allocations: 4.031 kB / 0.5787 GB, free: 2.656 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009668/0.6283, allocations: 5.687 MB / 0.5843 GB, free: 12.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/0.6299, allocations: 0.6545 MB / 0.5849 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004384/0.6303, allocations: 24 kB / 0.5849 GB, free: 12.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.6316, allocations: 87.89 kB / 0.585 GB, free: 12.14 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003205/0.632, allocations: 100.8 kB / 0.5851 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/0.6321, allocations: 51.97 kB / 0.5851 GB, free: 12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004153/0.6363, allocations: 2.619 MB / 0.5877 GB, free: 9.367 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6363, allocations: 0 / 0.5877 GB, free: 9.367 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005025/0.6413, allocations: 0.9609 MB / 0.5886 GB, free: 8.406 MB / 462.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.009763/0.651, allocations: 6.33 MB / 0.5948 GB, free: 2.035 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008713/0.6598, allocations: 4.918 MB / 0.5996 GB, free: 13.13 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.6598, allocations: 4 kB / 0.5996 GB, free: 13.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/0.662, allocations: 1.429 MB / 0.601 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/0.6648, allocations: 444.8 kB / 0.6015 GB, free: 11.25 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.256/0.9208, allocations: 46.32 MB / 0.6467 GB, free: 171.3 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003484/0.9243, allocations: 3.243 MB / 0.6499 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003695/0.928, allocations: 1.926 MB / 0.6517 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/0.9301, allocations: 1.883 MB / 0.6536 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of SimCode: time 1.032e-06/0.9301, allocations: 0 / 0.6536 GB, free: 168.8 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/1.033, allocations: 68.02 MB / 0.72 GB, free: 109.2 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.76/19.79, allocations: 19.67 kB / 0.72 GB, free: 109.1 MB / 0.4981 GB " [Timeout remaining time 640] (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: 22.40130552998744]