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.00164/0.00164, allocations: 107.5 kB / 20.44 MB, free: 1.066 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.001715/0.001715, allocations: 191.8 kB / 23.7 MB, free: 4.195 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.46/1.46, allocations: 225.7 MB / 252.5 MB, free: 12.82 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.001961/0.001961, allocations: 47.92 kB / 370.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2855, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01405/0.2995, allocations: 9.768 MB / 432.3 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009726/0.3092, allocations: 3.644 MB / 436 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001824/0.3111, allocations: 71.69 kB / 436.1 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005534/0.3166, allocations: 2.628 MB / 438.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00613/0.3227, allocations: 1.86 MB / 440.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002125/0.3249, allocations: 0.5693 MB / 441.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00561/0.3305, allocations: 3.595 MB / 444.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004207/0.3347, allocations: 2.736 MB / 447.4 MB, free: 5.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002431/0.3371, allocations: 1.495 MB / 448.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.3405, allocations: 2.052 MB / 451 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000829/0.3413, allocations: 320 kB / 451.3 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002015/0.3433, allocations: 0.9557 MB / 452.3 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002099/0.3454, allocations: 1.881 MB / 454.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002129/0.3476, allocations: 1.58 MB / 455.7 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008541/0.3561, allocations: 6.868 MB / 462.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.3561, allocations: 0 / 462.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.3561, allocations: 0 / 462.6 MB, free: 6.195 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3563, allocations: 0 / 462.6 MB, free: 6.195 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.01863/0.3749, allocations: 5.164 MB / 467.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/0.375, allocations: 8.031 kB / 467.8 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001386/0.3764, allocations: 0.6905 MB / 468.5 MB, free: 276 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006766/0.3831, allocations: 1.895 MB / 470.3 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006143/0.3893, allocations: 2.534 MB / 472.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002172/0.3895, allocations: 229.8 kB / 473.1 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009903/0.3905, allocations: 299.8 kB / 473.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02108/0.4116, allocations: 10.21 MB / 483.6 MB, free: 392 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001323/0.4117, allocations: 51.64 kB / 483.7 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004716/0.4122, allocations: 143.9 kB / 483.8 MB, free: 196 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003465/0.4156, allocations: 1.868 MB / 485.7 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02052/0.4361, allocations: 9.1 MB / 494.8 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05348/0.4896, allocations: 36.62 MB / 0.5189 GB, free: 15.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.5027, allocations: 3.031 MB / 0.5219 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.5055, allocations: 1.58 MB / 0.5234 GB, free: 10.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006624/0.5062, allocations: 124.4 kB / 0.5235 GB, free: 10.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.5062, allocations: 51.16 kB / 0.5236 GB, free: 10.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 7.344e-06/0.5062, allocations: 0 / 0.5236 GB, free: 10.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2539/0.7601, allocations: 12.84 MB / 0.5361 GB, free: 108.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.7602, allocations: 139.6 kB / 0.5363 GB, free: 108 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005237/0.7654, allocations: 4.296 MB / 0.5405 GB, free: 106.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002511/0.7657, allocations: 43 kB / 0.5405 GB, free: 106.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/0.767, allocations: 3.19 MB / 0.5436 GB, free: 104.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005001/0.7675, allocations: 0.5589 MB / 0.5442 GB, free: 104.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.7686, allocations: 1.181 MB / 0.5453 GB, free: 103.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.801e-05/0.7687, allocations: 301.1 kB / 0.5456 GB, free: 103.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/0.7707, allocations: 1.959 MB / 0.5475 GB, free: 102.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003118/0.7739, allocations: 5.664 MB / 0.5531 GB, free: 96.99 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006056/0.7799, allocations: 8.267 MB / 0.5611 GB, free: 88.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.78, allocations: 40 kB / 0.5612 GB, free: 88.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.0114/0.7914, allocations: 8.09 MB / 0.5691 GB, free: 80.58 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.007e-05/0.7915, allocations: 60.78 kB / 0.5691 GB, free: 80.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001132/0.7916, allocations: 132 kB / 0.5693 GB, free: 80.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.7936, allocations: 0.9157 MB / 0.5701 GB, free: 79.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00337/0.797, allocations: 1.306 MB / 0.5714 GB, free: 78.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0052/0.8022, allocations: 5.056 MB / 0.5764 GB, free: 73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.8064, allocations: 311.7 kB / 0.5767 GB, free: 72.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006691/0.8071, allocations: 371.8 kB / 0.577 GB, free: 72.34 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.002764/0.8098, allocations: 2.015 MB / 0.579 GB, free: 70.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007812/0.8106, allocations: 349.7 kB / 0.5793 GB, free: 69.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004529/0.8152, allocations: 2.759 MB / 0.582 GB, free: 67.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.823e-05/0.8152, allocations: 16 kB / 0.582 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.711e-05/0.8152, allocations: 4 kB / 0.582 GB, free: 67.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.333e-05/0.8152, allocations: 7.969 kB / 0.582 GB, free: 67.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.8281, allocations: 6.801 MB / 0.5887 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.8281, allocations: 0 / 0.5887 GB, free: 60.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009681/0.8291, allocations: 219.8 kB / 0.5889 GB, free: 60.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001924/0.831, allocations: 0.7228 MB / 0.5896 GB, free: 59.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001391/0.8312, allocations: 31.97 kB / 0.5896 GB, free: 59.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004762/0.8359, allocations: 4.608 MB / 0.5941 GB, free: 54.65 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.8359, allocations: 4.031 kB / 0.5941 GB, free: 54.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006732/0.8427, allocations: 5.09 MB / 0.5991 GB, free: 49.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/0.8438, allocations: 337.4 kB / 0.5994 GB, free: 49.19 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008918/0.8447, allocations: 24 kB / 0.5994 GB, free: 49.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001625/0.8464, allocations: 67.91 kB / 0.5995 GB, free: 49.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/0.8466, allocations: 100.4 kB / 0.5996 GB, free: 49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.8467, allocations: 43.97 kB / 0.5996 GB, free: 48.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003866/0.8506, allocations: 2.546 MB / 0.6021 GB, free: 46.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8506, allocations: 0 / 0.6021 GB, free: 46.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004872/0.8555, allocations: 0.9051 MB / 0.603 GB, free: 45.5 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.006894/0.8623, allocations: 5.742 MB / 0.6086 GB, free: 39.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006016/0.8684, allocations: 4.521 MB / 0.613 GB, free: 35.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.793e-06/0.8684, allocations: 4.188 kB / 0.613 GB, free: 35.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.8699, allocations: 1.271 MB / 0.6143 GB, free: 33.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/0.8731, allocations: 440.1 kB / 0.6147 GB, free: 33.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07098/0.9441, allocations: 43.83 MB / 0.6575 GB, free: 15.98 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004826/0.9489, allocations: 2.554 MB / 0.66 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004602/0.9535, allocations: 1.855 MB / 0.6618 GB, free: 11.54 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002842/0.9563, allocations: 1.776 MB / 0.6635 GB, free: 9.758 MB / 478.1 MB Notification: Performance of SimCode: time 1.482e-06/0.9563, allocations: 0 / 0.6635 GB, free: 9.758 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/1.116, allocations: 65.15 MB / 0.7272 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.1/17.22, allocations: 17.42 kB / 0.7272 GB, free: 9.301 MB / 0.5294 GB " [Timeout remaining time 643] (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: 20.110025889705867]