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.0009455/0.0009455, 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.003751/0.003751, allocations: 163.1 kB / 24.69 MB, free: 9.414 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.876/0.876, allocations: 158.6 MB / 186.5 MB, free: 3.035 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.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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.111e-05/2.262e-05, allocations: 2.281 kB / 298.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.1392/0.1392, allocations: 10.32 MB / 308.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007097/0.1463, allocations: 3.736 MB / 312.5 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001954/0.1483, allocations: 74.59 kB / 312.6 MB, free: 7.848 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003852/0.1521, allocations: 2.781 MB / 315.3 MB, free: 6.664 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005073/0.1572, allocations: 1.994 MB / 317.3 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001317/0.1585, allocations: 0.63 MB / 318 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.005439/0.1639, allocations: 4.126 MB / 322.1 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003643/0.1676, allocations: 3.107 MB / 325.2 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003979/0.1716, allocations: 2.336 MB / 327.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003755/0.1753, allocations: 2.246 MB / 329.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007711/0.1761, allocations: 345.7 kB / 330.1 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.1779, allocations: 1.017 MB / 331.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001633/0.1795, allocations: 2.072 MB / 333.2 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001579/0.1811, allocations: 1.305 MB / 334.5 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006665/0.1878, allocations: 7.262 MB / 341.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1878, allocations: 0 / 341.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1878, allocations: 1.875 kB / 341.8 MB, free: 3.254 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0002026/0.188, allocations: 0 / 341.8 MB, free: 3.254 MB / 298.7 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.01256/0.2006, allocations: 5.543 MB / 347.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.2006, allocations: 11.98 kB / 347.3 MB, free: 13.64 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009479/0.2016, allocations: 0.7279 MB / 348.1 MB, free: 12.9 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.2055, allocations: 1.971 MB / 350 MB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004503/0.21, allocations: 2.509 MB / 352.5 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/0.2101, allocations: 242 kB / 352.8 MB, free: 8.125 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007724/0.2109, allocations: 319.8 kB / 353.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.2256, allocations: 10.78 MB / 363.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00039/0.226, allocations: 47.56 kB / 363.9 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/0.2264, allocations: 155.9 kB / 364.1 MB, free: 12.15 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.2283, allocations: 1.985 MB / 366 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01347/0.2418, allocations: 9.615 MB / 375.7 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03938/0.2812, allocations: 38.39 MB / 414.1 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007576/0.2888, allocations: 3.452 MB / 417.5 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.2905, allocations: 1.721 MB / 419.2 MB, free: 3.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003024/0.2908, allocations: 120.9 kB / 419.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.2909, allocations: 47.56 kB / 419.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of pre-optimization done (n=148): time 4.279e-06/0.2909, allocations: 0 / 419.4 MB, free: 3.645 MB / 378.7 MB Notification: Performance of matching and sorting (n=154): time 0.02671/0.3176, allocations: 14.54 MB / 433.9 MB, free: 5.051 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.3176, allocations: 149.5 kB / 434.1 MB, free: 4.875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00514/0.3228, allocations: 4.627 MB / 438.7 MB, free: 228 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003234/0.3231, allocations: 49.69 kB / 438.7 MB, free: 172 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001789/0.3249, allocations: 3.264 MB / 442 MB, free: 12.87 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007796/0.3257, allocations: 0.632 MB / 442.6 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001486/0.3272, allocations: 1.222 MB / 443.9 MB, free: 11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.942e-05/0.3272, allocations: 301.1 kB / 444.2 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/0.3294, allocations: 2.12 MB / 446.3 MB, free: 8.578 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003971/0.3333, allocations: 5.944 MB / 452.2 MB, free: 0.7109 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007487/0.3408, allocations: 8.754 MB / 461 MB, free: 6.047 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001137/0.3409, allocations: 40 kB / 461 MB, free: 6.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.165/0.5059, allocations: 8.56 MB / 469.6 MB, free: 129.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.786e-05/0.506, allocations: 63.88 kB / 469.6 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001531/0.5062, allocations: 135.7 kB / 469.8 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001892/0.5081, allocations: 0.9092 MB / 470.7 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/0.5115, allocations: 1.401 MB / 472.1 MB, free: 129.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.5163, allocations: 5.059 MB / 477.1 MB, free: 127.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/0.5201, allocations: 372.3 kB / 477.5 MB, free: 127.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007035/0.5208, allocations: 387.2 kB / 477.9 MB, free: 127.8 MB / 426.7 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.003221/0.524, allocations: 2.098 MB / 480 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006937/0.5247, allocations: 381 kB / 480.4 MB, free: 127 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004176/0.5288, allocations: 3.133 MB / 483.5 MB, free: 126 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.651e-05/0.5289, allocations: 20.69 kB / 483.5 MB, free: 126 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.5289, allocations: 3.719 kB / 483.5 MB, free: 126 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5289, allocations: 5.203 kB / 483.5 MB, free: 126 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009353/0.5383, allocations: 7.576 MB / 491.1 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.608e-06/0.5383, allocations: 3.812 kB / 491.1 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006714/0.5389, allocations: 272.8 kB / 491.4 MB, free: 123.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.5401, allocations: 0.7102 MB / 492.1 MB, free: 123.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5402, allocations: 42.52 kB / 492.1 MB, free: 123.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00353/0.5437, allocations: 4.64 MB / 496.8 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5437, allocations: 6.781 kB / 496.8 MB, free: 120.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005256/0.5489, allocations: 5.675 MB / 0.4907 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/0.5502, allocations: 0.6057 MB / 0.4913 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003165/0.5505, allocations: 38.84 kB / 0.4913 GB, free: 118.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008084/0.5513, allocations: 122.8 kB / 0.4914 GB, free: 118.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002043/0.5515, allocations: 107.5 kB / 0.4915 GB, free: 118.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.947e-05/0.5516, allocations: 60.41 kB / 0.4916 GB, free: 118.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002561/0.5542, allocations: 2.777 MB / 0.4943 GB, free: 116.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5542, allocations: 0 / 0.4943 GB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004365/0.5585, allocations: 1.041 MB / 0.4953 GB, free: 115.1 MB / 426.7 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.00607/0.5646, allocations: 6.348 MB / 0.5015 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00565/0.5703, allocations: 4.899 MB / 0.5063 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.5703, allocations: 8.125 kB / 0.5063 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.5714, allocations: 1.44 MB / 0.5077 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001981/0.5734, allocations: 446.4 kB / 0.5081 GB, free: 102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0471/0.6205, allocations: 46.92 MB / 0.5539 GB, free: 49.22 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002204/0.6227, allocations: 2.698 MB / 0.5566 GB, free: 46.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002735/0.6255, allocations: 1.945 MB / 0.5585 GB, free: 44.53 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001718/0.6272, allocations: 1.902 MB / 0.5603 GB, free: 42.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.392e-06/0.6272, allocations: 0 / 0.5603 GB, free: 42.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2202/0.8474, allocations: 69.82 MB / 0.6285 GB, free: 139.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.46/11.3, allocations: 1.062 kB / 0.6285 GB, free: 139.6 MB / 442.7 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Rotational3DEffects/ActuatedDrive/ActuatedDrive.csv","/var/lib/jenkins/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: 13.237377568148077]