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.001308/0.001308, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.00188/0.00188, allocations: 203.6 kB / 23.73 MB, free: 4.379 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.436/1.436, allocations: 230.6 MB / 257.5 MB, free: 7.789 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.001483/0.001483, allocations: 47.92 kB / 377.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2603, allocations: 53.36 MB / 431.1 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01387/0.2742, allocations: 11.35 MB / 442.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.2844, allocations: 4.116 MB / 446.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.2862, allocations: 95.56 kB / 446.6 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007233/0.2934, allocations: 3.602 MB / 450.2 MB, free: 3.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005444/0.2989, allocations: 2.039 MB / 452.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002066/0.3009, allocations: 0.6942 MB / 453 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007132/0.3081, allocations: 4.215 MB / 457.2 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005398/0.3135, allocations: 3.631 MB / 460.8 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004132/0.3176, allocations: 1.857 MB / 462.7 MB, free: 6.906 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005114/0.3227, allocations: 2.628 MB / 465.3 MB, free: 4.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.3245, allocations: 412 kB / 465.7 MB, free: 3.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.3273, allocations: 1.038 MB / 466.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002989/0.3303, allocations: 2.251 MB / 469 MB, free: 0.5703 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.3335, allocations: 1.93 MB / 470.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009447/0.3429, allocations: 8.151 MB / 479.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3429, allocations: 0 / 479.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.3429, allocations: 0 / 479.1 MB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001996/0.3431, allocations: 0 / 479.1 MB, free: 6.445 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.0212/0.3643, allocations: 6.272 MB / 485.4 MB, free: 116 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.3644, allocations: 8.031 kB / 485.4 MB, free: 108 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001553/0.3659, allocations: 0.8268 MB / 486.2 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007164/0.3731, allocations: 2.006 MB / 488.2 MB, free: 13.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/0.3803, allocations: 2.85 MB / 491 MB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.3806, allocations: 287.5 kB / 491.3 MB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001501/0.3821, allocations: 387.8 kB / 491.7 MB, free: 9.695 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0249/0.407, allocations: 12.18 MB / 0.4921 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/0.4072, allocations: 55.56 kB / 0.4921 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007189/0.4079, allocations: 183.8 kB / 0.4923 GB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004221/0.4122, allocations: 2.19 MB / 0.4944 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02369/0.4358, allocations: 11.1 MB / 0.5053 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2794/0.7153, allocations: 44.55 MB / 0.5488 GB, free: 71.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01601/0.7313, allocations: 4.716 MB / 0.5534 GB, free: 71.53 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003212/0.7345, allocations: 3.058 MB / 0.5564 GB, free: 70.45 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005597/0.735, allocations: 142.3 kB / 0.5565 GB, free: 70.43 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.7351, allocations: 54.78 kB / 0.5566 GB, free: 70.38 MB / 446.1 MB Notification: Performance of pre-optimization done (n=200): time 5.911e-06/0.7351, allocations: 2.281 kB / 0.5566 GB, free: 70.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=231): time 0.06487/0.8, allocations: 26.89 MB / 0.5828 GB, free: 49.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.8, allocations: 158.5 kB / 0.583 GB, free: 49.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004431/0.8044, allocations: 4.74 MB / 0.5876 GB, free: 44.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005161/0.8049, allocations: 53.7 kB / 0.5877 GB, free: 44.86 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001341/0.8063, allocations: 3.565 MB / 0.5912 GB, free: 41.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000756/0.807, allocations: 0.9132 MB / 0.592 GB, free: 40.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0015/0.8085, allocations: 1.451 MB / 0.5935 GB, free: 39.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.667e-05/0.8086, allocations: 305.1 kB / 0.5937 GB, free: 38.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003331/0.8119, allocations: 3.276 MB / 0.5969 GB, free: 35.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004621/0.8165, allocations: 7.205 MB / 0.604 GB, free: 26.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00994/0.8265, allocations: 11.3 MB / 0.615 GB, free: 13.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001337/0.8266, allocations: 43.94 kB / 0.6151 GB, free: 13.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=869) (initialization): time 0.01687/0.8435, allocations: 11.38 MB / 0.6262 GB, free: 1.941 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.8436, allocations: 67.94 kB / 0.6262 GB, free: 1.875 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000186/0.8438, allocations: 136.3 kB / 0.6264 GB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002519/0.8463, allocations: 1.122 MB / 0.6275 GB, free: 0.6172 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006178/0.8525, allocations: 1.715 MB / 0.6291 GB, free: 14.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008812/0.8613, allocations: 6.198 MB / 0.6352 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005421/0.8667, allocations: 401.7 kB / 0.6356 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001287/0.868, allocations: 455.7 kB / 0.636 GB, free: 7.754 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.004769/0.8728, allocations: 2.326 MB / 0.6383 GB, free: 5.418 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/0.8742, allocations: 429.1 kB / 0.6387 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.8862, allocations: 6.097 MB / 0.6446 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-05/0.8863, allocations: 24 kB / 0.6447 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.8863, allocations: 4 kB / 0.6447 GB, free: 14.85 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.971e-05/0.8863, allocations: 7.969 kB / 0.6447 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02356/0.9099, allocations: 12.08 MB / 0.6565 GB, free: 2.719 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.9099, allocations: 12.06 kB / 0.6565 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/0.913, allocations: 0.5382 MB / 0.657 GB, free: 2.168 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002688/0.9157, allocations: 0.9527 MB / 0.6579 GB, free: 1.211 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004744/0.9161, allocations: 79.89 kB / 0.658 GB, free: 1.133 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.9244, allocations: 5.939 MB / 0.6638 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.9244, allocations: 7.938 kB / 0.6638 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01652/0.9409, allocations: 10.36 MB / 0.6739 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003247/0.9442, allocations: 0.8367 MB / 0.6748 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/0.9452, allocations: 40.19 kB / 0.6748 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/0.9478, allocations: 153.4 kB / 0.6749 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005361/0.9483, allocations: 197.5 kB / 0.6751 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002655/0.9486, allocations: 103.9 kB / 0.6752 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004829/0.9534, allocations: 2.826 MB / 0.678 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9534, allocations: 0 / 0.678 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.006446/0.9598, allocations: 1.185 MB / 0.6792 GB, free: 11.32 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.01673/0.9766, allocations: 11.03 MB / 0.6899 GB, free: 244 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01266/0.9892, allocations: 7.471 MB / 0.6972 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/0.9892, allocations: 288 / 0.6972 GB, free: 8.793 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004515/0.9938, allocations: 2.797 MB / 0.6999 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.997, allocations: 499.8 kB / 0.7004 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2779/1.275, allocations: 59.64 MB / 0.7587 GB, free: 209.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003001/1.278, allocations: 3.09 MB / 0.7617 GB, free: 209.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004293/1.282, allocations: 2.288 MB / 0.7639 GB, free: 209 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002801/1.285, allocations: 2.315 MB / 0.7662 GB, free: 207.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.285, allocations: 2.719 kB / 0.7662 GB, free: 207.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/1.42, allocations: 96.07 MB / 0.86 GB, free: 113.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.27/17.69, allocations: 11.92 kB / 0.86 GB, free: 113.9 MB / 0.5606 GB " [Timeout remaining time 642] (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: 20.998419891984668]