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.001507/0.001507, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001698/0.001698, allocations: 207.4 kB / 24.53 MB, free: 4.07 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.355/1.355, allocations: 230.5 MB / 258.2 MB, free: 8.023 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 59.91 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2003, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01446/0.2148, allocations: 13.07 MB / 445 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008169/0.2229, allocations: 4.335 MB / 449.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2243, allocations: 95.56 kB / 449.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006653/0.231, allocations: 3.769 MB / 453.2 MB, free: 1.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004712/0.2357, allocations: 2.035 MB / 455.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.2372, allocations: 0.7018 MB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005467/0.2427, allocations: 4.217 MB / 460.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004238/0.2469, allocations: 3.627 MB / 463.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.2496, allocations: 1.857 MB / 465.7 MB, free: 4.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003583/0.2532, allocations: 2.632 MB / 468.3 MB, free: 2.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007705/0.2539, allocations: 408 kB / 468.7 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001998/0.2559, allocations: 1.163 MB / 469.9 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002112/0.258, allocations: 2.248 MB / 472.1 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002818/0.2608, allocations: 2.583 MB / 474.7 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00879/0.2696, allocations: 8.116 MB / 482.8 MB, free: 3.609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2696, allocations: 7.938 kB / 482.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2696, allocations: 0 / 482.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000153/0.2698, allocations: 0 / 482.8 MB, free: 3.602 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.01929/0.2891, allocations: 6.256 MB / 489.1 MB, free: 13.29 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2891, allocations: 12.03 kB / 489.1 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001234/0.2893, allocations: 123.8 kB / 489.2 MB, free: 13.15 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001299/0.2905, allocations: 0.8307 MB / 490 MB, free: 12.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007011/0.2976, allocations: 2.002 MB / 492 MB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005769/0.3033, allocations: 2.842 MB / 494.9 MB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.3036, allocations: 287.5 kB / 495.2 MB, free: 7.129 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.3046, allocations: 383.8 kB / 495.5 MB, free: 6.754 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02238/0.327, allocations: 12.18 MB / 0.4958 GB, free: 9.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001477/0.3271, allocations: 55.58 kB / 0.4959 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005701/0.3277, allocations: 175.9 kB / 0.496 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004189/0.3319, allocations: 2.198 MB / 0.4982 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02247/0.3543, allocations: 11.14 MB / 0.5091 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2179/0.5722, allocations: 46.32 MB / 0.5543 GB, free: 70.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01518/0.5874, allocations: 4.71 MB / 0.5589 GB, free: 70.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002728/0.5902, allocations: 3.081 MB / 0.5619 GB, free: 69.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.5906, allocations: 149.5 kB / 0.5621 GB, free: 69.08 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.45e-05/0.5906, allocations: 57.34 kB / 0.5621 GB, free: 69.03 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 3.867e-06/0.5906, allocations: 0 / 0.5621 GB, free: 69.03 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06042/0.651, allocations: 26.8 MB / 0.5883 GB, free: 48.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.6511, allocations: 154.5 kB / 0.5884 GB, free: 48.35 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0041/0.6552, allocations: 4.506 MB / 0.5928 GB, free: 43.91 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003773/0.6556, allocations: 53.7 kB / 0.5929 GB, free: 43.85 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001196/0.6568, allocations: 3.565 MB / 0.5964 GB, free: 40.6 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006277/0.6574, allocations: 0.9178 MB / 0.5973 GB, free: 39.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001392/0.6588, allocations: 1.445 MB / 0.5987 GB, free: 38.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.194e-05/0.6588, allocations: 313.1 kB / 0.599 GB, free: 37.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003277/0.6621, allocations: 3.272 MB / 0.6022 GB, free: 34.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004403/0.6665, allocations: 7.207 MB / 0.6092 GB, free: 25.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00907/0.6756, allocations: 11.29 MB / 0.6202 GB, free: 12.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.514e-05/0.6756, allocations: 47.06 kB / 0.6203 GB, free: 12.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01434/0.69, allocations: 11.4 MB / 0.6314 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.69, allocations: 65 kB / 0.6315 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.81e-05/0.6901, allocations: 143.9 kB / 0.6316 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002506/0.6926, allocations: 1.126 MB / 0.6327 GB, free: 15.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005682/0.6983, allocations: 1.715 MB / 0.6344 GB, free: 13.88 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00849/0.7068, allocations: 6.233 MB / 0.6405 GB, free: 7.535 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004811/0.7116, allocations: 407.7 kB / 0.6408 GB, free: 7.137 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007992/0.7124, allocations: 451.4 kB / 0.6413 GB, free: 6.699 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.003525/0.7159, allocations: 2.326 MB / 0.6436 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008051/0.7167, allocations: 425.7 kB / 0.644 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01057/0.7273, allocations: 6.09 MB / 0.6499 GB, free: 13.83 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.431e-05/0.7274, allocations: 24 kB / 0.6499 GB, free: 13.81 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.7274, allocations: 4 kB / 0.6499 GB, free: 13.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.927e-05/0.7274, allocations: 21.58 kB / 0.65 GB, free: 13.79 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/0.7492, allocations: 12.71 MB / 0.6624 GB, free: 1.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.7492, allocations: 4.062 kB / 0.6624 GB, free: 1.004 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002664/0.7519, allocations: 0.5304 MB / 0.6629 GB, free: 484 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002571/0.7544, allocations: 0.9563 MB / 0.6638 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/0.7547, allocations: 87.89 kB / 0.6639 GB, free: 15.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008102/0.7628, allocations: 5.978 MB / 0.6697 GB, free: 9.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/0.7628, allocations: 4 kB / 0.6697 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01568/0.7785, allocations: 10.36 MB / 0.6799 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002345/0.7808, allocations: 0.8326 MB / 0.6807 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005689/0.7814, allocations: 43.59 kB / 0.6807 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002022/0.7834, allocations: 155.8 kB / 0.6809 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005037/0.7839, allocations: 189.6 kB / 0.681 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/0.7842, allocations: 107.9 kB / 0.6811 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004082/0.7883, allocations: 2.826 MB / 0.6839 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7883, allocations: 0 / 0.6839 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004585/0.7928, allocations: 1.184 MB / 0.6851 GB, free: 9.586 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.01577/0.8086, allocations: 11.02 MB / 0.6958 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01164/0.8203, allocations: 7.474 MB / 0.7031 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.8203, allocations: 384 / 0.7031 GB, free: 7.062 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004189/0.8245, allocations: 2.8 MB / 0.7059 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/0.8272, allocations: 0.4961 MB / 0.7063 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2548/1.082, allocations: 59.65 MB / 0.7646 GB, free: 180.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002793/1.085, allocations: 3.618 MB / 0.7681 GB, free: 179.3 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00394/1.089, allocations: 2.287 MB / 0.7704 GB, free: 177.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002539/1.091, allocations: 2.319 MB / 0.7726 GB, free: 175.4 MB / 0.545 GB Notification: Performance of SimCode: time 9.22e-07/1.091, allocations: 4 kB / 0.7726 GB, free: 175.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1251/1.216, allocations: 97.68 MB / 0.868 GB, free: 78.11 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.71/21.92, allocations: 11.73 kB / 0.868 GB, free: 78.1 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.977051367983222]