Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001744/0.001744, allocations: 123.4 kB / 17.79 MB, free: 5.246 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.002015/0.002015, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 51.92 kB / 373 MB, free: 10.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1194, allocations: 53.34 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.2386/0.358, allocations: 11.02 MB / 437.3 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008694/0.3667, allocations: 3.849 MB / 441.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002698/0.3694, allocations: 72.16 kB / 441.3 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005292/0.3747, allocations: 2.713 MB / 444 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006624/0.3813, allocations: 1.793 MB / 445.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001892/0.3832, allocations: 0.5792 MB / 446.3 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00696/0.3901, allocations: 3.576 MB / 449.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00561/0.3958, allocations: 2.989 MB / 452.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.4004, allocations: 1.472 MB / 454.4 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005342/0.4057, allocations: 2.14 MB / 456.5 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001466/0.4072, allocations: 320.6 kB / 456.8 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00317/0.4104, allocations: 1.074 MB / 457.9 MB, free: 12.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002683/0.4131, allocations: 1.834 MB / 459.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003667/0.4167, allocations: 2.091 MB / 461.8 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.4268, allocations: 6.689 MB / 468.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.4268, allocations: 0 / 468.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4268, allocations: 0 / 468.5 MB, free: 4.965 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002792/0.4271, allocations: 0 / 468.5 MB, free: 4.965 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: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.02157/0.4487, allocations: 5.174 MB / 473.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.4487, allocations: 12.03 kB / 473.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001938/0.4506, allocations: 0.6703 MB / 474.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/0.4584, allocations: 1.901 MB / 476.3 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006245/0.4646, allocations: 2.472 MB / 478.7 MB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002945/0.4649, allocations: 221.7 kB / 479 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001397/0.4663, allocations: 299.8 kB / 479.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02707/0.4934, allocations: 10.02 MB / 489.3 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002499/0.4937, allocations: 44.27 kB / 489.3 MB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001604/0.4953, allocations: 139.9 kB / 489.5 MB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003918/0.4992, allocations: 1.809 MB / 491.3 MB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02345/0.5226, allocations: 8.966 MB / 0.4885 GB, free: 5.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05634/0.579, allocations: 37.81 MB / 0.5254 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/0.5926, allocations: 3.479 MB / 0.5288 GB, free: 11.42 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002614/0.5953, allocations: 1.588 MB / 0.5304 GB, free: 9.828 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/0.5959, allocations: 355.8 kB / 0.5307 GB, free: 9.426 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.5959, allocations: 47.06 kB / 0.5308 GB, free: 9.371 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.488e-06/0.5959, allocations: 0 / 0.5308 GB, free: 9.371 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04486/0.6408, allocations: 12.89 MB / 0.5434 GB, free: 12.39 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.959e-05/0.6409, allocations: 153.1 kB / 0.5435 GB, free: 12.21 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006553/0.6474, allocations: 4.057 MB / 0.5475 GB, free: 8.129 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004037/0.6478, allocations: 45.7 kB / 0.5475 GB, free: 8.078 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002609/0.6504, allocations: 3.131 MB / 0.5506 GB, free: 4.918 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008953/0.6513, allocations: 0.5661 MB / 0.5511 GB, free: 4.348 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001768/0.6531, allocations: 1.17 MB / 0.5523 GB, free: 3.164 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6533, allocations: 309.1 kB / 0.5526 GB, free: 2.859 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003151/0.6564, allocations: 1.955 MB / 0.5545 GB, free: 0.8984 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006336/0.6628, allocations: 5.642 MB / 0.56 GB, free: 9.391 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.6733, allocations: 8.237 MB / 0.568 GB, free: 15.31 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000104/0.6734, allocations: 37.12 kB / 0.5681 GB, free: 15.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01855/0.692, allocations: 8.059 MB / 0.5759 GB, free: 7.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000147/0.6921, allocations: 61 kB / 0.576 GB, free: 7.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002361/0.6924, allocations: 132 kB / 0.5761 GB, free: 7.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002725/0.6951, allocations: 0.9191 MB / 0.577 GB, free: 6.102 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004502/0.6996, allocations: 1.31 MB / 0.5783 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007908/0.7075, allocations: 5.195 MB / 0.5834 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005051/0.7125, allocations: 311.5 kB / 0.5837 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/0.7139, allocations: 372 kB / 0.584 GB, free: 14.79 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.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 (695): * Single equations (assignments): 691 * 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.005019/0.7189, allocations: 1.977 MB / 0.5859 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009317/0.7199, allocations: 349.7 kB / 0.5863 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006474/0.7263, allocations: 2.759 MB / 0.589 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/0.7264, allocations: 16 kB / 0.589 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.764e-05/0.7264, allocations: 4 kB / 0.589 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.7264, allocations: 7.969 kB / 0.589 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/0.7436, allocations: 7.062 MB / 0.5959 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.888e-05/0.7436, allocations: 4 kB / 0.5959 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.7447, allocations: 207.7 kB / 0.5961 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002307/0.747, allocations: 0.7148 MB / 0.5968 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.7472, allocations: 35.97 kB / 0.5968 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.754, allocations: 4.748 MB / 0.6015 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.754, allocations: 7.938 kB / 0.6015 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008552/0.7626, allocations: 5.09 MB / 0.6064 GB, free: 7.523 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/0.7638, allocations: 414.5 kB / 0.6068 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004045/0.7642, allocations: 27.98 kB / 0.6069 GB, free: 7.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.7654, allocations: 71.91 kB / 0.6069 GB, free: 7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/0.7657, allocations: 96.41 kB / 0.607 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.7659, allocations: 43.97 kB / 0.6071 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004403/0.7703, allocations: 2.537 MB / 0.6095 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.7703, allocations: 0 / 0.6095 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005241/0.7755, allocations: 0.8788 MB / 0.6104 GB, free: 3.434 MB / 0.5137 GB 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.2475/1.023, allocations: 5.723 MB / 0.616 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008809/1.032, allocations: 4.518 MB / 0.6204 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.032, allocations: 1.156 kB / 0.6204 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.034, allocations: 1.268 MB / 0.6216 GB, free: 159.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/1.037, allocations: 422.5 kB / 0.622 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07043/1.107, allocations: 43.53 MB / 0.6646 GB, free: 130.6 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002999/1.11, allocations: 3.065 MB / 0.6675 GB, free: 128.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003684/1.114, allocations: 1.841 MB / 0.6693 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002154/1.116, allocations: 1.747 MB / 0.6711 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/1.116, allocations: 0 / 0.6711 GB, free: 125.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1184/1.235, allocations: 64.61 MB / 0.7341 GB, free: 61.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.52/22.75, allocations: 8.062 kB / 0.7342 GB, free: 61.2 MB / 0.5137 GB " [Timeout remaining time 637] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & python3 -m fmpy simulate --output-file Modelica_4.1.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_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 25.560609430991462]