Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001889/0.001889, allocations: 124.7 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 249.1 MB, free: 3.629 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 51.92 kB / 365.6 MB, free: 0.9609 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09966, allocations: 52.14 MB / 417.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01314/0.1128, allocations: 11.17 MB / 428.9 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.1207, allocations: 3.849 MB / 432.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001452/0.1221, allocations: 63.81 kB / 432.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00524/0.1274, allocations: 2.725 MB / 435.6 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.1325, allocations: 1.848 MB / 437.4 MB, free: 9 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001514/0.134, allocations: 0.5732 MB / 438 MB, free: 8.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005789/0.1398, allocations: 3.586 MB / 441.6 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005106/0.1449, allocations: 2.999 MB / 444.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003006/0.1479, allocations: 1.468 MB / 446.1 MB, free: 296 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1812/0.3291, allocations: 2.158 MB / 448.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006747/0.3298, allocations: 321.9 kB / 448.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001743/0.3316, allocations: 1.095 MB / 449.6 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.3332, allocations: 1.883 MB / 451.5 MB, free: 10.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002123/0.3353, allocations: 2.128 MB / 453.6 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009158/0.3444, allocations: 6.845 MB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.3444, allocations: 1.125 kB / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3444, allocations: 0 / 460.5 MB, free: 8.676 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000235/0.3447, allocations: 3.562 kB / 460.5 MB, free: 8.676 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: 1442 * Number of variables: 1442 Notification: Performance of Generate backend data structure: time 0.02104/0.3657, allocations: 5.234 MB / 465.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3658, allocations: 9.625 kB / 465.7 MB, free: 6.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001407/0.3672, allocations: 0.696 MB / 466.4 MB, free: 6.613 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006221/0.3734, allocations: 1.883 MB / 468.3 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00598/0.3794, allocations: 2.595 MB / 470.9 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.3795, allocations: 229.3 kB / 471.1 MB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007388/0.3803, allocations: 303 kB / 471.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01754/0.3978, allocations: 10.21 MB / 481.6 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001177/0.3979, allocations: 40.86 kB / 481.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004246/0.3984, allocations: 150.5 kB / 481.8 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003021/0.4014, allocations: 1.869 MB / 483.7 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01873/0.4201, allocations: 9.127 MB / 492.8 MB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0553/0.4754, allocations: 38.22 MB / 0.5186 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.4881, allocations: 3.489 MB / 0.522 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002416/0.4905, allocations: 1.577 MB / 0.5235 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006563/0.4912, allocations: 360.2 kB / 0.5239 GB, free: 11.59 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.4912, allocations: 47.11 kB / 0.5239 GB, free: 11.54 MB / 430.1 MB Notification: Performance of pre-optimization done (n=127): time 5.17e-06/0.4912, allocations: 4.109 kB / 0.5239 GB, free: 11.53 MB / 430.1 MB Notification: Performance of matching and sorting (n=133): time 0.04076/0.532, allocations: 12.94 MB / 0.5366 GB, free: 14.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.5321, allocations: 141.2 kB / 0.5367 GB, free: 14.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005701/0.5378, allocations: 4.078 MB / 0.5407 GB, free: 10.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/0.5381, allocations: 45.7 kB / 0.5407 GB, free: 10.21 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002338/0.5404, allocations: 3.183 MB / 0.5438 GB, free: 7.047 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006846/0.5411, allocations: 0.5695 MB / 0.5444 GB, free: 6.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001532/0.5426, allocations: 1.173 MB / 0.5455 GB, free: 5.297 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5427, allocations: 309.1 kB / 0.5458 GB, free: 4.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002978/0.5457, allocations: 1.951 MB / 0.5477 GB, free: 3.035 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/0.5516, allocations: 5.667 MB / 0.5533 GB, free: 11.56 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.563, allocations: 8.273 MB / 0.5613 GB, free: 1.973 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.404e-05/0.5631, allocations: 36 kB / 0.5614 GB, free: 1.938 MB / 462.1 MB Notification: Performance of matching and sorting (n=737) (initialization): time 0.01626/0.5793, allocations: 8.094 MB / 0.5693 GB, free: 9.887 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.5795, allocations: 72.02 kB / 0.5693 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000229/0.5797, allocations: 132 kB / 0.5695 GB, free: 9.688 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00261/0.5823, allocations: 0.9061 MB / 0.5704 GB, free: 8.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/0.5867, allocations: 1.314 MB / 0.5716 GB, free: 7.465 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.5941, allocations: 5.2 MB / 0.5767 GB, free: 2.129 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004167/0.5982, allocations: 311.8 kB / 0.577 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009931/0.5992, allocations: 364 kB / 0.5774 GB, free: 1.473 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 603 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.arrowLine.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 (698): * Single equations (assignments): 694 * 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.004155/0.6034, allocations: 2.013 MB / 0.5793 GB, free: 15.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007913/0.6042, allocations: 361.5 kB / 0.5797 GB, free: 15.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005913/0.6101, allocations: 2.751 MB / 0.5824 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.378e-05/0.6101, allocations: 16 kB / 0.5824 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/0.6101, allocations: 4 kB / 0.5824 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/0.6102, allocations: 7.984 kB / 0.5824 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01639/0.6265, allocations: 7.115 MB / 0.5893 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.336e-05/0.6266, allocations: 8 kB / 0.5893 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6277, allocations: 211.7 kB / 0.5895 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002327/0.6301, allocations: 0.7225 MB / 0.5903 GB, free: 4.188 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002095/0.6303, allocations: 31.98 kB / 0.5903 GB, free: 4.156 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006901/0.6372, allocations: 4.746 MB / 0.5949 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.325e-06/0.6372, allocations: 7.969 kB / 0.5949 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008498/0.6457, allocations: 5.091 MB / 0.5999 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/0.6468, allocations: 410.6 kB / 0.6003 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007522/0.6476, allocations: 23.94 kB / 0.6003 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.6492, allocations: 75.91 kB / 0.6004 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002806/0.6494, allocations: 88.41 kB / 0.6005 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/0.6496, allocations: 50.23 kB / 0.6005 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005261/0.6548, allocations: 2.546 MB / 0.603 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6548, allocations: 0 / 0.603 GB, free: 6.938 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005677/0.6605, allocations: 0.9061 MB / 0.6039 GB, free: 6.031 MB / 0.4981 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.009347/0.6699, allocations: 5.735 MB / 0.6095 GB, free: 264 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008098/0.678, allocations: 4.534 MB / 0.6139 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.678, allocations: 0 / 0.6139 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002127/0.6801, allocations: 1.27 MB / 0.6152 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003212/0.6833, allocations: 440 kB / 0.6156 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2619/0.9452, allocations: 43.75 MB / 0.6583 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003425/0.9486, allocations: 3.104 MB / 0.6613 GB, free: 175.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003818/0.9524, allocations: 1.847 MB / 0.6631 GB, free: 175.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001907/0.9543, allocations: 1.787 MB / 0.6649 GB, free: 174 MB / 0.5294 GB Notification: Performance of SimCode: time 1.433e-06/0.9543, allocations: 0 / 0.6649 GB, free: 174 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5041/1.458, allocations: 65.01 MB / 0.7284 GB, free: 118 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.56/24.02, allocations: 4 kB / 0.7284 GB, free: 118 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.800400824286044]