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.0008113/0.0008113, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003174/0.003174, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8141/0.8141, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 298.4 MB, free: 3.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.241e-05, allocations: 2.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.MovingActuatedDrive): time 0.1326/0.1326, allocations: 12.02 MB / 310.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007493/0.1401, allocations: 4.204 MB / 314.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.1424, allocations: 96.22 kB / 314.8 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004097/0.1464, allocations: 3.831 MB / 318.6 MB, free: 4.742 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004478/0.1509, allocations: 2.233 MB / 320.8 MB, free: 3.609 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.1523, allocations: 0.7512 MB / 321.6 MB, free: 3.066 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005141/0.1574, allocations: 4.795 MB / 326.4 MB, free: 432 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004498/0.1619, allocations: 3.99 MB / 330.4 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004184/0.1661, allocations: 2.903 MB / 333.3 MB, free: 11.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.1691, allocations: 2.654 MB / 335.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008538/0.17, allocations: 440 kB / 336.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001652/0.1716, allocations: 1.112 MB / 337.5 MB, free: 7.562 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00169/0.1733, allocations: 2.497 MB / 339.9 MB, free: 5.059 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001851/0.1752, allocations: 1.62 MB / 341.6 MB, free: 3.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006691/0.1819, allocations: 8.675 MB / 350.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1819, allocations: 0 / 350.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1819, allocations: 0 / 350.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002595/0.1821, allocations: 0 / 350.2 MB, free: 10.73 MB / 314.7 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.01322/0.1953, allocations: 6.675 MB / 356.9 MB, free: 3.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.1954, allocations: 11.98 kB / 356.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.1964, allocations: 0.8805 MB / 357.8 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00388/0.2003, allocations: 2.084 MB / 359.9 MB, free: 0.9922 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003909/0.2042, allocations: 2.928 MB / 362.8 MB, free: 14.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/0.2044, allocations: 307.7 kB / 363.1 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006338/0.205, allocations: 410.7 kB / 363.5 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/0.2211, allocations: 12.95 MB / 376.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001175/0.2213, allocations: 47.59 kB / 376.5 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005195/0.2218, allocations: 195.8 kB / 376.7 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002381/0.2242, allocations: 2.37 MB / 379.1 MB, free: 13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01573/0.2399, allocations: 11.78 MB / 390.9 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.044/0.2839, allocations: 46.76 MB / 437.6 MB, free: 1.297 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01098/0.2949, allocations: 5.141 MB / 442.8 MB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/0.2982, allocations: 3.222 MB / 446 MB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003658/0.2985, allocations: 149 kB / 446.1 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.2986, allocations: 51.88 kB / 446.2 MB, free: 8.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=221): time 5.591e-06/0.2986, allocations: 0 / 446.2 MB, free: 8.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1773/0.4759, allocations: 29.02 MB / 475.2 MB, free: 135.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.184e-05/0.4759, allocations: 158.9 kB / 475.4 MB, free: 135.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00693/0.4829, allocations: 5.083 MB / 480.4 MB, free: 133.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006431/0.4835, allocations: 66.11 kB / 480.5 MB, free: 133.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/0.4854, allocations: 3.693 MB / 484.2 MB, free: 131.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00116/0.4865, allocations: 0.985 MB / 485.2 MB, free: 130.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001986/0.4885, allocations: 1.522 MB / 486.7 MB, free: 129.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.212e-05/0.4885, allocations: 305.1 kB / 487 MB, free: 129.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003752/0.4923, allocations: 3.455 MB / 490.5 MB, free: 128.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.4973, allocations: 7.524 MB / 498 MB, free: 122 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008358/0.5057, allocations: 11.82 MB / 0.4979 GB, free: 113.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001328/0.5058, allocations: 43.84 kB / 0.4979 GB, free: 113.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=910) (initialization): time 0.0137/0.5195, allocations: 11.93 MB / 0.5095 GB, free: 106.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.493e-05/0.5196, allocations: 64.94 kB / 0.5096 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.5197, allocations: 144 kB / 0.5097 GB, free: 105.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001505/0.5212, allocations: 1.134 MB / 0.5109 GB, free: 104.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003689/0.5249, allocations: 1.829 MB / 0.5126 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.5294, allocations: 6.209 MB / 0.5187 GB, free: 96.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0048/0.5342, allocations: 479.5 kB / 0.5192 GB, free: 96.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.5353, allocations: 482.5 kB / 0.5196 GB, free: 95.66 MB / 426.7 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.003181/0.5385, allocations: 2.447 MB / 0.522 GB, free: 93.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008872/0.5394, allocations: 445 kB / 0.5224 GB, free: 92.77 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005725/0.5451, allocations: 6.53 MB / 0.5288 GB, free: 86.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.5451, allocations: 28 kB / 0.5288 GB, free: 86.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/0.5451, allocations: 4 kB / 0.5288 GB, free: 86.19 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.5452, allocations: 7.969 kB / 0.5288 GB, free: 86.18 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.5589, allocations: 12.94 MB / 0.5415 GB, free: 73.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.206e-05/0.5589, allocations: 8.25 kB / 0.5415 GB, free: 73.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/0.5603, allocations: 0.6201 MB / 0.5421 GB, free: 72.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/0.5616, allocations: 0.945 MB / 0.543 GB, free: 71.64 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002111/0.5618, allocations: 103.9 kB / 0.5431 GB, free: 71.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.5658, allocations: 5.933 MB / 0.5489 GB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5658, allocations: 7.938 kB / 0.5489 GB, free: 65.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00884/0.5746, allocations: 11 MB / 0.5597 GB, free: 54.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/0.5764, allocations: 0.9263 MB / 0.5606 GB, free: 53.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/0.5768, allocations: 44 kB / 0.5606 GB, free: 53.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.5781, allocations: 219.7 kB / 0.5608 GB, free: 53.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000337/0.5785, allocations: 217.5 kB / 0.561 GB, free: 53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.5786, allocations: 124.8 kB / 0.5611 GB, free: 52.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002796/0.5814, allocations: 3.071 MB / 0.5641 GB, free: 49.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5814, allocations: 0 / 0.5641 GB, free: 49.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00445/0.5859, allocations: 1.343 MB / 0.5655 GB, free: 48.46 MB / 426.7 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.00875/0.5946, allocations: 11.7 MB / 0.5769 GB, free: 36.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007961/0.6026, allocations: 7.882 MB / 0.5846 GB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/0.6026, allocations: 3.938 kB / 0.5846 GB, free: 28.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002549/0.6051, allocations: 2.991 MB / 0.5875 GB, free: 25.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003127/0.6083, allocations: 0.5296 MB / 0.588 GB, free: 25.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1939/0.8021, allocations: 63.07 MB / 0.6496 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002352/0.8045, allocations: 3.278 MB / 0.6528 GB, free: 124.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003149/0.8076, allocations: 2.394 MB / 0.6551 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002143/0.8098, allocations: 2.513 MB / 0.6576 GB, free: 122.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.653e-06/0.8098, allocations: 0 / 0.6576 GB, free: 122.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09352/0.9033, allocations: 97.7 MB / 0.753 GB, free: 24.36 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.23, allocations: 11.94 kB / 0.753 GB, free: 24.35 MB / 442.7 MB " [Timeout remaining time 648] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/MovingActuatedDrive/MovingActuatedDrive.csv","/var/lib/jenkins/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: 14.381704601459205]