Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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.0008399/0.0008399, allocations: 83.69 kB / 20.67 MB, free: 3.879 MB / 18.57 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.0007871/0.0007871, allocations: 170 kB / 23.95 MB, free: 0.6055 MB / 18.57 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 0.8592/0.8592, allocations: 177.1 MB / 204.3 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.MovingActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.79e-05, allocations: 10.16 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.008203/0.008221, allocations: 11.36 MB / 335.9 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005984/0.01421, allocations: 4.124 MB / 340.1 MB, free: 388 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009961/0.0152, allocations: 99.5 kB / 340.2 MB, free: 288 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003291/0.01849, allocations: 3.796 MB / 344 MB, free: 12.47 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002942/0.02143, allocations: 2.098 MB / 346.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009814/0.02242, allocations: 0.7562 MB / 346.8 MB, free: 9.609 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00323/0.02565, allocations: 4.629 MB / 351.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.02833, allocations: 3.873 MB / 355.3 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/0.03066, allocations: 2.767 MB / 358.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002066/0.03273, allocations: 2.517 MB / 360.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004087/0.03314, allocations: 412 kB / 361 MB, free: 11.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/0.03432, allocations: 1.077 MB / 362.1 MB, free: 10.25 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.03549, allocations: 2.337 MB / 364.4 MB, free: 7.91 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.03651, allocations: 1.519 MB / 365.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.04131, allocations: 8.119 MB / 374 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.04131, allocations: 0 / 374 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.04131, allocations: 4 kB / 374.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.068e-05/0.04136, allocations: 0 / 374.1 MB, free: 14.24 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.009354/0.05072, allocations: 6.408 MB / 380.5 MB, free: 7.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.05076, allocations: 8.031 kB / 380.5 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006343/0.05139, allocations: 0.8347 MB / 381.3 MB, free: 6.918 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003453/0.05485, allocations: 2.053 MB / 383.4 MB, free: 4.859 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002782/0.05763, allocations: 2.686 MB / 386 MB, free: 2.125 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001253/0.05775, allocations: 295.4 kB / 386.3 MB, free: 1.836 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005821/0.05833, allocations: 387.8 kB / 386.7 MB, free: 1.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01172/0.07006, allocations: 12.26 MB / 399 MB, free: 4.449 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/0.07014, allocations: 43.64 kB / 399 MB, free: 4.406 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003484/0.07049, allocations: 187.8 kB / 399.2 MB, free: 4.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002464/0.07295, allocations: 2.198 MB / 401.4 MB, free: 2.023 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/0.08709, allocations: 11.19 MB / 412.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2011/0.2882, allocations: 44.81 MB / 457.4 MB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008601/0.2968, allocations: 4.945 MB / 462.3 MB, free: 85.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002257/0.2991, allocations: 3.07 MB / 465.4 MB, free: 84.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002796/0.2994, allocations: 136.6 kB / 465.5 MB, free: 84.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2994, allocations: 58.94 kB / 465.6 MB, free: 84.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 3.607e-06/0.2994, allocations: 1.031 kB / 465.6 MB, free: 84.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=231): time 0.03719/0.3366, allocations: 27.75 MB / 493.3 MB, free: 62.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.3366, allocations: 158 kB / 493.5 MB, free: 62.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003757/0.3404, allocations: 4.916 MB / 498.4 MB, free: 57.77 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001726/0.3405, allocations: 61.7 kB / 498.5 MB, free: 57.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009471/0.3415, allocations: 3.532 MB / 0.4902 GB, free: 54.42 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004276/0.3419, allocations: 0.9058 MB / 0.4911 GB, free: 53.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001077/0.343, allocations: 1.463 MB / 0.4925 GB, free: 52.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.046e-05/0.343, allocations: 305.1 kB / 0.4928 GB, free: 51.75 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002416/0.3454, allocations: 3.277 MB / 0.496 GB, free: 48.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00326/0.3487, allocations: 7.22 MB / 0.5031 GB, free: 39.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006624/0.3553, allocations: 11.31 MB / 0.5141 GB, free: 26.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.339e-05/0.3554, allocations: 44 kB / 0.5142 GB, free: 26.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.009987/0.3653, allocations: 11.43 MB / 0.5253 GB, free: 14.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.468e-05/0.3654, allocations: 64 kB / 0.5254 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-05/0.3655, allocations: 144.8 kB / 0.5255 GB, free: 14.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00141/0.3669, allocations: 1.119 MB / 0.5266 GB, free: 13.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002657/0.3695, allocations: 1.758 MB / 0.5284 GB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004178/0.3737, allocations: 6.189 MB / 0.5344 GB, free: 5.449 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/0.3765, allocations: 447.3 kB / 0.5348 GB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003305/0.3769, allocations: 467.8 kB / 0.5353 GB, free: 4.559 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 631 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[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 (830): * Single equations (assignments): 826 * 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.002229/0.3791, allocations: 2.329 MB / 0.5375 GB, free: 2.219 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004484/0.3795, allocations: 429.2 kB / 0.538 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/0.386, allocations: 6.154 MB / 0.544 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.087e-05/0.386, allocations: 24 kB / 0.544 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.386, allocations: 8 kB / 0.544 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/0.3861, allocations: 15.91 kB / 0.544 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.3988, allocations: 12.22 MB / 0.5559 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.3988, allocations: 4 kB / 0.5559 GB, free: 15.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001332/0.4001, allocations: 0.5772 MB / 0.5565 GB, free: 14.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.4015, allocations: 0.9491 MB / 0.5574 GB, free: 13.78 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001543/0.4017, allocations: 95.89 kB / 0.5575 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004853/0.4065, allocations: 5.945 MB / 0.5633 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4065, allocations: 4 kB / 0.5633 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009316/0.4158, allocations: 10.41 MB / 0.5735 GB, free: 13.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001337/0.4172, allocations: 0.8675 MB / 0.5744 GB, free: 12.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002881/0.4175, allocations: 55.58 kB / 0.5744 GB, free: 12.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001144/0.4186, allocations: 195.8 kB / 0.5746 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003161/0.4189, allocations: 205.5 kB / 0.5748 GB, free: 11.85 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.4191, allocations: 122.5 kB / 0.5749 GB, free: 11.73 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00308/0.4221, allocations: 2.959 MB / 0.5778 GB, free: 8.77 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4221, allocations: 8 kB / 0.5778 GB, free: 8.762 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003704/0.4259, allocations: 1.258 MB / 0.579 GB, free: 7.504 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,position1.phi,position1.w,position2.phi,position2.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 (203): * Single equations (assignments): 199 * 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 Backend phase and start with SimCode phase: time 0.01011/0.436, allocations: 11.1 MB / 0.5899 GB, free: 12.35 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007912/0.4439, allocations: 7.495 MB / 0.5972 GB, free: 4.879 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.4439, allocations: 4.188 kB / 0.5972 GB, free: 4.875 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00272/0.4466, allocations: 2.805 MB / 0.5999 GB, free: 2.059 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/0.4487, allocations: 0.5082 MB / 0.6004 GB, free: 1.559 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1906/0.6393, allocations: 60.07 MB / 0.6591 GB, free: 176.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001928/0.6413, allocations: 3.1 MB / 0.6621 GB, free: 173.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002598/0.6439, allocations: 2.299 MB / 0.6644 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/0.6455, allocations: 2.378 MB / 0.6667 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.674e-06/0.6455, allocations: 0 / 0.6667 GB, free: 169.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08321/0.7288, allocations: 94.07 MB / 0.7585 GB, free: 75.84 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.29, allocations: 19.59 kB / 0.7586 GB, free: 75.82 MB / 0.4948 GB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.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: 13.528972731903195]