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.001703/0.001703, 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.001548/0.001548, allocations: 214.8 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.584/1.584, allocations: 207.7 MB / 235.3 MB, free: 9.801 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.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.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.001896/0.001896, allocations: 55.91 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3161, allocations: 49.17 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.ActuatedDrive): time 0.01361/0.3297, allocations: 10.3 MB / 406.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.3397, allocations: 3.732 MB / 410.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003315/0.343, allocations: 78.28 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006697/0.3497, allocations: 2.653 MB / 413.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007451/0.3571, allocations: 1.941 MB / 415.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002253/0.3594, allocations: 0.5821 MB / 415.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007505/0.3669, allocations: 3.755 MB / 419.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005161/0.3721, allocations: 2.828 MB / 422.2 MB, free: 8.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004209/0.3763, allocations: 1.557 MB / 423.8 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004987/0.3813, allocations: 2.172 MB / 426 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001564/0.3828, allocations: 340 kB / 426.3 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.3863, allocations: 0.9713 MB / 427.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003557/0.3898, allocations: 1.979 MB / 429.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004021/0.3939, allocations: 1.658 MB / 430.9 MB, free: 476 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01132/0.4052, allocations: 7.264 MB / 438.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.4052, allocations: 0 / 438.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.4052, allocations: 0 / 438.2 MB, free: 9.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002791/0.4055, allocations: 0 / 438.2 MB, free: 9.172 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.02198/0.4275, allocations: 5.383 MB / 443.5 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.734e-05/0.4275, allocations: 11.98 kB / 443.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002111/0.4296, allocations: 0.7278 MB / 444.3 MB, free: 2.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007932/0.4376, allocations: 1.924 MB / 446.2 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007524/0.4451, allocations: 2.774 MB / 449 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000293/0.4454, allocations: 234 kB / 449.2 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/0.4469, allocations: 315.8 kB / 449.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02442/0.4713, allocations: 10.72 MB / 460.2 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/0.4715, allocations: 47.64 kB / 460.3 MB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000779/0.4723, allocations: 147.9 kB / 460.4 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003994/0.4763, allocations: 1.982 MB / 462.4 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02299/0.4993, allocations: 9.551 MB / 472 MB, free: 6.535 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05932/0.5586, allocations: 38.13 MB / 0.4981 GB, free: 15.28 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01372/0.5723, allocations: 3.26 MB / 0.5013 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003017/0.5754, allocations: 1.736 MB / 0.503 GB, free: 10.24 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005627/0.5759, allocations: 128.6 kB / 0.5031 GB, free: 10.12 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.465e-05/0.576, allocations: 51.5 kB / 0.5032 GB, free: 10.06 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 3.767e-06/0.576, allocations: 4 kB / 0.5032 GB, free: 10.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=154): time 0.04621/0.6222, allocations: 13.92 MB / 0.5168 GB, free: 12.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001151/0.6223, allocations: 141.5 kB / 0.5169 GB, free: 11.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006839/0.6292, allocations: 4.416 MB / 0.5212 GB, free: 7.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004253/0.6296, allocations: 45.7 kB / 0.5213 GB, free: 7.418 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003027/0.6326, allocations: 3.295 MB / 0.5245 GB, free: 4.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001035/0.6336, allocations: 0.6437 MB / 0.5251 GB, free: 3.441 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00178/0.6354, allocations: 1.23 MB / 0.5263 GB, free: 2.199 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.6355, allocations: 309.1 kB / 0.5266 GB, free: 1.895 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003499/0.639, allocations: 2.124 MB / 0.5287 GB, free: 15.76 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006822/0.6459, allocations: 5.948 MB / 0.5345 GB, free: 7.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01211/0.658, allocations: 8.756 MB / 0.543 GB, free: 13.22 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001553/0.6581, allocations: 40 kB / 0.5431 GB, free: 13.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=775) (initialization): time 0.01834/0.6765, allocations: 8.559 MB / 0.5514 GB, free: 4.617 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.6766, allocations: 67.98 kB / 0.5515 GB, free: 4.551 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001784/0.6768, allocations: 136 kB / 0.5516 GB, free: 4.418 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002724/0.6795, allocations: 0.9148 MB / 0.5525 GB, free: 3.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005137/0.6846, allocations: 1.392 MB / 0.5539 GB, free: 2.105 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2181/0.9027, allocations: 5.046 MB / 0.5588 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005566/0.9083, allocations: 334.7 kB / 0.5591 GB, free: 137.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/0.9097, allocations: 385.5 kB / 0.5595 GB, free: 137.3 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.005692/0.9154, allocations: 2.099 MB / 0.5615 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.917, allocations: 368.5 kB / 0.5619 GB, free: 136.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007626/0.9246, allocations: 3.14 MB / 0.565 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-05/0.9247, allocations: 17.66 kB / 0.565 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.358e-05/0.9247, allocations: 5.188 kB / 0.565 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.202e-05/0.9248, allocations: 6.188 kB / 0.565 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01727/0.942, allocations: 7.473 MB / 0.5723 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-05/0.942, allocations: 1.375 kB / 0.5723 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001355/0.9434, allocations: 261.9 kB / 0.5725 GB, free: 133 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.9456, allocations: 0.7133 MB / 0.5732 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001866/0.9458, allocations: 43.33 kB / 0.5733 GB, free: 132.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005738/0.9515, allocations: 4.604 MB / 0.5778 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.9515, allocations: 3.969 kB / 0.5778 GB, free: 130.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009267/0.9608, allocations: 5.699 MB / 0.5833 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/0.9633, allocations: 0.5741 MB / 0.5839 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005149/0.9638, allocations: 27.77 kB / 0.5839 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.9653, allocations: 81.2 kB / 0.584 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.9656, allocations: 108.4 kB / 0.5841 GB, free: 128.2 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/0.9657, allocations: 50.73 kB / 0.5842 GB, free: 128.2 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003767/0.9695, allocations: 2.611 MB / 0.5867 GB, free: 127.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 9e-08/0.9695, allocations: 0 / 0.5867 GB, free: 127.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005362/0.9749, allocations: 0.9632 MB / 0.5877 GB, free: 127.2 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.007856/0.9827, allocations: 6.327 MB / 0.5938 GB, free: 123.1 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006913/0.9896, allocations: 4.905 MB / 0.5986 GB, free: 118.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.902e-06/0.9896, allocations: 4 kB / 0.5986 GB, free: 118.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001838/0.9915, allocations: 1.434 MB / 0.6 GB, free: 116.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.9942, allocations: 442.3 kB / 0.6004 GB, free: 116.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06132/1.055, allocations: 46.41 MB / 0.6458 GB, free: 64.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.059, allocations: 2.7 MB / 0.6484 GB, free: 61.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004098/1.063, allocations: 1.933 MB / 0.6503 GB, free: 59.44 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002525/1.065, allocations: 1.882 MB / 0.6521 GB, free: 57.55 MB / 478.1 MB Notification: Performance of SimCode: time 1.894e-06/1.065, allocations: 3.938 kB / 0.6521 GB, free: 57.55 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.114/1.179, allocations: 68.14 MB / 0.7187 GB, free: 5.262 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.68, allocations: 23.61 kB / 0.7187 GB, free: 5.238 MB / 494.1 MB " [Timeout remaining time 643] (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: 20.39179510017857]