Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.00152/0.00152, allocations: 112.2 kB / 18.49 MB, free: 4.539 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.001745/0.001745, allocations: 219 kB / 21.46 MB, free: 1.586 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.413/1.413, allocations: 230.6 MB / 254.8 MB, free: 15.09 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.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 55.92 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09449/0.09595, allocations: 53.34 MB / 427 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.1798/0.2758, allocations: 11.03 MB / 438.1 MB, free: 5.363 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006531/0.2823, allocations: 3.844 MB / 441.9 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001532/0.2838, allocations: 72.69 kB / 442 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004759/0.2886, allocations: 2.712 MB / 444.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004869/0.2934, allocations: 1.802 MB / 446.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.2949, allocations: 0.5785 MB / 447.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005204/0.3001, allocations: 3.573 MB / 450.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004708/0.3048, allocations: 2.979 MB / 453.6 MB, free: 14.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/0.3076, allocations: 1.472 MB / 455.1 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003754/0.3114, allocations: 2.142 MB / 457.2 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.3125, allocations: 316 kB / 457.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.3152, allocations: 1.07 MB / 458.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002546/0.3177, allocations: 1.839 MB / 460.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003624/0.3213, allocations: 2.083 MB / 462.5 MB, free: 9.66 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008374/0.3297, allocations: 6.689 MB / 469.2 MB, free: 4.996 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3297, allocations: 7.938 kB / 469.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.3297, allocations: 0 / 469.2 MB, free: 4.988 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001588/0.3299, allocations: 6.625 kB / 469.2 MB, free: 4.984 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.0182/0.3481, allocations: 5.165 MB / 474.4 MB, free: 1.246 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.3481, allocations: 12.03 kB / 474.4 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001529/0.3483, allocations: 98.02 kB / 474.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001183/0.3495, allocations: 0.6781 MB / 475.2 MB, free: 460 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007164/0.3566, allocations: 1.89 MB / 477.1 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005077/0.3617, allocations: 2.481 MB / 479.6 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.3619, allocations: 221.7 kB / 479.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008613/0.3628, allocations: 295.8 kB / 480.1 MB, free: 11.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.3822, allocations: 10.02 MB / 490.1 MB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000116/0.3824, allocations: 51.62 kB / 490.1 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004573/0.3828, allocations: 143.9 kB / 490.3 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003347/0.3862, allocations: 1.81 MB / 492.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01899/0.4051, allocations: 8.969 MB / 0.4893 GB, free: 5.836 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05089/0.456, allocations: 37.81 MB / 0.5262 GB, free: 14.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01358/0.4696, allocations: 3.478 MB / 0.5296 GB, free: 11.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002366/0.472, allocations: 1.587 MB / 0.5312 GB, free: 9.754 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006093/0.4726, allocations: 351.8 kB / 0.5315 GB, free: 9.355 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.076e-05/0.4726, allocations: 47.06 kB / 0.5316 GB, free: 9.301 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 3.586e-06/0.4726, allocations: 112 / 0.5316 GB, free: 9.301 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.0426/0.5152, allocations: 12.89 MB / 0.5441 GB, free: 12.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.87e-05/0.5153, allocations: 141.1 kB / 0.5443 GB, free: 12.16 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005978/0.5213, allocations: 4.065 MB / 0.5482 GB, free: 8.062 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.5216, allocations: 45.7 kB / 0.5483 GB, free: 8.012 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002487/0.5241, allocations: 3.131 MB / 0.5513 GB, free: 4.852 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006885/0.5247, allocations: 0.5661 MB / 0.5519 GB, free: 4.281 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001637/0.5264, allocations: 1.174 MB / 0.553 GB, free: 3.094 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5265, allocations: 305.1 kB / 0.5533 GB, free: 2.793 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003055/0.5296, allocations: 1.947 MB / 0.5552 GB, free: 0.8398 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/0.5358, allocations: 5.642 MB / 0.5607 GB, free: 9.336 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01007/0.5459, allocations: 8.241 MB / 0.5688 GB, free: 15.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.543e-05/0.5459, allocations: 40 kB / 0.5688 GB, free: 15.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01438/0.5603, allocations: 8.054 MB / 0.5767 GB, free: 7.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.763e-05/0.5604, allocations: 66.12 kB / 0.5768 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001489/0.5606, allocations: 132 kB / 0.5769 GB, free: 6.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.5631, allocations: 0.9116 MB / 0.5778 GB, free: 6.043 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.567, allocations: 1.315 MB / 0.5791 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.5743, allocations: 5.2 MB / 0.5841 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003744/0.578, allocations: 311.6 kB / 0.5844 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000579/0.5786, allocations: 364 kB / 0.5848 GB, free: 14.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 600 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (695): * Single equations (assignments): 691 * 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.003077/0.5817, allocations: 1.982 MB / 0.5867 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005857/0.5823, allocations: 353.6 kB / 0.5871 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005589/0.5879, allocations: 2.755 MB / 0.5897 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.79e-05/0.5879, allocations: 16 kB / 0.5898 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.5879, allocations: 4 kB / 0.5898 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.258e-05/0.5879, allocations: 11.92 kB / 0.5898 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.6004, allocations: 7.057 MB / 0.5967 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.6004, allocations: 0 / 0.5967 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.6015, allocations: 215.7 kB / 0.5969 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002254/0.6037, allocations: 0.7109 MB / 0.5976 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.6039, allocations: 39.97 kB / 0.5976 GB, free: 1.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006497/0.6104, allocations: 4.749 MB / 0.6022 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/0.6104, allocations: 11.95 kB / 0.6023 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008131/0.6185, allocations: 5.086 MB / 0.6072 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008981/0.6194, allocations: 422.5 kB / 0.6076 GB, free: 7.023 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003841/0.6198, allocations: 27.92 kB / 0.6077 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001184/0.621, allocations: 67.92 kB / 0.6077 GB, free: 6.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002729/0.6212, allocations: 92.45 kB / 0.6078 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.6213, allocations: 47.95 kB / 0.6079 GB, free: 6.793 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003969/0.6253, allocations: 2.534 MB / 0.6103 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6253, allocations: 0 / 0.6103 GB, free: 4.246 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00426/0.6296, allocations: 0.8788 MB / 0.6112 GB, free: 3.367 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (101): * Single equations (assignments): 97 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.1787/0.8083, allocations: 5.727 MB / 0.6168 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007084/0.8154, allocations: 4.508 MB / 0.6212 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.8154, allocations: 0 / 0.6212 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.8174, allocations: 1.275 MB / 0.6224 GB, free: 160.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/0.8199, allocations: 423.9 kB / 0.6228 GB, free: 160.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/0.8688, allocations: 43.53 MB / 0.6653 GB, free: 131.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002657/0.8714, allocations: 3.057 MB / 0.6683 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003228/0.8747, allocations: 1.846 MB / 0.6701 GB, free: 127.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001759/0.8764, allocations: 1.753 MB / 0.6718 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of SimCode: time 9.92e-07/0.8764, allocations: 0 / 0.6718 GB, free: 125.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3682/1.245, allocations: 64.65 MB / 0.735 GB, free: 61.21 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.91/24.16, allocations: 12.06 kB / 0.735 GB, free: 61.2 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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: 27.575071736995596]