Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.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.001833/0.001833, allocations: 120 kB / 18.49 MB, free: 4.59 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.002033/0.002033, allocations: 214.3 kB / 21.45 MB, free: 1.637 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.461/1.461, allocations: 230.5 MB / 254.7 MB, free: 14.84 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.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 373.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1123, allocations: 53.37 MB / 427.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.221/0.3333, allocations: 11.03 MB / 438.1 MB, free: 5.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007493/0.3408, allocations: 3.837 MB / 441.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002294/0.3431, allocations: 77.53 kB / 442 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005763/0.3488, allocations: 2.714 MB / 444.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006008/0.3549, allocations: 1.796 MB / 446.5 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002032/0.3569, allocations: 0.5865 MB / 447.1 MB, free: 1.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006716/0.3636, allocations: 3.576 MB / 450.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006376/0.37, allocations: 2.984 MB / 453.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003796/0.3738, allocations: 1.47 MB / 455.1 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004198/0.378, allocations: 2.141 MB / 457.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001185/0.3792, allocations: 316.2 kB / 457.6 MB, free: 12.58 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003165/0.3823, allocations: 1.07 MB / 458.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003116/0.3854, allocations: 1.842 MB / 460.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004684/0.3901, allocations: 2.087 MB / 462.6 MB, free: 9.488 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.4004, allocations: 6.687 MB / 469.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.4004, allocations: 1.5 kB / 469.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4004, allocations: 0 / 469.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002549/0.4006, allocations: 0 / 469.3 MB, free: 4.824 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.02089/0.4215, allocations: 5.18 MB / 474.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.4216, allocations: 8.031 kB / 474.5 MB, free: 1.078 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001827/0.4217, allocations: 98.89 kB / 474.5 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002223/0.424, allocations: 0.6781 MB / 475.2 MB, free: 300 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008055/0.432, allocations: 1.89 MB / 477.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/0.4379, allocations: 2.468 MB / 479.6 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002451/0.4382, allocations: 229.7 kB / 479.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001345/0.4395, allocations: 295.8 kB / 480.1 MB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/0.4636, allocations: 10.02 MB / 490.1 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002107/0.4638, allocations: 43.64 kB / 490.2 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001313/0.4651, allocations: 143.9 kB / 490.3 MB, free: 476 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003839/0.4689, allocations: 1.819 MB / 492.1 MB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.4892, allocations: 8.966 MB / 0.4893 GB, free: 5.68 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0527/0.5419, allocations: 37.82 MB / 0.5263 GB, free: 14.81 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01374/0.5556, allocations: 3.482 MB / 0.5297 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002473/0.5581, allocations: 1.58 MB / 0.5312 GB, free: 9.594 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006606/0.5588, allocations: 347.7 kB / 0.5315 GB, free: 9.203 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/0.5588, allocations: 55.11 kB / 0.5316 GB, free: 9.141 MB / 446.1 MB Notification: Performance of pre-optimization done (n=127): time 4.168e-06/0.5588, allocations: 3.938 kB / 0.5316 GB, free: 9.137 MB / 446.1 MB Notification: Performance of matching and sorting (n=133): time 0.04594/0.6048, allocations: 12.88 MB / 0.5442 GB, free: 12.16 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.6049, allocations: 145.2 kB / 0.5443 GB, free: 11.99 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006447/0.6113, allocations: 4.061 MB / 0.5483 GB, free: 7.902 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003408/0.6117, allocations: 45.7 kB / 0.5483 GB, free: 7.852 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002628/0.6143, allocations: 3.135 MB / 0.5514 GB, free: 4.688 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00078/0.6151, allocations: 0.5661 MB / 0.5519 GB, free: 4.117 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001668/0.6167, allocations: 1.17 MB / 0.5531 GB, free: 2.934 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.6169, allocations: 305.1 kB / 0.5534 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003016/0.6199, allocations: 1.951 MB / 0.5553 GB, free: 0.6758 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006167/0.626, allocations: 5.646 MB / 0.5608 GB, free: 9.164 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01075/0.6368, allocations: 8.237 MB / 0.5688 GB, free: 15.08 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.606e-05/0.6369, allocations: 40 kB / 0.5689 GB, free: 15.04 MB / 494.1 MB Notification: Performance of matching and sorting (n=734) (initialization): time 0.01565/0.6525, allocations: 8.057 MB / 0.5767 GB, free: 6.973 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.6527, allocations: 66.44 kB / 0.5768 GB, free: 6.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001932/0.6528, allocations: 132 kB / 0.5769 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002599/0.6554, allocations: 0.9157 MB / 0.5778 GB, free: 5.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004033/0.6595, allocations: 1.312 MB / 0.5791 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007421/0.6669, allocations: 5.201 MB / 0.5842 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004134/0.671, allocations: 307.6 kB / 0.5845 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007506/0.6718, allocations: 368 kB / 0.5848 GB, free: 14.56 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.00343/0.6752, allocations: 1.98 MB / 0.5868 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006348/0.6759, allocations: 357.5 kB / 0.5871 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/0.6816, allocations: 2.759 MB / 0.5898 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.6817, allocations: 16 kB / 0.5898 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/0.6817, allocations: 7.938 kB / 0.5898 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.583e-05/0.6817, allocations: 7.969 kB / 0.5898 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.695, allocations: 7.046 MB / 0.5967 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.268e-05/0.695, allocations: 4.094 kB / 0.5967 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.6961, allocations: 215.7 kB / 0.5969 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/0.6983, allocations: 0.7147 MB / 0.5976 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/0.6984, allocations: 31.97 kB / 0.5977 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006575/0.705, allocations: 4.747 MB / 0.6023 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.705, allocations: 8.031 kB / 0.6023 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008449/0.7135, allocations: 5.098 MB / 0.6073 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001112/0.7146, allocations: 413.4 kB / 0.6077 GB, free: 6.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003918/0.715, allocations: 24 kB / 0.6077 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.7162, allocations: 67.91 kB / 0.6078 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002714/0.7164, allocations: 88.47 kB / 0.6078 GB, free: 6.672 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.7166, allocations: 47.97 kB / 0.6079 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004149/0.7207, allocations: 2.545 MB / 0.6104 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7207, allocations: 0 / 0.6104 GB, free: 4.066 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00454/0.7252, allocations: 0.8827 MB / 0.6112 GB, free: 3.184 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.2072/0.9324, allocations: 5.719 MB / 0.6168 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007609/0.94, allocations: 4.517 MB / 0.6212 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.94, allocations: 0.5312 kB / 0.6212 GB, free: 160.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002181/0.9422, allocations: 1.266 MB / 0.6225 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002911/0.9451, allocations: 423.2 kB / 0.6229 GB, free: 160.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05884/1.004, allocations: 43.52 MB / 0.6654 GB, free: 131 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/1.007, allocations: 3.057 MB / 0.6684 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003271/1.01, allocations: 1.842 MB / 0.6702 GB, free: 126.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001685/1.012, allocations: 1.753 MB / 0.6719 GB, free: 125.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.262e-06/1.012, allocations: 0 / 0.6719 GB, free: 125.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09475/1.106, allocations: 64.63 MB / 0.735 GB, free: 60.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.5/23.61, allocations: 11.94 kB / 0.735 GB, free: 60.93 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.30774925899459]