Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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.002076/0.002076, allocations: 123.8 kB / 20.44 MB, free: 1.297 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.002363/0.002363, allocations: 211 kB / 23.74 MB, free: 4.531 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.679/1.679, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.2209/0.2209, allocations: 44.92 MB / 358.8 MB, free: 6.262 MB / 286.1 MB " [Timeout remaining time 180] 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.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",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.001988/0.001988, allocations: 59.91 kB / 0.4931 GB, free: 10.71 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3341, allocations: 65.48 MB / 0.557 GB, free: 7.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01505/0.3491, allocations: 12.35 MB / 0.5691 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009033/0.3582, allocations: 3.983 MB / 0.573 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/0.3602, allocations: 67.75 kB / 0.5731 GB, free: 7.305 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003132/0.3634, allocations: 1.347 MB / 0.5744 GB, free: 5.953 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004412/0.3678, allocations: 1.779 MB / 0.5761 GB, free: 4.168 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.3692, allocations: 491 kB / 0.5766 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005332/0.3745, allocations: 3.61 MB / 0.5801 GB, free: 72 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002862/0.3774, allocations: 1.83 MB / 0.5819 GB, free: 14.2 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.3797, allocations: 1.218 MB / 0.5831 GB, free: 12.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/0.3828, allocations: 1.888 MB / 0.5849 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007018/0.3835, allocations: 236 kB / 0.5851 GB, free: 10.86 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002279/0.3858, allocations: 0.9712 MB / 0.5861 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001917/0.3877, allocations: 1.612 MB / 0.5877 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002567/0.3903, allocations: 1.879 MB / 0.5895 GB, free: 6.375 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008428/0.3987, allocations: 6.216 MB / 0.5956 GB, free: 136 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.3987, allocations: 0 / 0.5956 GB, free: 136 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.3987, allocations: 0 / 0.5956 GB, free: 136 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.399, allocations: 4 kB / 0.5956 GB, free: 132 kB / 430.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.009145/0.4081, allocations: 4.174 MB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.4082, allocations: 8.031 kB / 0.5997 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.4092, allocations: 0.7122 MB / 0.6004 GB, free: 11.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.42, allocations: 3.11 MB / 0.6034 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/0.4253, allocations: 2.035 MB / 0.6054 GB, free: 5.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.4255, allocations: 189 kB / 0.6056 GB, free: 5.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009102/0.4264, allocations: 255.7 kB / 0.6058 GB, free: 5.543 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01843/0.4449, allocations: 10.48 MB / 0.616 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/0.445, allocations: 27.81 kB / 0.6161 GB, free: 10.6 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/0.4455, allocations: 119.8 kB / 0.6162 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004513/0.45, allocations: 2.553 MB / 0.6187 GB, free: 7.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02134/0.4713, allocations: 9.93 MB / 0.6284 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05654/0.5279, allocations: 34.2 MB / 0.6618 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009359/0.5372, allocations: 4.045 MB / 0.6657 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003227/0.5404, allocations: 2.119 MB / 0.6678 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.5417, allocations: 0.5595 MB / 0.6683 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.5417, allocations: 52.56 kB / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.109e-06/0.5417, allocations: 0 / 0.6684 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03322/0.575, allocations: 13.9 MB / 0.682 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.575, allocations: 69.41 kB / 0.682 GB, free: 6.156 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004027/0.5791, allocations: 2.644 MB / 0.6846 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003118/0.5794, allocations: 57.7 kB / 0.6847 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002417/0.5818, allocations: 2.741 MB / 0.6873 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001224/0.583, allocations: 0.8915 MB / 0.6882 GB, free: 15.76 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/0.5847, allocations: 1.041 MB / 0.6892 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5848, allocations: 305.1 kB / 0.6895 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003622/0.5885, allocations: 2.196 MB / 0.6917 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006611/0.5951, allocations: 5.059 MB / 0.6966 GB, free: 5.738 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/0.6061, allocations: 7.957 MB / 0.7044 GB, free: 12.37 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.545e-05/0.6062, allocations: 31.94 kB / 0.7044 GB, free: 12.34 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.0157/0.6219, allocations: 7.869 MB / 0.7121 GB, free: 4.465 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.49e-05/0.622, allocations: 48 kB / 0.7121 GB, free: 4.418 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/0.6221, allocations: 104.1 kB / 0.7122 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002417/0.6246, allocations: 0.7888 MB / 0.713 GB, free: 3.523 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004303/0.6289, allocations: 1.189 MB / 0.7142 GB, free: 2.332 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006634/0.6355, allocations: 4.415 MB / 0.7185 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003422/0.6389, allocations: 287.8 kB / 0.7187 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008216/0.6397, allocations: 307.9 kB / 0.719 GB, free: 13.23 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 29 (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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (631): * Single equations (assignments): 624 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003822/0.6436, allocations: 2.02 MB / 0.721 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004989/0.6441, allocations: 274.1 kB / 0.7213 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00853/0.6526, allocations: 4.718 MB / 0.7259 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.235e-05/0.6527, allocations: 51.91 kB / 0.7259 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.039e-05/0.6527, allocations: 4 kB / 0.7259 GB, free: 6.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/0.6527, allocations: 7.969 kB / 0.7259 GB, free: 6.109 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2704/0.9231, allocations: 10.47 MB / 0.7362 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/0.9231, allocations: 7.844 kB / 0.7362 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/0.9246, allocations: 365.7 kB / 0.7365 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001747/0.9264, allocations: 0.6548 MB / 0.7372 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002025/0.9266, allocations: 35.84 kB / 0.7372 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003823/0.9304, allocations: 3.81 MB / 0.7409 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.9304, allocations: 7.812 kB / 0.7409 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008254/0.9387, allocations: 7.138 MB / 0.7479 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.9392, allocations: 246.4 kB / 0.7481 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003766/0.9396, allocations: 47.41 kB / 0.7482 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.9407, allocations: 143.2 kB / 0.7483 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.941, allocations: 143.6 kB / 0.7485 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001331/0.9411, allocations: 62.91 kB / 0.7485 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001922/0.943, allocations: 1.622 MB / 0.7501 GB, free: 150 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.2e-07/0.943, allocations: 2.188 kB / 0.7501 GB, free: 150 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003506/0.9465, allocations: 0.9025 MB / 0.751 GB, free: 149.7 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.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 (178): * Single equations (assignments): 171 * 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 {(1,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.008378/0.9549, allocations: 7.787 MB / 0.7586 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006105/0.961, allocations: 5.147 MB / 0.7636 GB, free: 138.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.961, allocations: 4 kB / 0.7636 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.9629, allocations: 1.87 MB / 0.7654 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.9648, allocations: 374.6 kB / 0.7658 GB, free: 135.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04248/1.007, allocations: 39.77 MB / 0.8046 GB, free: 91.89 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002785/1.01, allocations: 3.171 MB / 0.8077 GB, free: 88.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00336/1.013, allocations: 1.961 MB / 0.8096 GB, free: 86.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001816/1.015, allocations: 1.71 MB / 0.8113 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.293e-06/1.015, allocations: 0 / 0.8113 GB, free: 85.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09536/1.111, allocations: 59.18 MB / 0.8691 GB, free: 26.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.31/24.42, allocations: 6.719 kB / 0.8691 GB, free: 26.2 MB / 0.5606 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.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: 27.81781578700611]