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.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.001646/0.001646, allocations: 117.4 kB / 18.45 MB, free: 4.586 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.002004/0.002004, allocations: 189.2 kB / 21.39 MB, free: 1.648 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.41/1.41, allocations: 207.6 MB / 231.8 MB, free: 4.109 MB / 174.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.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_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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001716/0.001716, allocations: 51.92 kB / 342.2 MB, free: 10.07 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09957/0.1013, allocations: 49.12 MB / 391.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01429/0.1156, allocations: 11.81 MB / 403.2 MB, free: 12.92 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008745/0.1243, allocations: 3.933 MB / 407.1 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.1262, allocations: 67.81 kB / 407.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005409/0.1316, allocations: 2.753 MB / 409.9 MB, free: 6.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005749/0.1373, allocations: 1.926 MB / 411.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.139, allocations: 0.5732 MB / 412.4 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005969/0.145, allocations: 3.758 MB / 416.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004417/0.1494, allocations: 3.066 MB / 419.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003014/0.1524, allocations: 1.542 MB / 420.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.1563, allocations: 2.29 MB / 423.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009672/0.1572, allocations: 347.9 kB / 423.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.1597, allocations: 1.092 MB / 424.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002345/0.1621, allocations: 1.975 MB / 426.5 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003409/0.1655, allocations: 2.249 MB / 428.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008808/0.1743, allocations: 7.229 MB / 436 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1743, allocations: 0 / 436 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1743, allocations: 0 / 436 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001809/0.1745, allocations: 4 kB / 436 MB, free: 11.95 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.0177/0.1922, allocations: 5.458 MB / 441.4 MB, free: 6.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.1922, allocations: 12.03 kB / 441.4 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001066/0.1933, allocations: 0.724 MB / 442.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006484/0.1998, allocations: 1.924 MB / 444.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0066/0.2064, allocations: 2.823 MB / 446.9 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002424/0.2066, allocations: 238 kB / 447.1 MB, free: 0.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001048/0.2077, allocations: 315.8 kB / 447.5 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01984/0.2275, allocations: 10.71 MB / 458.2 MB, free: 4.914 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001222/0.2276, allocations: 47.64 kB / 458.2 MB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004294/0.228, allocations: 151.8 kB / 458.4 MB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003381/0.2314, allocations: 1.982 MB / 460.3 MB, free: 2.734 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2091/0.4405, allocations: 9.561 MB / 469.9 MB, free: 56.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/0.4787, allocations: 39.86 MB / 0.4978 GB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.4896, allocations: 3.72 MB / 0.5014 GB, free: 21.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001832/0.4914, allocations: 1.729 MB / 0.5031 GB, free: 20.04 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004562/0.4919, allocations: 359.8 kB / 0.5035 GB, free: 19.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.4919, allocations: 53.03 kB / 0.5035 GB, free: 19.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=148): time 3.838e-06/0.4919, allocations: 0 / 0.5035 GB, free: 19.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=154): time 0.03553/0.5274, allocations: 14.02 MB / 0.5172 GB, free: 5.684 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.5275, allocations: 149.5 kB / 0.5174 GB, free: 5.504 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004355/0.5318, allocations: 4.187 MB / 0.5215 GB, free: 1.375 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002854/0.5321, allocations: 45.7 kB / 0.5215 GB, free: 1.324 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00212/0.5342, allocations: 3.309 MB / 0.5247 GB, free: 14.09 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008718/0.5351, allocations: 0.6417 MB / 0.5254 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001635/0.5367, allocations: 1.23 MB / 0.5266 GB, free: 12.22 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5369, allocations: 304.9 kB / 0.5268 GB, free: 11.92 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003297/0.5402, allocations: 2.124 MB / 0.5289 GB, free: 9.793 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006836/0.547, allocations: 5.948 MB / 0.5347 GB, free: 1.926 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.5584, allocations: 8.752 MB / 0.5433 GB, free: 7.262 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001158/0.5585, allocations: 40.56 kB / 0.5433 GB, free: 7.223 MB / 414.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01709/0.5756, allocations: 8.567 MB / 0.5517 GB, free: 14.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001703/0.5758, allocations: 60 kB / 0.5517 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002686/0.576, allocations: 136 kB / 0.5519 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002794/0.5788, allocations: 0.9193 MB / 0.5528 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0049/0.5837, allocations: 1.391 MB / 0.5541 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/0.5915, allocations: 5.211 MB / 0.5592 GB, free: 6.793 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004271/0.5957, allocations: 327.6 kB / 0.5595 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009586/0.5967, allocations: 384 kB / 0.5599 GB, free: 6.098 MB / 430.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.004327/0.601, allocations: 2.099 MB / 0.5619 GB, free: 3.984 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008689/0.6019, allocations: 369.6 kB / 0.5623 GB, free: 3.621 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006614/0.6085, allocations: 3.132 MB / 0.5654 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.243e-05/0.6085, allocations: 20 kB / 0.5654 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.6086, allocations: 4 kB / 0.5654 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.109e-05/0.6086, allocations: 11.97 kB / 0.5654 GB, free: 448 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01732/0.6259, allocations: 7.798 MB / 0.573 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.667e-05/0.6259, allocations: 8.094 kB / 0.573 GB, free: 8.582 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001396/0.6273, allocations: 259.6 kB / 0.5733 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002135/0.6294, allocations: 0.7108 MB / 0.574 GB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002483/0.6297, allocations: 35.97 kB / 0.574 GB, free: 7.578 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006756/0.6364, allocations: 4.753 MB / 0.5786 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.6365, allocations: 0 / 0.5786 GB, free: 2.691 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009706/0.6462, allocations: 5.695 MB / 0.5842 GB, free: 12.96 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002045/0.6482, allocations: 0.6473 MB / 0.5848 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008255/0.649, allocations: 24.09 kB / 0.5848 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00171/0.6507, allocations: 83.89 kB / 0.5849 GB, free: 12.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003207/0.6511, allocations: 106.9 kB / 0.585 GB, free: 12.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/0.6512, allocations: 51.97 kB / 0.5851 GB, free: 12.04 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.004966/0.6562, allocations: 2.626 MB / 0.5876 GB, free: 9.398 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6562, allocations: 3.938 kB / 0.5876 GB, free: 9.395 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005446/0.6616, allocations: 0.9608 MB / 0.5886 GB, free: 8.434 MB / 462.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.01058/0.6722, allocations: 6.328 MB / 0.5948 GB, free: 2.062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008759/0.681, allocations: 4.908 MB / 0.5996 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.681, allocations: 0 / 0.5996 GB, free: 13.17 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002638/0.6836, allocations: 1.438 MB / 0.601 GB, free: 11.72 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003226/0.6868, allocations: 452.1 kB / 0.6014 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2617/0.9485, allocations: 46.31 MB / 0.6466 GB, free: 171.1 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003786/0.9523, allocations: 3.238 MB / 0.6498 GB, free: 170.3 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003614/0.9559, allocations: 1.935 MB / 0.6517 GB, free: 170.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001828/0.9577, allocations: 1.879 MB / 0.6535 GB, free: 168.7 MB / 0.4981 GB Notification: Performance of SimCode: time 1.382e-06/0.9577, allocations: 0 / 0.6535 GB, free: 168.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/1.062, allocations: 68.02 MB / 0.7199 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/18.53, allocations: 15.81 kB / 0.72 GB, free: 109.1 MB / 0.4981 GB " [Timeout remaining time 641] (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_2/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_2/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: 21.801570501178503]