Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001732/0.001732, allocations: 109.6 kB / 21.18 MB, free: 0.7188 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.002249/0.002249, allocations: 216.7 kB / 24.49 MB, free: 4.09 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 207.6 MB / 235.3 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 59.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2531, allocations: 49.16 MB / 396.3 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01251/0.2656, allocations: 11.84 MB / 408.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009307/0.275, allocations: 3.957 MB / 412.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.2776, allocations: 74.38 kB / 412.2 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006191/0.2838, allocations: 2.763 MB / 415 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00564/0.2895, allocations: 1.937 MB / 416.9 MB, free: 11.21 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001681/0.2912, allocations: 0.5774 MB / 417.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005911/0.2971, allocations: 3.763 MB / 421.3 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004544/0.3016, allocations: 2.83 MB / 424.1 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003038/0.3046, allocations: 1.557 MB / 425.6 MB, free: 5.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004005/0.3087, allocations: 2.305 MB / 427.9 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00101/0.3097, allocations: 343.9 kB / 428.3 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002575/0.3122, allocations: 1.096 MB / 429.4 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.3147, allocations: 1.975 MB / 431.4 MB, free: 196 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003503/0.3182, allocations: 2.249 MB / 433.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009929/0.3282, allocations: 7.238 MB / 440.8 MB, free: 6.668 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3282, allocations: 4 kB / 440.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3282, allocations: 0 / 440.8 MB, free: 6.664 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002497/0.3284, allocations: 3.938 kB / 440.8 MB, free: 6.66 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01952/0.348, allocations: 5.375 MB / 446.2 MB, free: 1.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.348, allocations: 11.98 kB / 446.2 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001979/0.35, allocations: 0.7278 MB / 447 MB, free: 488 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007661/0.3576, allocations: 1.928 MB / 448.9 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006648/0.3643, allocations: 2.751 MB / 451.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000297/0.3646, allocations: 238 kB / 451.9 MB, free: 11.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00137/0.366, allocations: 311.8 kB / 452.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/0.3872, allocations: 10.72 MB / 462.9 MB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.3873, allocations: 39.64 kB / 462.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000503/0.3878, allocations: 155.9 kB / 463.1 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/0.3914, allocations: 1.982 MB / 465.1 MB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.4113, allocations: 9.566 MB / 474.6 MB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05286/0.4641, allocations: 39.69 MB / 0.5023 GB, free: 11.21 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01375/0.4779, allocations: 3.271 MB / 0.5055 GB, free: 7.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002702/0.4806, allocations: 1.732 MB / 0.5072 GB, free: 6.152 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.4811, allocations: 124.9 kB / 0.5073 GB, free: 6.031 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.878e-05/0.4812, allocations: 59.44 kB / 0.5073 GB, free: 5.965 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.937e-06/0.4812, allocations: 0 / 0.5073 GB, free: 5.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04467/0.5258, allocations: 13.87 MB / 0.5209 GB, free: 8.035 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5259, allocations: 153.5 kB / 0.521 GB, free: 7.852 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006003/0.5319, allocations: 4.184 MB / 0.5251 GB, free: 3.645 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002689/0.5322, allocations: 45.7 kB / 0.5252 GB, free: 3.594 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002647/0.5349, allocations: 3.299 MB / 0.5284 GB, free: 268 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008131/0.5357, allocations: 0.6438 MB / 0.529 GB, free: 15.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/0.5373, allocations: 1.23 MB / 0.5302 GB, free: 14.37 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5375, allocations: 301.1 kB / 0.5305 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/0.5408, allocations: 2.128 MB / 0.5326 GB, free: 11.94 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006819/0.5477, allocations: 5.944 MB / 0.5384 GB, free: 4.074 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01181/0.5595, allocations: 8.747 MB / 0.5469 GB, free: 9.414 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001168/0.5596, allocations: 40 kB / 0.547 GB, free: 9.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01778/0.5774, allocations: 8.568 MB / 0.5553 GB, free: 0.7969 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.5775, allocations: 67.91 kB / 0.5554 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001783/0.5776, allocations: 136 kB / 0.5555 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.17/0.7477, allocations: 0.9093 MB / 0.5564 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004606/0.7523, allocations: 1.392 MB / 0.5578 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/0.7589, allocations: 5.106 MB / 0.5627 GB, free: 138.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/0.7633, allocations: 326.5 kB / 0.5631 GB, free: 138.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008638/0.7642, allocations: 384.2 kB / 0.5634 GB, free: 138.4 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 620 * Number of states: 0 () * Number of discrete variables: 36 (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 (736): * Single equations (assignments): 732 * 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.003461/0.7677, allocations: 2.105 MB / 0.5655 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/0.7683, allocations: 371.3 kB / 0.5658 GB, free: 137.5 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005819/0.7741, allocations: 3.133 MB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-05/0.7742, allocations: 21.03 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.7742, allocations: 3.281 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.7742, allocations: 4.953 kB / 0.5689 GB, free: 136.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/0.7873, allocations: 7.785 MB / 0.5765 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/0.7874, allocations: 1.5 kB / 0.5765 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001221/0.7886, allocations: 259.2 kB / 0.5768 GB, free: 133.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.7905, allocations: 0.7152 MB / 0.5775 GB, free: 133.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001487/0.7906, allocations: 39.09 kB / 0.5775 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004772/0.7954, allocations: 4.647 MB / 0.582 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.7954, allocations: 3.906 kB / 0.5821 GB, free: 131.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007392/0.8028, allocations: 5.693 MB / 0.5876 GB, free: 129 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001718/0.8045, allocations: 0.5718 MB / 0.5882 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005096/0.805, allocations: 28.17 kB / 0.5882 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/0.8063, allocations: 85.36 kB / 0.5883 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002535/0.8066, allocations: 115.9 kB / 0.5884 GB, free: 128.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.8067, allocations: 53.16 kB / 0.5884 GB, free: 128.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003128/0.8098, allocations: 2.609 MB / 0.591 GB, free: 127.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8098, allocations: 192 / 0.591 GB, free: 127.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004176/0.814, allocations: 0.9612 MB / 0.5919 GB, free: 126.3 MB / 478.1 MB 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 (123): * Single equations (assignments): 119 * 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.006869/0.8208, allocations: 6.327 MB / 0.5981 GB, free: 119.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.8268, allocations: 4.907 MB / 0.6029 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.8268, allocations: 0 / 0.6029 GB, free: 115.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001589/0.8284, allocations: 1.437 MB / 0.6043 GB, free: 113.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.8305, allocations: 438.6 kB / 0.6047 GB, free: 113.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04646/0.877, allocations: 46.41 MB / 0.65 GB, free: 60.95 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002619/0.8796, allocations: 3.235 MB / 0.6532 GB, free: 57.68 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003479/0.8831, allocations: 1.937 MB / 0.6551 GB, free: 55.73 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/0.8849, allocations: 1.882 MB / 0.6569 GB, free: 53.85 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.8849, allocations: 0 / 0.6569 GB, free: 53.85 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1196/1.005, allocations: 72.86 MB / 0.7281 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.79/21.8, allocations: 4 kB / 0.7281 GB, free: 12.9 MB / 0.4981 GB " [Timeout remaining time 638] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 24.78099236008711]