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.001315/0.001315, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001375/0.001375, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.447/1.447, allocations: 230.2 MB / 254.5 MB, free: 15.27 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.001851/0.001851, allocations: 59.89 kB / 373.3 MB, free: 10.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.109, allocations: 53.31 MB / 426.7 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.2245/0.3335, allocations: 13.05 MB / 439.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008375/0.3419, allocations: 4.31 MB / 444 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002658/0.3446, allocations: 79.34 kB / 444.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006723/0.3513, allocations: 3.756 MB / 447.8 MB, free: 316 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.3571, allocations: 2.013 MB / 449.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.3592, allocations: 0.7012 MB / 450.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007378/0.3666, allocations: 4.214 MB / 454.8 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005457/0.3721, allocations: 3.963 MB / 458.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003929/0.376, allocations: 1.832 MB / 460.6 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005046/0.3811, allocations: 2.636 MB / 463.2 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.3827, allocations: 407.6 kB / 463.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002914/0.3856, allocations: 1.154 MB / 464.8 MB, free: 8.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002673/0.3883, allocations: 2.247 MB / 467 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004546/0.3928, allocations: 2.586 MB / 469.6 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01089/0.4037, allocations: 8.109 MB / 477.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.4037, allocations: 0 / 477.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4037, allocations: 4 kB / 477.7 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003136/0.404, allocations: 0 / 477.7 MB, free: 14.02 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.02025/0.4243, allocations: 6.339 MB / 484 MB, free: 7.598 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.4243, allocations: 12.03 kB / 484.1 MB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001319/0.4256, allocations: 0.823 MB / 484.9 MB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00663/0.4323, allocations: 2.01 MB / 486.9 MB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006582/0.4389, allocations: 2.918 MB / 489.8 MB, free: 1.762 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.4391, allocations: 287.5 kB / 490.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009562/0.4401, allocations: 387.8 kB / 490.5 MB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.4635, allocations: 12.18 MB / 0.4909 GB, free: 4.168 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001407/0.4637, allocations: 55.56 kB / 0.4909 GB, free: 4.113 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005015/0.4642, allocations: 183.8 kB / 0.4911 GB, free: 3.934 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003997/0.4682, allocations: 2.194 MB / 0.4932 GB, free: 1.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.023/0.4912, allocations: 11.14 MB / 0.5041 GB, free: 6.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06638/0.5576, allocations: 46.47 MB / 0.5495 GB, free: 7.008 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01706/0.5746, allocations: 5.171 MB / 0.5545 GB, free: 1.691 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004231/0.5789, allocations: 3.054 MB / 0.5575 GB, free: 14.63 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006809/0.5795, allocations: 388.2 kB / 0.5579 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.997e-05/0.5796, allocations: 55.88 kB / 0.5579 GB, free: 14.13 MB / 478.1 MB Notification: Performance of pre-optimization done (n=200): time 4.558e-06/0.5796, allocations: 0 / 0.5579 GB, free: 14.13 MB / 478.1 MB Notification: Performance of matching and sorting (n=231): time 0.07284/0.6524, allocations: 26.99 MB / 0.5843 GB, free: 3.027 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.6525, allocations: 154.5 kB / 0.5845 GB, free: 2.844 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006582/0.6591, allocations: 4.513 MB / 0.5889 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006135/0.6597, allocations: 61.7 kB / 0.5889 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002936/0.6627, allocations: 3.559 MB / 0.5924 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001478/0.6642, allocations: 0.9148 MB / 0.5933 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002314/0.6665, allocations: 1.455 MB / 0.5947 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.6666, allocations: 301.1 kB / 0.595 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004881/0.6715, allocations: 3.273 MB / 0.5982 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008804/0.6803, allocations: 7.203 MB / 0.6052 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2107/0.8909, allocations: 11.29 MB / 0.6163 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001221/0.891, allocations: 39.97 kB / 0.6163 GB, free: 154.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01971/0.9108, allocations: 11.39 MB / 0.6274 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001128/0.9109, allocations: 65.34 kB / 0.6275 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002566/0.9111, allocations: 141.9 kB / 0.6276 GB, free: 152.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003028/0.9142, allocations: 1.123 MB / 0.6287 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006216/0.9204, allocations: 1.717 MB / 0.6304 GB, free: 152 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007706/0.9281, allocations: 6.351 MB / 0.6366 GB, free: 148.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00549/0.9336, allocations: 406.4 kB / 0.637 GB, free: 148.7 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001283/0.9348, allocations: 455.6 kB / 0.6374 GB, free: 148.7 MB / 0.5137 GB 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.004262/0.9391, allocations: 2.327 MB / 0.6397 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008587/0.94, allocations: 419.6 kB / 0.6401 GB, free: 147.6 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/0.9483, allocations: 6.103 MB / 0.646 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/0.9483, allocations: 30.72 kB / 0.6461 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.9484, allocations: 4.281 kB / 0.6461 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/0.9484, allocations: 8.75 kB / 0.6461 GB, free: 145.7 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01821/0.9666, allocations: 12.74 MB / 0.6585 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/0.9666, allocations: 2.656 kB / 0.6585 GB, free: 141.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002438/0.9691, allocations: 0.5368 MB / 0.659 GB, free: 140.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002095/0.9711, allocations: 0.9468 MB / 0.66 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002941/0.9714, allocations: 88.3 kB / 0.6601 GB, free: 140.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005691/0.9771, allocations: 6.09 MB / 0.666 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.9771, allocations: 4 kB / 0.666 GB, free: 134.7 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01117/0.9883, allocations: 10.36 MB / 0.6761 GB, free: 124.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002524/0.9908, allocations: 0.9052 MB / 0.677 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007253/0.9916, allocations: 43.98 kB / 0.677 GB, free: 123.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001995/0.9935, allocations: 163.4 kB / 0.6772 GB, free: 123.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004306/0.994, allocations: 177.7 kB / 0.6774 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002093/0.9942, allocations: 107.7 kB / 0.6775 GB, free: 123 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003653/0.9978, allocations: 2.826 MB / 0.6802 GB, free: 120.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9978, allocations: 4.547 kB / 0.6802 GB, free: 120.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005734/1.004, allocations: 1.18 MB / 0.6814 GB, free: 119 MB / 0.5137 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.01209/1.016, allocations: 11.02 MB / 0.6922 GB, free: 107.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00957/1.025, allocations: 7.463 MB / 0.6994 GB, free: 100.5 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/1.025, allocations: 4 kB / 0.6994 GB, free: 100.5 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003293/1.029, allocations: 2.787 MB / 0.7022 GB, free: 97.69 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002863/1.031, allocations: 0.4929 MB / 0.7026 GB, free: 97.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06797/1.099, allocations: 59.58 MB / 0.7608 GB, free: 31.37 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/1.103, allocations: 3.618 MB / 0.7644 GB, free: 27.73 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004523/1.107, allocations: 2.285 MB / 0.7666 GB, free: 25.44 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/1.11, allocations: 2.315 MB / 0.7689 GB, free: 23.12 MB / 0.5137 GB Notification: Performance of SimCode: time 8.41e-07/1.11, allocations: 4 kB / 0.7689 GB, free: 23.12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.411/1.521, allocations: 92.09 MB / 0.8588 GB, free: 168.9 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.27/21.79, allocations: 4.922 kB / 0.8588 GB, free: 168.9 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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.322305311914533]