Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001426/0.001426, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001731/0.001731, allocations: 215 kB / 24.47 MB, free: 3.777 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.517/1.517, allocations: 207.7 MB / 235.3 MB, free: 9.797 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.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive",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.002073/0.002073, allocations: 51.92 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3208, allocations: 49.16 MB / 396.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.01391/0.3347, allocations: 12.01 MB / 408.4 MB, free: 1.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01257/0.3473, allocations: 4.191 MB / 412.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004444/0.3517, allocations: 97.19 kB / 412.6 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008817/0.3605, allocations: 3.65 MB / 416.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008977/0.3695, allocations: 2.177 MB / 418.5 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.3721, allocations: 0.6918 MB / 419.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.009014/0.3811, allocations: 4.406 MB / 423.6 MB, free: 7.723 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007456/0.3886, allocations: 3.707 MB / 427.3 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.3935, allocations: 1.951 MB / 429.2 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005446/0.399, allocations: 2.604 MB / 431.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001754/0.4007, allocations: 432 kB / 432.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00357/0.4043, allocations: 1.061 MB / 433.3 MB, free: 14.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003813/0.4081, allocations: 2.392 MB / 435.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005572/0.4137, allocations: 2.062 MB / 437.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01389/0.4276, allocations: 8.7 MB / 446.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4276, allocations: 0 / 446.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4276, allocations: 0 / 446.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003667/0.428, allocations: 0 / 446.5 MB, free: 0.832 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02491/0.4529, allocations: 6.526 MB / 453 MB, free: 10.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.421e-05/0.4529, allocations: 11.98 kB / 453 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001802/0.4547, allocations: 0.8766 MB / 453.9 MB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007609/0.4623, allocations: 2.037 MB / 455.9 MB, free: 7.297 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008241/0.4706, allocations: 3.201 MB / 459.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.4709, allocations: 303.8 kB / 459.4 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001331/0.4722, allocations: 403.8 kB / 459.8 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02781/0.5001, allocations: 12.87 MB / 472.7 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002007/0.5003, allocations: 55.58 kB / 472.7 MB, free: 5.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007927/0.501, allocations: 191.8 kB / 472.9 MB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004759/0.5058, allocations: 2.374 MB / 475.3 MB, free: 3.105 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02706/0.5329, allocations: 11.71 MB / 487 MB, free: 7.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07445/0.6073, allocations: 46.46 MB / 0.521 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01835/0.6257, allocations: 4.911 MB / 0.5258 GB, free: 2.781 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004941/0.6306, allocations: 3.22 MB / 0.5289 GB, free: 15.55 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005723/0.6312, allocations: 137.2 kB / 0.529 GB, free: 15.41 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.6312, allocations: 51.88 kB / 0.5291 GB, free: 15.36 MB / 462.1 MB Notification: Performance of pre-optimization done (n=221): time 5.37e-06/0.6312, allocations: 0 / 0.5291 GB, free: 15.36 MB / 462.1 MB Notification: Performance of matching and sorting (n=252): time 0.08041/0.7117, allocations: 28.12 MB / 0.5565 GB, free: 3.18 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001392/0.7118, allocations: 154.5 kB / 0.5567 GB, free: 2.996 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2413/0.9531, allocations: 4.865 MB / 0.5614 GB, free: 144.1 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007363/0.9538, allocations: 62.39 kB / 0.5615 GB, free: 144.1 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002839/0.9567, allocations: 3.728 MB / 0.5651 GB, free: 142.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001505/0.9582, allocations: 0.9949 MB / 0.5661 GB, free: 141.7 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002811/0.961, allocations: 1.512 MB / 0.5676 GB, free: 141 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.884e-05/0.961, allocations: 303.7 kB / 0.5679 GB, free: 140.7 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00592/0.9669, allocations: 3.449 MB / 0.5713 GB, free: 139.7 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008477/0.9754, allocations: 7.512 MB / 0.5786 GB, free: 133.2 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/0.9894, allocations: 11.81 MB / 0.5901 GB, free: 124.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002883/0.9897, allocations: 42.75 kB / 0.5902 GB, free: 124.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.02132/1.011, allocations: 11.87 MB / 0.6018 GB, free: 120 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.911e-05/1.011, allocations: 70.19 kB / 0.6018 GB, free: 119.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.011, allocations: 140 kB / 0.602 GB, free: 119.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002644/1.014, allocations: 1.129 MB / 0.6031 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0067/1.021, allocations: 1.792 MB / 0.6048 GB, free: 117.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006868/1.027, allocations: 6.214 MB / 0.6109 GB, free: 111.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007273/1.035, allocations: 423.5 kB / 0.6113 GB, free: 110.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/1.036, allocations: 471.8 kB / 0.6117 GB, free: 110.2 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 651 * Number of states: 0 () * Number of discrete variables: 42 (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 (871): * Single equations (assignments): 867 * 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.004618/1.041, allocations: 2.447 MB / 0.6141 GB, free: 107.8 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001249/1.042, allocations: 437.1 kB / 0.6145 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009317/1.052, allocations: 6.47 MB / 0.6209 GB, free: 100.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.346e-05/1.052, allocations: 28 kB / 0.6209 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/1.052, allocations: 4 kB / 0.6209 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.824e-05/1.052, allocations: 19.89 kB / 0.6209 GB, free: 100.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01963/1.071, allocations: 12.78 MB / 0.6334 GB, free: 88.01 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.606e-05/1.071, allocations: 2.531 kB / 0.6334 GB, free: 88.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.074, allocations: 0.5772 MB / 0.6339 GB, free: 87.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/1.076, allocations: 0.953 MB / 0.6349 GB, free: 86.48 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003912/1.077, allocations: 90.19 kB / 0.635 GB, free: 86.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006063/1.083, allocations: 5.95 MB / 0.6408 GB, free: 80.32 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.083, allocations: 4 kB / 0.6408 GB, free: 80.32 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/1.096, allocations: 10.94 MB / 0.6515 GB, free: 69.27 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002899/1.099, allocations: 0.8795 MB / 0.6523 GB, free: 68.39 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009515/1.1, allocations: 51.67 kB / 0.6524 GB, free: 68.34 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00237/1.102, allocations: 171.8 kB / 0.6525 GB, free: 68.17 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/1.103, allocations: 201.5 kB / 0.6527 GB, free: 67.98 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002208/1.103, allocations: 103.9 kB / 0.6528 GB, free: 67.88 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003553/1.106, allocations: 2.904 MB / 0.6557 GB, free: 64.97 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.106, allocations: 0 / 0.6557 GB, free: 64.97 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005757/1.112, allocations: 1.273 MB / 0.6569 GB, free: 63.7 MB / 478.1 MB 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 (225): * Single equations (assignments): 221 * 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.01304/1.125, allocations: 11.61 MB / 0.6682 GB, free: 51.98 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01059/1.136, allocations: 7.878 MB / 0.6759 GB, free: 44.12 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.136, allocations: 4 kB / 0.6759 GB, free: 44.12 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003744/1.139, allocations: 2.958 MB / 0.6788 GB, free: 41.15 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003329/1.143, allocations: 0.5115 MB / 0.6793 GB, free: 40.64 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08709/1.23, allocations: 62.5 MB / 0.7404 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00501/1.235, allocations: 3.273 MB / 0.7436 GB, free: 288 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005979/1.241, allocations: 2.392 MB / 0.7459 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004661/1.246, allocations: 2.444 MB / 0.7483 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/1.246, allocations: 4 kB / 0.7483 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3324/1.578, allocations: 96.48 MB / 0.8425 GB, free: 114.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.24/18.82, allocations: 8.047 kB / 0.8425 GB, free: 114 MB / 0.5137 GB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_MovingActuatedDrive.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 22.532971256878227]