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.001567/0.001567, allocations: 118.3 kB / 19.17 MB, free: 3.898 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.001833/0.001833, allocations: 205.7 kB / 22.12 MB, free: 0.9609 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.294/1.294, allocations: 207.6 MB / 232.5 MB, free: 11.53 MB / 190.1 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Rotational3DEffects_ActuatedDrive",fmuType="cs",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.001711/0.001711, allocations: 59.91 kB / 343 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2397/0.2414, allocations: 49.13 MB / 392.1 MB, free: 8.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.009796/0.2512, allocations: 11.8 MB / 403.9 MB, free: 388 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008439/0.2596, allocations: 3.937 MB / 407.9 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002004/0.2616, allocations: 75.47 kB / 407.9 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005166/0.2668, allocations: 2.748 MB / 410.7 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.2722, allocations: 1.936 MB / 412.6 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.2736, allocations: 0.5723 MB / 413.2 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.279, allocations: 3.76 MB / 416.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004177/0.2832, allocations: 3.056 MB / 420 MB, free: 7.039 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002329/0.2855, allocations: 1.557 MB / 421.6 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003023/0.2885, allocations: 2.292 MB / 423.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007063/0.2892, allocations: 347.9 kB / 424.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002099/0.2913, allocations: 1.096 MB / 425.3 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0019/0.2932, allocations: 1.979 MB / 427.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.2955, allocations: 2.253 MB / 429.5 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00806/0.3036, allocations: 7.229 MB / 436.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3036, allocations: 0 / 436.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3036, allocations: 0 / 436.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001559/0.3037, allocations: 4 kB / 436.7 MB, free: 7.566 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.0173/0.321, allocations: 5.458 MB / 442.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3211, allocations: 12.03 kB / 442.2 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001215/0.3212, allocations: 106.4 kB / 442.3 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001099/0.3223, allocations: 0.72 MB / 443 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006888/0.3292, allocations: 1.921 MB / 445 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005195/0.3344, allocations: 2.83 MB / 447.8 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3346, allocations: 238 kB / 448 MB, free: 12.13 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007546/0.3353, allocations: 315.8 kB / 448.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01898/0.3543, allocations: 10.71 MB / 459 MB, free: 436 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001148/0.3544, allocations: 51.56 kB / 459.1 MB, free: 384 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004672/0.3549, allocations: 151.9 kB / 459.2 MB, free: 232 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003516/0.3584, allocations: 1.978 MB / 461.2 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01904/0.3775, allocations: 9.57 MB / 470.8 MB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04969/0.4272, allocations: 39.84 MB / 0.4987 GB, free: 11.68 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0133/0.4405, allocations: 3.723 MB / 0.5023 GB, free: 7.816 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002546/0.443, allocations: 1.729 MB / 0.504 GB, free: 6.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006283/0.4436, allocations: 368.1 kB / 0.5043 GB, free: 5.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/0.4437, allocations: 47.55 kB / 0.5044 GB, free: 5.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.937e-06/0.4437, allocations: 4 kB / 0.5044 GB, free: 5.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04492/0.4886, allocations: 14.01 MB / 0.5181 GB, free: 7.492 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.4887, allocations: 153.4 kB / 0.5182 GB, free: 7.312 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.4944, allocations: 4.196 MB / 0.5223 GB, free: 3.094 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002406/0.4946, allocations: 49.69 kB / 0.5224 GB, free: 3.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002423/0.4971, allocations: 3.288 MB / 0.5256 GB, free: 15.71 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.4978, allocations: 0.6436 MB / 0.5262 GB, free: 15.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001604/0.4994, allocations: 1.23 MB / 0.5274 GB, free: 13.82 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4996, allocations: 301.1 kB / 0.5277 GB, free: 13.53 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/0.5027, allocations: 2.128 MB / 0.5298 GB, free: 11.39 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006085/0.5088, allocations: 5.952 MB / 0.5356 GB, free: 3.523 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0105/0.5193, allocations: 8.748 MB / 0.5441 GB, free: 8.863 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-05/0.5194, allocations: 40 kB / 0.5442 GB, free: 8.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01566/0.535, allocations: 8.571 MB / 0.5525 GB, free: 252 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000146/0.5352, allocations: 63.91 kB / 0.5526 GB, free: 188 kB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001917/0.5354, allocations: 136 kB / 0.5527 GB, free: 52 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1688/0.7042, allocations: 0.9092 MB / 0.5536 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004559/0.7088, allocations: 1.39 MB / 0.555 GB, free: 141 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006515/0.7153, allocations: 5.208 MB / 0.5601 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004308/0.7196, allocations: 327.6 kB / 0.5604 GB, free: 138.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006982/0.7203, allocations: 392 kB / 0.5607 GB, free: 138.8 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.003183/0.7235, allocations: 2.101 MB / 0.5628 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006208/0.7241, allocations: 371.1 kB / 0.5631 GB, free: 137.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006021/0.7301, allocations: 3.129 MB / 0.5662 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.742e-05/0.7301, allocations: 18.28 kB / 0.5662 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.7301, allocations: 3.875 kB / 0.5662 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.7302, allocations: 7.828 kB / 0.5662 GB, free: 136.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.7424, allocations: 7.818 MB / 0.5739 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/0.7424, allocations: 3.75 kB / 0.5739 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001153/0.7435, allocations: 259.7 kB / 0.5741 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.7454, allocations: 0.717 MB / 0.5748 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.7455, allocations: 37.31 kB / 0.5749 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004829/0.7503, allocations: 4.751 MB / 0.5795 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.7503, allocations: 0 / 0.5795 GB, free: 131.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006835/0.7572, allocations: 5.686 MB / 0.585 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.7584, allocations: 0.6479 MB / 0.5857 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003658/0.7587, allocations: 22.59 kB / 0.5857 GB, free: 128.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/0.7599, allocations: 82.3 kB / 0.5858 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002713/0.7602, allocations: 110.1 kB / 0.5859 GB, free: 128.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7603, allocations: 58.25 kB / 0.5859 GB, free: 128.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003088/0.7634, allocations: 2.611 MB / 0.5885 GB, free: 127.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.7634, allocations: 0 / 0.5885 GB, free: 127.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004097/0.7675, allocations: 0.9626 MB / 0.5894 GB, free: 126.4 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.006838/0.7743, allocations: 6.344 MB / 0.5956 GB, free: 120 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006256/0.7806, allocations: 4.904 MB / 0.6004 GB, free: 115.2 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/0.7806, allocations: 0 / 0.6004 GB, free: 115.2 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001606/0.7822, allocations: 1.435 MB / 0.6018 GB, free: 113.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.7846, allocations: 437 kB / 0.6022 GB, free: 113.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04606/0.8307, allocations: 46.34 MB / 0.6475 GB, free: 61.09 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002549/0.8332, allocations: 3.235 MB / 0.6506 GB, free: 57.82 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003376/0.8366, allocations: 1.931 MB / 0.6525 GB, free: 55.88 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001782/0.8384, allocations: 1.882 MB / 0.6544 GB, free: 54 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.8384, allocations: 0 / 0.6544 GB, free: 54 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1034/0.9418, allocations: 68.07 MB / 0.7208 GB, free: 1.852 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.43/18.37, allocations: 11.91 kB / 0.7208 GB, free: 1.84 MB / 494.1 MB " [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/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: 21.642041863990016]