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.001371/0.001371, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002171/0.002171, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.548/1.548, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2313/0.2313, allocations: 44.94 MB / 358.8 MB, free: 6.039 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.002123/0.002123, allocations: 67.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3293, allocations: 65.47 MB / 0.557 GB, free: 7.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Cylindrical): time 0.01547/0.3448, allocations: 11.78 MB / 0.5685 GB, free: 11.65 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009404/0.3542, allocations: 3.989 MB / 0.5724 GB, free: 7.652 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.3563, allocations: 79.69 kB / 0.5725 GB, free: 7.574 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003936/0.3603, allocations: 1.783 MB / 0.5742 GB, free: 5.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004642/0.3649, allocations: 1.868 MB / 0.576 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.3664, allocations: 0.5537 MB / 0.5766 GB, free: 3.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005257/0.3716, allocations: 3.893 MB / 0.5804 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003195/0.3748, allocations: 2.27 MB / 0.5826 GB, free: 13.13 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002289/0.3771, allocations: 1.39 MB / 0.5839 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003039/0.3801, allocations: 2.032 MB / 0.5859 GB, free: 9.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007748/0.3809, allocations: 299.9 kB / 0.5862 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/0.3832, allocations: 0.8931 MB / 0.5871 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001966/0.3851, allocations: 1.788 MB / 0.5888 GB, free: 6.719 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002232/0.3874, allocations: 1.513 MB / 0.5903 GB, free: 5.195 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009177/0.3965, allocations: 6.944 MB / 0.5971 GB, free: 14.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.3966, allocations: 7.875 kB / 0.5971 GB, free: 14.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3966, allocations: 0 / 0.5971 GB, free: 14.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002361/0.3968, allocations: 0 / 0.5971 GB, free: 14.21 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.0117/0.4085, allocations: 4.581 MB / 0.6016 GB, free: 9.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/0.4085, allocations: 8.031 kB / 0.6016 GB, free: 9.562 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001455/0.41, allocations: 0.7658 MB / 0.6023 GB, free: 8.785 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.4213, allocations: 3.157 MB / 0.6054 GB, free: 5.621 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006311/0.4276, allocations: 2.302 MB / 0.6076 GB, free: 3.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002344/0.4279, allocations: 217.6 kB / 0.6079 GB, free: 3.07 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009732/0.4288, allocations: 287.8 kB / 0.6081 GB, free: 2.789 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02041/0.4492, allocations: 11.11 MB / 0.619 GB, free: 7.207 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001149/0.4494, allocations: 27.77 kB / 0.619 GB, free: 7.18 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004167/0.4498, allocations: 131.8 kB / 0.6191 GB, free: 7.051 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004931/0.4547, allocations: 2.624 MB / 0.6217 GB, free: 4.422 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02172/0.4764, allocations: 10.34 MB / 0.6318 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05487/0.5313, allocations: 34.64 MB / 0.6656 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008987/0.5403, allocations: 3.467 MB / 0.669 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/0.5438, allocations: 2.23 MB / 0.6712 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009404/0.5448, allocations: 449.2 kB / 0.6716 GB, free: 392 kB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.5448, allocations: 52.56 kB / 0.6717 GB, free: 328 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=242): time 5.39e-06/0.5448, allocations: 4 kB / 0.6717 GB, free: 324 kB / 0.4981 GB Notification: Performance of matching and sorting (n=254): time 0.04171/0.5865, allocations: 17.49 MB / 0.6887 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.279e-05/0.5866, allocations: 77.41 kB / 0.6888 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004337/0.5909, allocations: 2.917 MB / 0.6917 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003414/0.5913, allocations: 53.7 kB / 0.6917 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.5936, allocations: 2.882 MB / 0.6945 GB, free: 8.836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001099/0.5947, allocations: 0.9649 MB / 0.6955 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001545/0.5962, allocations: 1.073 MB / 0.6965 GB, free: 6.781 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.5964, allocations: 301.1 kB / 0.6968 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003584/0.5999, allocations: 2.306 MB / 0.6991 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006315/0.6063, allocations: 5.214 MB / 0.7042 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.6177, allocations: 8.265 MB / 0.7122 GB, free: 3.852 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.956e-05/0.6178, allocations: 28 kB / 0.7123 GB, free: 3.824 MB / 0.545 GB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01602/0.6338, allocations: 8.276 MB / 0.7203 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/0.6339, allocations: 48 kB / 0.7204 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001362/0.6341, allocations: 104.1 kB / 0.7205 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002925/0.637, allocations: 0.9368 MB / 0.7214 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004264/0.6413, allocations: 1.217 MB / 0.7226 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007629/0.6489, allocations: 5.009 MB / 0.7275 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00348/0.6524, allocations: 295.7 kB / 0.7278 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.6531, allocations: 308 kB / 0.728 GB, free: 3.52 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.003886/0.6569, allocations: 2.151 MB / 0.7301 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005371/0.6575, allocations: 294 kB / 0.7304 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2756/0.9331, allocations: 5.115 MB / 0.7354 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-05/0.9332, allocations: 46.66 kB / 0.7355 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/0.9332, allocations: 2.375 kB / 0.7355 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.266e-05/0.9332, allocations: 14.62 kB / 0.7355 GB, free: 156.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01765/0.9509, allocations: 11.42 MB / 0.7466 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.705e-05/0.9509, allocations: 8 kB / 0.7466 GB, free: 152.6 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001525/0.9524, allocations: 400.1 kB / 0.747 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002126/0.9545, allocations: 0.7772 MB / 0.7478 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001865/0.9547, allocations: 47.31 kB / 0.7478 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004465/0.9592, allocations: 4.248 MB / 0.752 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/0.9592, allocations: 15.94 kB / 0.752 GB, free: 148 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008944/0.9681, allocations: 7.633 MB / 0.7594 GB, free: 140.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007698/0.9689, allocations: 265.5 kB / 0.7597 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004559/0.9694, allocations: 47.36 kB / 0.7597 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001278/0.9706, allocations: 143.8 kB / 0.7599 GB, free: 140.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003435/0.971, allocations: 164.8 kB / 0.76 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.9711, allocations: 73.02 kB / 0.7601 GB, free: 140.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00213/0.9733, allocations: 1.689 MB / 0.7618 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9733, allocations: 0 / 0.7618 GB, free: 138.7 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004171/0.9774, allocations: 0.969 MB / 0.7627 GB, free: 137.7 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.008975/0.9864, allocations: 8.288 MB / 0.7708 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006831/0.9933, allocations: 5.42 MB / 0.7761 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.584e-05/0.9933, allocations: 8 kB / 0.7761 GB, free: 124.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002202/0.9955, allocations: 1.997 MB / 0.778 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002095/0.9976, allocations: 400.4 kB / 0.7784 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04882/1.046, allocations: 42.37 MB / 0.8198 GB, free: 74.98 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/1.049, allocations: 2.828 MB / 0.8226 GB, free: 72.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003478/1.053, allocations: 1.978 MB / 0.8245 GB, free: 70.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001909/1.055, allocations: 1.839 MB / 0.8263 GB, free: 68.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.312e-06/1.055, allocations: 0 / 0.8263 GB, free: 68.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09615/1.151, allocations: 60.03 MB / 0.8849 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.67/16.83, allocations: 6.812 kB / 0.8849 GB, free: 8.883 MB / 0.5606 GB " [Timeout remaining time 643] (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: 20.38280463917181]