Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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.001676/0.001676, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.002096/0.002096, allocations: 213.6 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.516/1.516, allocations: 230.6 MB / 257.5 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.248/0.248, allocations: 44.91 MB / 358.8 MB, free: 6.293 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Cylindrical,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002302/0.002302, allocations: 67.89 kB / 0.4931 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3663, allocations: 65.47 MB / 0.557 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.02478/0.3911, allocations: 13.6 MB / 0.5703 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01485/0.406, allocations: 4.219 MB / 0.5744 GB, free: 5.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003632/0.4096, allocations: 79.69 kB / 0.5745 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005513/0.4151, allocations: 1.849 MB / 0.5763 GB, free: 3.945 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007325/0.4224, allocations: 1.876 MB / 0.5781 GB, free: 2.062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002583/0.425, allocations: 0.5458 MB / 0.5787 GB, free: 1.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009158/0.4342, allocations: 3.898 MB / 0.5825 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005585/0.4398, allocations: 2.274 MB / 0.5847 GB, free: 11.28 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.4436, allocations: 1.405 MB / 0.5861 GB, free: 9.871 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005184/0.4487, allocations: 2.13 MB / 0.5881 GB, free: 7.734 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001419/0.4502, allocations: 292 kB / 0.5884 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.4537, allocations: 1.026 MB / 0.5894 GB, free: 6.422 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003636/0.4573, allocations: 1.78 MB / 0.5912 GB, free: 4.637 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005668/0.463, allocations: 2.104 MB / 0.5932 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01477/0.4778, allocations: 6.913 MB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.638e-06/0.4778, allocations: 4 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4778, allocations: 7.938 kB / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003127/0.4781, allocations: 0 / 0.6 GB, free: 11.57 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1641 * Number of variables: 1641 Notification: Performance of Generate backend data structure: time 0.01702/0.4951, allocations: 4.581 MB / 0.6045 GB, free: 6.926 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.48e-05/0.4952, allocations: 15.97 kB / 0.6045 GB, free: 6.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002985/0.4982, allocations: 0.7619 MB / 0.6052 GB, free: 6.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/0.5153, allocations: 3.153 MB / 0.6083 GB, free: 2.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008808/0.5241, allocations: 2.283 MB / 0.6105 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.5244, allocations: 221.6 kB / 0.6107 GB, free: 452 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.5259, allocations: 283.8 kB / 0.611 GB, free: 168 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/0.5506, allocations: 11.11 MB / 0.6219 GB, free: 4.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000265/0.5508, allocations: 31.7 kB / 0.6219 GB, free: 4.547 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001638/0.5525, allocations: 135.8 kB / 0.622 GB, free: 4.414 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005542/0.558, allocations: 2.62 MB / 0.6246 GB, free: 1.789 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02441/0.5824, allocations: 10.37 MB / 0.6347 GB, free: 7.395 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06635/0.6488, allocations: 36.41 MB / 0.6703 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009519/0.6583, allocations: 3.484 MB / 0.6737 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00392/0.6622, allocations: 2.22 MB / 0.6758 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001126/0.6633, allocations: 449.2 kB / 0.6763 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.2e-05/0.6634, allocations: 52.56 kB / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.542e-06/0.6634, allocations: 0 / 0.6763 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of matching and sorting (n=254): time 0.04774/0.7111, allocations: 17.42 MB / 0.6933 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.139e-05/0.7112, allocations: 73.41 kB / 0.6934 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005117/0.7163, allocations: 2.755 MB / 0.6961 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0004722/0.7168, allocations: 61.61 kB / 0.6961 GB, free: 7.492 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002582/0.7194, allocations: 2.886 MB / 0.699 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001406/0.7208, allocations: 0.9532 MB / 0.6999 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002446/0.7232, allocations: 1.084 MB / 0.701 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.7234, allocations: 301.1 kB / 0.7012 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004144/0.7275, allocations: 2.31 MB / 0.7035 GB, free: 15.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007242/0.7348, allocations: 5.21 MB / 0.7086 GB, free: 9.281 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01218/0.7469, allocations: 8.257 MB / 0.7167 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001063/0.7471, allocations: 28 kB / 0.7167 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01885/0.7659, allocations: 8.276 MB / 0.7248 GB, free: 7.289 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.766, allocations: 52 kB / 0.7248 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/0.7662, allocations: 100 kB / 0.7249 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003166/0.7694, allocations: 0.9411 MB / 0.7258 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004857/0.7743, allocations: 1.217 MB / 0.727 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2956/1.07, allocations: 5.035 MB / 0.7319 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00416/1.074, allocations: 297.3 kB / 0.7322 GB, free: 153.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00118/1.075, allocations: 306 kB / 0.7325 GB, free: 153.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 459 * Number of states: 0 () * Number of discrete variables: 35 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (653): * Single equations (assignments): 646 * Array equations: 6 * 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 {(4,10,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004416/1.08, allocations: 2.151 MB / 0.7346 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004872/1.08, allocations: 295.8 kB / 0.7349 GB, free: 153.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007158/1.087, allocations: 5.12 MB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.054e-05/1.087, allocations: 44.78 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/1.087, allocations: 3.219 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.257e-05/1.087, allocations: 9.984 kB / 0.7399 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01645/1.104, allocations: 11.83 MB / 0.7515 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-05/1.104, allocations: 18.66 kB / 0.7515 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/1.105, allocations: 394.4 kB / 0.7519 GB, free: 147.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/1.107, allocations: 0.7775 MB / 0.7526 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001697/1.108, allocations: 51.89 kB / 0.7527 GB, free: 147.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/1.112, allocations: 4.285 MB / 0.7569 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.223e-06/1.112, allocations: 15.94 kB / 0.7569 GB, free: 143.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008599/1.12, allocations: 7.63 MB / 0.7643 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006431/1.121, allocations: 269.6 kB / 0.7646 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003468/1.121, allocations: 44 kB / 0.7646 GB, free: 135.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/1.122, allocations: 147.2 kB / 0.7648 GB, free: 135.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/1.123, allocations: 164.4 kB / 0.7649 GB, free: 135.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/1.123, allocations: 72 kB / 0.765 GB, free: 135.3 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001849/1.125, allocations: 1.693 MB / 0.7667 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/1.125, allocations: 0 / 0.7667 GB, free: 133.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003603/1.128, allocations: 0.961 MB / 0.7676 GB, free: 132.6 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 4 (cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.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 (196): * Single equations (assignments): 189 * Array equations: 6 * 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 {(2,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.009126/1.137, allocations: 8.292 MB / 0.7757 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006873/1.144, allocations: 5.424 MB / 0.781 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.144, allocations: 0 / 0.781 GB, free: 118.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/1.147, allocations: 2.001 MB / 0.783 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/1.149, allocations: 404.8 kB / 0.7833 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05244/1.201, allocations: 42.38 MB / 0.8247 GB, free: 69.65 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003116/1.204, allocations: 3.375 MB / 0.828 GB, free: 66.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003433/1.208, allocations: 1.974 MB / 0.8299 GB, free: 64.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002184/1.21, allocations: 1.835 MB / 0.8317 GB, free: 62.43 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.21, allocations: 0 / 0.8317 GB, free: 62.43 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/1.32, allocations: 64.57 MB / 0.8948 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.78/26.1, allocations: 11.14 kB / 0.8948 GB, free: 14.24 MB / 0.5762 GB " [Timeout remaining time 634] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Cylindrical.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Cylindrical/Cylindrical.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Cylindrical.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: 29.685624602949247]