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.001807/0.001807, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002202/0.002202, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.443/1.443, allocations: 230.6 MB / 257.5 MB, free: 8.031 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.001575/0.001575, allocations: 47.91 kB / 377.8 MB, free: 3.156 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2362, allocations: 53.36 MB / 431.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01374/0.2499, allocations: 11.08 MB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007755/0.2577, allocations: 3.86 MB / 446.1 MB, free: 7.883 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2589, allocations: 75.62 kB / 446.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005153/0.264, allocations: 2.733 MB / 448.9 MB, free: 5.066 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004269/0.2683, allocations: 1.8 MB / 450.7 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.2697, allocations: 0.5888 MB / 451.3 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005242/0.2749, allocations: 3.578 MB / 454.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003673/0.2786, allocations: 2.728 MB / 457.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.2815, allocations: 1.472 MB / 459 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003788/0.2852, allocations: 2.142 MB / 461.2 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000929/0.2862, allocations: 316 kB / 461.5 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.2887, allocations: 1.077 MB / 462.6 MB, free: 7.281 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002227/0.2909, allocations: 1.839 MB / 464.4 MB, free: 5.438 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002709/0.2936, allocations: 2.089 MB / 466.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008458/0.3021, allocations: 6.688 MB / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3021, allocations: 0 / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.3021, allocations: 0 / 473.2 MB, free: 12.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001821/0.3022, allocations: 0 / 473.2 MB, free: 12.62 MB / 382.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.0174/0.3197, allocations: 5.105 MB / 478.3 MB, free: 7.461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.3197, allocations: 8.031 kB / 478.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001178/0.3209, allocations: 0.6742 MB / 479 MB, free: 6.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006768/0.3276, allocations: 1.89 MB / 480.9 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00575/0.3334, allocations: 2.407 MB / 483.3 MB, free: 2.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002152/0.3336, allocations: 229.7 kB / 483.5 MB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009264/0.3345, allocations: 295.8 kB / 483.8 MB, free: 1.906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01853/0.3531, allocations: 10.02 MB / 493.8 MB, free: 7.203 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001212/0.3532, allocations: 43.64 kB / 493.8 MB, free: 7.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004459/0.3536, allocations: 147.9 kB / 494 MB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003331/0.357, allocations: 1.805 MB / 495.8 MB, free: 5.211 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01872/0.3757, allocations: 8.962 MB / 0.4929 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04975/0.4254, allocations: 37.67 MB / 0.5297 GB, free: 5.48 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01265/0.4381, allocations: 3.036 MB / 0.5327 GB, free: 2.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.4404, allocations: 1.578 MB / 0.5342 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004938/0.4409, allocations: 128.5 kB / 0.5343 GB, free: 0.6992 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.884e-05/0.441, allocations: 55.09 kB / 0.5344 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.557e-06/0.441, allocations: 0 / 0.5344 GB, free: 0.6328 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.2185/0.6595, allocations: 12.75 MB / 0.5468 GB, free: 97.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.6596, allocations: 140.2 kB / 0.547 GB, free: 97.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004489/0.6641, allocations: 4.065 MB / 0.5509 GB, free: 95.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002557/0.6643, allocations: 41.08 kB / 0.551 GB, free: 95.82 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001329/0.6657, allocations: 3.132 MB / 0.554 GB, free: 93.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004404/0.6661, allocations: 0.5715 MB / 0.5546 GB, free: 93.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001095/0.6672, allocations: 1.174 MB / 0.5557 GB, free: 92.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.6672, allocations: 301.1 kB / 0.556 GB, free: 92.4 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00212/0.6694, allocations: 1.954 MB / 0.5579 GB, free: 90.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003059/0.6724, allocations: 5.644 MB / 0.5634 GB, free: 83.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005762/0.6782, allocations: 8.246 MB / 0.5715 GB, free: 73.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/0.6782, allocations: 36 kB / 0.5715 GB, free: 73.12 MB / 446.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01118/0.6894, allocations: 8.053 MB / 0.5794 GB, free: 65.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.827e-05/0.6895, allocations: 67.94 kB / 0.5795 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001039/0.6896, allocations: 132 kB / 0.5796 GB, free: 64.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.6917, allocations: 0.899 MB / 0.5805 GB, free: 63.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003511/0.6952, allocations: 1.32 MB / 0.5818 GB, free: 62.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005151/0.7004, allocations: 5.083 MB / 0.5867 GB, free: 57.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003718/0.7041, allocations: 307.8 kB / 0.587 GB, free: 57.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005132/0.7046, allocations: 371.3 kB / 0.5874 GB, free: 56.79 MB / 446.1 MB 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.002151/0.7068, allocations: 1.989 MB / 0.5893 GB, free: 54.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004469/0.7072, allocations: 357.5 kB / 0.5897 GB, free: 54.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004125/0.7114, allocations: 2.751 MB / 0.5923 GB, free: 51.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.326e-05/0.7114, allocations: 16 kB / 0.5924 GB, free: 51.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.768e-05/0.7114, allocations: 6.344 kB / 0.5924 GB, free: 51.65 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.7114, allocations: 7.969 kB / 0.5924 GB, free: 51.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009696/0.7211, allocations: 7.015 MB / 0.5992 GB, free: 44.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7211, allocations: 0 / 0.5992 GB, free: 44.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/0.722, allocations: 219.6 kB / 0.5994 GB, free: 44.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001733/0.7238, allocations: 0.7158 MB / 0.6001 GB, free: 43.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.7239, allocations: 31.97 kB / 0.6002 GB, free: 43.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004595/0.7285, allocations: 4.648 MB / 0.6047 GB, free: 38.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.7285, allocations: 0 / 0.6047 GB, free: 38.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005929/0.7344, allocations: 5.103 MB / 0.6097 GB, free: 33.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007592/0.7352, allocations: 329.6 kB / 0.61 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003759/0.7355, allocations: 24 kB / 0.61 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.7366, allocations: 71.73 kB / 0.6101 GB, free: 33.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002224/0.7368, allocations: 104.4 kB / 0.6102 GB, free: 33.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.486e-05/0.7369, allocations: 43.97 kB / 0.6102 GB, free: 33.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002843/0.7398, allocations: 2.541 MB / 0.6127 GB, free: 30.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7398, allocations: 0 / 0.6127 GB, free: 30.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003924/0.7437, allocations: 0.8755 MB / 0.6136 GB, free: 29.74 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.006137/0.7498, allocations: 5.737 MB / 0.6192 GB, free: 23.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005556/0.7554, allocations: 4.515 MB / 0.6236 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.7554, allocations: 0 / 0.6236 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001426/0.7568, allocations: 1.267 MB / 0.6248 GB, free: 18.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002197/0.759, allocations: 443 kB / 0.6252 GB, free: 17.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06045/0.8195, allocations: 43.59 MB / 0.6678 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003779/0.8233, allocations: 3.064 MB / 0.6708 GB, free: 13.44 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004222/0.8275, allocations: 1.838 MB / 0.6726 GB, free: 11.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00261/0.8301, allocations: 1.749 MB / 0.6743 GB, free: 9.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.8301, allocations: 4 kB / 0.6743 GB, free: 9.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3202/1.15, allocations: 69.2 MB / 0.7419 GB, free: 179.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.79/24.94, allocations: 7.469 kB / 0.7419 GB, free: 179.5 MB / 0.5294 GB " [Timeout remaining time 635] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 27.945724088000134]