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.001337/0.001337, allocations: 109.2 kB / 20.43 MB, free: 1.473 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.001426/0.001426, allocations: 213.7 kB / 23.74 MB, free: 4.688 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.428/1.428, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.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 0.001639/0.001639, allocations: 47.91 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2391/0.2407, allocations: 53.37 MB / 431.1 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01559/0.2563, allocations: 13.07 MB / 444.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009621/0.2659, allocations: 4.339 MB / 448.5 MB, free: 5.422 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.2678, allocations: 95.56 kB / 448.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007707/0.2755, allocations: 3.765 MB / 452.4 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005399/0.2809, allocations: 2.031 MB / 454.4 MB, free: 15.51 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.2827, allocations: 0.698 MB / 455.1 MB, free: 14.81 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006116/0.2889, allocations: 4.216 MB / 459.4 MB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005276/0.2941, allocations: 3.627 MB / 463 MB, free: 6.891 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003236/0.2974, allocations: 1.857 MB / 464.8 MB, free: 5.027 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004201/0.3016, allocations: 2.636 MB / 467.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001177/0.3027, allocations: 412 kB / 467.9 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.3055, allocations: 1.159 MB / 469 MB, free: 0.8203 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002803/0.3083, allocations: 2.244 MB / 471.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003973/0.3122, allocations: 2.591 MB / 473.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/0.3229, allocations: 8.112 MB / 482 MB, free: 3.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3229, allocations: 3.938 kB / 482 MB, free: 3.816 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3229, allocations: 4 kB / 482 MB, free: 3.812 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002733/0.3232, allocations: 0 / 482 MB, free: 3.812 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: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02248/0.3457, allocations: 6.264 MB / 488.3 MB, free: 13.49 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.3457, allocations: 8.031 kB / 488.3 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002138/0.3479, allocations: 0.8307 MB / 489.1 MB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007634/0.3555, allocations: 2.002 MB / 491.1 MB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006968/0.3625, allocations: 2.842 MB / 493.9 MB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.3628, allocations: 287.5 kB / 494.2 MB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001521/0.3643, allocations: 383.8 kB / 494.6 MB, free: 7.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.3907, allocations: 12.18 MB / 0.4949 GB, free: 10.15 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002078/0.3909, allocations: 59.52 kB / 0.4949 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001164/0.3921, allocations: 179.8 kB / 0.4951 GB, free: 9.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004376/0.3964, allocations: 2.19 MB / 0.4973 GB, free: 7.727 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02384/0.4203, allocations: 11.14 MB / 0.5081 GB, free: 12.57 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2514/0.6717, allocations: 46.31 MB / 0.5534 GB, free: 70.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01547/0.6871, allocations: 4.714 MB / 0.558 GB, free: 70.14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003143/0.6903, allocations: 3.078 MB / 0.561 GB, free: 69.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005216/0.6908, allocations: 149.7 kB / 0.5611 GB, free: 69.04 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.6908, allocations: 57.78 kB / 0.5612 GB, free: 68.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.069e-06/0.6908, allocations: 0 / 0.5612 GB, free: 68.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06237/0.7532, allocations: 26.81 MB / 0.5873 GB, free: 48.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.167e-05/0.7532, allocations: 151.8 kB / 0.5875 GB, free: 48.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004545/0.7578, allocations: 4.499 MB / 0.5919 GB, free: 44.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004488/0.7582, allocations: 61.7 kB / 0.5919 GB, free: 44.19 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.7595, allocations: 3.57 MB / 0.5954 GB, free: 40.94 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008032/0.7603, allocations: 0.9126 MB / 0.5963 GB, free: 40.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.7619, allocations: 1.452 MB / 0.5977 GB, free: 38.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.762, allocations: 304.4 kB / 0.598 GB, free: 38.29 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003453/0.7654, allocations: 3.273 MB / 0.6012 GB, free: 35.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004752/0.7702, allocations: 7.209 MB / 0.6083 GB, free: 25.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009641/0.7798, allocations: 11.3 MB / 0.6193 GB, free: 12.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.97e-05/0.7799, allocations: 36 kB / 0.6193 GB, free: 12.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01664/0.7966, allocations: 11.39 MB / 0.6305 GB, free: 1.297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.389e-05/0.7966, allocations: 72.06 kB / 0.6305 GB, free: 1.227 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001113/0.7967, allocations: 136 kB / 0.6307 GB, free: 1.094 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002421/0.7992, allocations: 1.122 MB / 0.6318 GB, free: 15.96 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006354/0.8055, allocations: 1.712 MB / 0.6334 GB, free: 14.25 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009407/0.8149, allocations: 6.237 MB / 0.6395 GB, free: 7.902 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005422/0.8203, allocations: 403.7 kB / 0.6399 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001299/0.8216, allocations: 459.8 kB / 0.6403 GB, free: 7.059 MB / 462.1 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.004755/0.8264, allocations: 2.315 MB / 0.6426 GB, free: 4.734 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.8275, allocations: 429.1 kB / 0.643 GB, free: 4.312 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.8395, allocations: 6.102 MB / 0.649 GB, free: 14.19 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/0.8395, allocations: 27.91 kB / 0.649 GB, free: 14.17 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.396e-05/0.8395, allocations: 5.562 kB / 0.649 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.023e-05/0.8396, allocations: 7.969 kB / 0.649 GB, free: 14.16 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02529/0.8649, allocations: 12.71 MB / 0.6614 GB, free: 1.379 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/0.8649, allocations: 4 kB / 0.6614 GB, free: 1.375 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003025/0.8679, allocations: 0.5304 MB / 0.6619 GB, free: 0.8438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002787/0.8707, allocations: 0.9568 MB / 0.6629 GB, free: 15.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004766/0.8712, allocations: 88.27 kB / 0.663 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008727/0.8799, allocations: 5.981 MB / 0.6688 GB, free: 9.711 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.026e-05/0.8799, allocations: 11.88 kB / 0.6688 GB, free: 9.699 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.8971, allocations: 10.36 MB / 0.6789 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002735/0.8999, allocations: 0.8442 MB / 0.6797 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001178/0.9011, allocations: 40 kB / 0.6798 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002721/0.9038, allocations: 159.2 kB / 0.6799 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000681/0.9045, allocations: 193.5 kB / 0.6801 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004232/0.9049, allocations: 107.8 kB / 0.6802 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00558/0.9105, allocations: 2.822 MB / 0.683 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9105, allocations: 0 / 0.683 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006505/0.917, allocations: 1.184 MB / 0.6841 GB, free: 9.945 MB / 0.4981 GB 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.01819/0.9352, allocations: 11.03 MB / 0.6949 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01268/0.9478, allocations: 7.47 MB / 0.7022 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9478, allocations: 0 / 0.7022 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004655/0.9525, allocations: 2.797 MB / 0.7049 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003581/0.9561, allocations: 0.4902 MB / 0.7054 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2733/1.229, allocations: 59.66 MB / 0.7637 GB, free: 181 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003268/1.233, allocations: 3.624 MB / 0.7672 GB, free: 179.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00446/1.237, allocations: 2.282 MB / 0.7694 GB, free: 178.4 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002937/1.24, allocations: 2.319 MB / 0.7717 GB, free: 176.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/1.24, allocations: 0 / 0.7717 GB, free: 176.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1395/1.38, allocations: 97.66 MB / 0.8671 GB, free: 78.96 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.17/22.55, allocations: 14.62 kB / 0.8671 GB, free: 78.95 MB / 0.545 GB " [Timeout remaining time 637] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/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: 25.885765420040116]