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.001503/0.001503, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001877/0.001877, allocations: 183.1 kB / 23.72 MB, free: 4.699 MB / 14.72 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 1.441/1.441, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 55.92 kB / 370.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2902, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01399/0.3042, allocations: 11.19 MB / 433.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008883/0.3131, allocations: 3.866 MB / 437.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.3154, allocations: 75.62 kB / 437.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005855/0.3213, allocations: 2.741 MB / 440.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005894/0.3272, allocations: 1.856 MB / 442.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001705/0.3289, allocations: 0.5771 MB / 442.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006154/0.335, allocations: 3.582 MB / 446.5 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.3391, allocations: 2.764 MB / 449.3 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002768/0.3418, allocations: 1.491 MB / 450.8 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003627/0.3454, allocations: 2.165 MB / 452.9 MB, free: 120 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000781/0.3462, allocations: 320 kB / 453.2 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/0.3485, allocations: 1.096 MB / 454.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.3506, allocations: 1.889 MB / 456.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.3531, allocations: 2.124 MB / 458.4 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008963/0.362, allocations: 6.849 MB / 465.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3621, allocations: 0 / 465.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.3621, allocations: 0 / 465.2 MB, free: 3.801 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002582/0.3623, allocations: 0 / 465.2 MB, free: 3.801 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.01874/0.3811, allocations: 5.164 MB / 470.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3811, allocations: 12.03 kB / 470.4 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/0.3823, allocations: 0.6866 MB / 471.1 MB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006731/0.389, allocations: 1.889 MB / 473 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006326/0.3954, allocations: 2.528 MB / 475.5 MB, free: 9.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002113/0.3956, allocations: 233.7 kB / 475.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009225/0.3965, allocations: 299.8 kB / 476 MB, free: 8.883 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/0.4164, allocations: 10.21 MB / 486.2 MB, free: 14 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000134/0.4166, allocations: 39.64 kB / 486.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005182/0.4171, allocations: 147.9 kB / 486.4 MB, free: 13.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.4206, allocations: 1.864 MB / 488.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.4412, allocations: 9.123 MB / 497.4 MB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05269/0.4939, allocations: 38.08 MB / 0.5229 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.5067, allocations: 3.039 MB / 0.5259 GB, free: 8.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.5091, allocations: 1.582 MB / 0.5274 GB, free: 6.945 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005288/0.5097, allocations: 136.3 kB / 0.5276 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.695e-05/0.5097, allocations: 47.22 kB / 0.5276 GB, free: 6.754 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.638e-06/0.5097, allocations: 0 / 0.5276 GB, free: 6.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.266/0.7757, allocations: 12.79 MB / 0.5401 GB, free: 105.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.468e-05/0.7758, allocations: 147.3 kB / 0.5402 GB, free: 105.4 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/0.781, allocations: 4.079 MB / 0.5442 GB, free: 104 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001671/0.7812, allocations: 42.36 kB / 0.5443 GB, free: 103.9 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00152/0.7827, allocations: 3.176 MB / 0.5474 GB, free: 101.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004335/0.7831, allocations: 0.5681 MB / 0.5479 GB, free: 101.4 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/0.7842, allocations: 1.183 MB / 0.5491 GB, free: 100.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.735e-05/0.7843, allocations: 301.1 kB / 0.5493 GB, free: 100.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.7865, allocations: 1.959 MB / 0.5513 GB, free: 99.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.7899, allocations: 5.673 MB / 0.5568 GB, free: 94.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006337/0.7962, allocations: 8.261 MB / 0.5649 GB, free: 85.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.405e-05/0.7962, allocations: 43.94 kB / 0.5649 GB, free: 85.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01075/0.807, allocations: 8.088 MB / 0.5728 GB, free: 77.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.188e-05/0.8071, allocations: 60.94 kB / 0.5729 GB, free: 77.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.8072, allocations: 132 kB / 0.573 GB, free: 77.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002063/0.8092, allocations: 0.9116 MB / 0.5739 GB, free: 76.33 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003291/0.8125, allocations: 1.318 MB / 0.5752 GB, free: 75.01 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005232/0.8177, allocations: 5.084 MB / 0.5801 GB, free: 69.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00426/0.822, allocations: 315.7 kB / 0.5804 GB, free: 69.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003623/0.8224, allocations: 368 kB / 0.5808 GB, free: 69.14 MB / 446.1 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 (698): * Single equations (assignments): 694 * 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.002446/0.8248, allocations: 2.013 MB / 0.5828 GB, free: 67.13 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000512/0.8253, allocations: 353.6 kB / 0.5831 GB, free: 66.78 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004136/0.8295, allocations: 2.763 MB / 0.5858 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.8295, allocations: 16 kB / 0.5858 GB, free: 63.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.8295, allocations: 7.984 kB / 0.5858 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.8295, allocations: 3.984 kB / 0.5858 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00984/0.8393, allocations: 7.066 MB / 0.5927 GB, free: 56.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.8393, allocations: 8.031 kB / 0.5927 GB, free: 56.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009172/0.8403, allocations: 219.6 kB / 0.5929 GB, free: 56.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.842, allocations: 0.7154 MB / 0.5936 GB, free: 55.92 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.857e-05/0.8421, allocations: 35.97 kB / 0.5937 GB, free: 55.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004758/0.8469, allocations: 4.647 MB / 0.5982 GB, free: 51.14 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8469, allocations: 0 / 0.5982 GB, free: 51.14 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006201/0.8531, allocations: 5.102 MB / 0.6032 GB, free: 46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.8541, allocations: 329.5 kB / 0.6035 GB, free: 45.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003626/0.8545, allocations: 23.44 kB / 0.6035 GB, free: 45.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/0.8556, allocations: 71.91 kB / 0.6036 GB, free: 45.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.8558, allocations: 92.42 kB / 0.6037 GB, free: 45.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.451e-05/0.8559, allocations: 47.97 kB / 0.6037 GB, free: 45.45 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003094/0.859, allocations: 2.55 MB / 0.6062 GB, free: 42.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.859, allocations: 0 / 0.6062 GB, free: 42.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005059/0.8641, allocations: 0.9022 MB / 0.6071 GB, free: 41.99 MB / 446.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 (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.006266/0.8704, allocations: 5.744 MB / 0.6127 GB, free: 36.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005854/0.8762, allocations: 4.519 MB / 0.6171 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8762, allocations: 0 / 0.6171 GB, free: 31.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.8777, allocations: 1.282 MB / 0.6184 GB, free: 30.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/0.8802, allocations: 431.2 kB / 0.6188 GB, free: 30 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05681/0.937, allocations: 43.85 MB / 0.6616 GB, free: 12.46 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00376/0.9408, allocations: 3.101 MB / 0.6646 GB, free: 9.324 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004302/0.9451, allocations: 1.849 MB / 0.6664 GB, free: 7.465 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002755/0.9478, allocations: 1.78 MB / 0.6682 GB, free: 5.684 MB / 478.1 MB Notification: Performance of SimCode: time 1.262e-06/0.9478, allocations: 0 / 0.6682 GB, free: 5.684 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3745/1.322, allocations: 69.58 MB / 0.7361 GB, free: 183.6 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.78/25.1, allocations: 8.234 kB / 0.7361 GB, free: 183.6 MB / 0.5294 GB " [Timeout remaining time 635] (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 27.85811455399744]