Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001333/0.001333, allocations: 112.7 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001543/0.001543, allocations: 214.7 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 63.89 kB / 377.8 MB, free: 3.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.213/0.2149, allocations: 53.4 MB / 431.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01509/0.23, allocations: 13.07 MB / 444.3 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009544/0.2396, allocations: 4.335 MB / 448.6 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002643/0.2422, allocations: 95.56 kB / 448.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008322/0.2505, allocations: 3.761 MB / 452.4 MB, free: 1.367 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005223/0.2558, allocations: 2.031 MB / 454.5 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001865/0.2576, allocations: 0.7057 MB / 455.2 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006216/0.2638, allocations: 4.217 MB / 459.4 MB, free: 10.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005425/0.2693, allocations: 3.627 MB / 463 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003502/0.2728, allocations: 1.857 MB / 464.9 MB, free: 4.836 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004408/0.2772, allocations: 2.636 MB / 467.5 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001403/0.2786, allocations: 408 kB / 467.9 MB, free: 1.793 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003066/0.2816, allocations: 1.163 MB / 469.1 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003282/0.2849, allocations: 2.244 MB / 471.3 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004631/0.2896, allocations: 2.591 MB / 473.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.3011, allocations: 8.112 MB / 482 MB, free: 3.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3011, allocations: 0 / 482 MB, free: 3.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3011, allocations: 0 / 482 MB, free: 3.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000272/0.3014, allocations: 0 / 482 MB, free: 3.629 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.02119/0.3225, allocations: 6.256 MB / 488.3 MB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3226, allocations: 16.03 kB / 488.3 MB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002056/0.3246, allocations: 0.8268 MB / 489.1 MB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007537/0.3322, allocations: 2.014 MB / 491.1 MB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006953/0.3391, allocations: 2.842 MB / 494 MB, free: 7.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.3394, allocations: 283.5 kB / 494.3 MB, free: 7.27 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/0.3408, allocations: 391.8 kB / 494.6 MB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02509/0.3659, allocations: 12.18 MB / 0.4949 GB, free: 9.953 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001992/0.3661, allocations: 55.47 kB / 0.495 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.3672, allocations: 179.9 kB / 0.4952 GB, free: 9.723 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004317/0.3715, allocations: 2.19 MB / 0.4973 GB, free: 7.531 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02344/0.395, allocations: 11.14 MB / 0.5082 GB, free: 12.38 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2463/0.6413, allocations: 46.31 MB / 0.5534 GB, free: 70.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01494/0.6563, allocations: 4.719 MB / 0.558 GB, free: 69.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003196/0.6595, allocations: 3.077 MB / 0.561 GB, free: 68.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.66, allocations: 143.5 kB / 0.5612 GB, free: 68.72 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.66, allocations: 57.31 kB / 0.5612 GB, free: 68.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.867e-06/0.66, allocations: 0 / 0.5612 GB, free: 68.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06132/0.7213, allocations: 26.81 MB / 0.5874 GB, free: 48.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.7214, allocations: 154.5 kB / 0.5875 GB, free: 48.45 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004566/0.7259, allocations: 4.5 MB / 0.5919 GB, free: 44.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004255/0.7264, allocations: 65.53 kB / 0.592 GB, free: 43.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.7277, allocations: 3.562 MB / 0.5955 GB, free: 40.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006809/0.7284, allocations: 0.9145 MB / 0.5964 GB, free: 39.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001404/0.7298, allocations: 1.452 MB / 0.5978 GB, free: 38.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.435e-05/0.7298, allocations: 301.1 kB / 0.5981 GB, free: 38.05 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/0.7332, allocations: 3.273 MB / 0.6013 GB, free: 34.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004434/0.7376, allocations: 7.211 MB / 0.6083 GB, free: 25.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/0.7465, allocations: 11.3 MB / 0.6194 GB, free: 12.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.035e-05/0.7466, allocations: 40 kB / 0.6194 GB, free: 12.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.0149/0.7615, allocations: 11.4 MB / 0.6305 GB, free: 1.055 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.7616, allocations: 68.97 kB / 0.6306 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.7617, allocations: 136 kB / 0.6307 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.7642, allocations: 1.125 MB / 0.6318 GB, free: 15.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005956/0.7701, allocations: 1.715 MB / 0.6335 GB, free: 14 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008754/0.7789, allocations: 6.233 MB / 0.6396 GB, free: 7.656 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/0.7841, allocations: 399.6 kB / 0.64 GB, free: 7.266 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.7853, allocations: 451.8 kB / 0.6404 GB, free: 6.824 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.004421/0.7897, allocations: 2.329 MB / 0.6427 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/0.7907, allocations: 425.1 kB / 0.6431 GB, free: 4.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01104/0.8018, allocations: 6.094 MB / 0.649 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.159e-05/0.8018, allocations: 24 kB / 0.649 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.354e-05/0.8018, allocations: 4 kB / 0.649 GB, free: 13.93 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/0.8019, allocations: 15.95 kB / 0.6491 GB, free: 13.91 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02386/0.8257, allocations: 12.71 MB / 0.6615 GB, free: 1.141 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-05/0.8257, allocations: 8.031 kB / 0.6615 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/0.8286, allocations: 0.5381 MB / 0.662 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002589/0.8312, allocations: 0.952 MB / 0.6629 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/0.8316, allocations: 83.89 kB / 0.663 GB, free: 15.56 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008063/0.8396, allocations: 5.972 MB / 0.6688 GB, free: 9.477 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.094e-06/0.8397, allocations: 8.125 kB / 0.6689 GB, free: 9.469 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0157/0.8554, allocations: 10.35 MB / 0.679 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/0.8578, allocations: 0.8404 MB / 0.6798 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009874/0.8588, allocations: 40 kB / 0.6798 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002466/0.8613, allocations: 156.2 kB / 0.68 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005625/0.8619, allocations: 196.9 kB / 0.6802 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/0.8621, allocations: 103.9 kB / 0.6803 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004814/0.867, allocations: 2.83 MB / 0.683 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.867, allocations: 3.938 kB / 0.683 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005334/0.8723, allocations: 1.184 MB / 0.6842 GB, free: 9.707 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.016/0.8883, allocations: 11.01 MB / 0.6949 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01188/0.9002, allocations: 7.477 MB / 0.7022 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.9002, allocations: 192 / 0.7022 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004463/0.9046, allocations: 2.797 MB / 0.705 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003703/0.9083, allocations: 0.4887 MB / 0.7054 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2621/1.17, allocations: 59.66 MB / 0.7637 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002741/1.173, allocations: 3.623 MB / 0.7672 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003997/1.177, allocations: 2.283 MB / 0.7695 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002499/1.18, allocations: 2.315 MB / 0.7717 GB, free: 175.5 MB / 0.545 GB Notification: Performance of SimCode: time 7.62e-07/1.18, allocations: 4 kB / 0.7717 GB, free: 175.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.309, allocations: 97.65 MB / 0.8671 GB, free: 78.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.8/22.11, allocations: 9.938 kB / 0.8671 GB, free: 78.27 MB / 0.545 GB " [Timeout remaining time 638] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.368890655925497]