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.001814/0.001814, allocations: 115.8 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.002351/0.002351, allocations: 214.1 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.583/1.583, allocations: 230.6 MB / 257.5 MB, free: 8 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.2519/0.2519, allocations: 44.9 MB / 358.8 MB, free: 6.293 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.003611/0.003611, allocations: 63.91 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3353/0.3389, allocations: 65.46 MB / 0.557 GB, free: 7.543 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01592/0.3548, allocations: 12.36 MB / 0.5691 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01055/0.3654, allocations: 3.98 MB / 0.573 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002405/0.3678, allocations: 67.75 kB / 0.573 GB, free: 7.32 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003976/0.3718, allocations: 1.347 MB / 0.5744 GB, free: 5.969 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005785/0.3776, allocations: 1.771 MB / 0.5761 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.3791, allocations: 499 kB / 0.5766 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005896/0.385, allocations: 3.609 MB / 0.5801 GB, free: 92 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.3885, allocations: 1.838 MB / 0.5819 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.3909, allocations: 1.211 MB / 0.5831 GB, free: 13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003331/0.3943, allocations: 1.888 MB / 0.5849 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009564/0.3952, allocations: 236 kB / 0.5851 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.398, allocations: 0.9673 MB / 0.5861 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002639/0.4007, allocations: 1.616 MB / 0.5877 GB, free: 8.285 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003638/0.4043, allocations: 1.882 MB / 0.5895 GB, free: 6.391 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009137/0.4135, allocations: 6.212 MB / 0.5956 GB, free: 156 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.4135, allocations: 0 / 0.5956 GB, free: 156 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4135, allocations: 4 kB / 0.5956 GB, free: 152 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002041/0.4137, allocations: 0 / 0.5956 GB, free: 152 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.009928/0.4236, allocations: 4.178 MB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.4236, allocations: 8.031 kB / 0.5997 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00155/0.4252, allocations: 0.7044 MB / 0.6003 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/0.4364, allocations: 3.114 MB / 0.6034 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.4419, allocations: 2.038 MB / 0.6054 GB, free: 5.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.4421, allocations: 185 kB / 0.6056 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/0.4432, allocations: 263.7 kB / 0.6058 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.4627, allocations: 10.48 MB / 0.616 GB, free: 10.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.4628, allocations: 23.81 kB / 0.6161 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009172/0.4637, allocations: 119.8 kB / 0.6162 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00483/0.4685, allocations: 2.553 MB / 0.6187 GB, free: 7.945 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02079/0.4893, allocations: 9.923 MB / 0.6284 GB, free: 14.01 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05786/0.5472, allocations: 34.2 MB / 0.6618 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009757/0.5569, allocations: 4.06 MB / 0.6657 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003391/0.5603, allocations: 2.107 MB / 0.6678 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001343/0.5617, allocations: 0.5518 MB / 0.6683 GB, free: 4.238 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.5617, allocations: 52.56 kB / 0.6684 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 5.781e-06/0.5617, allocations: 3.938 kB / 0.6684 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03587/0.5976, allocations: 13.91 MB / 0.682 GB, free: 6.254 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.012e-05/0.5977, allocations: 69.41 kB / 0.682 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004837/0.6025, allocations: 2.644 MB / 0.6846 GB, free: 3.508 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005594/0.6031, allocations: 57.7 kB / 0.6847 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002578/0.6056, allocations: 2.741 MB / 0.6873 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001441/0.6071, allocations: 0.8876 MB / 0.6882 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002499/0.6096, allocations: 1.037 MB / 0.6892 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.6097, allocations: 305.1 kB / 0.6895 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003871/0.6136, allocations: 2.196 MB / 0.6916 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006394/0.62, allocations: 5.063 MB / 0.6966 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.6315, allocations: 7.961 MB / 0.7044 GB, free: 12.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001149/0.6316, allocations: 32 kB / 0.7044 GB, free: 12.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01808/0.6497, allocations: 7.869 MB / 0.7121 GB, free: 4.48 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.6498, allocations: 52.22 kB / 0.7121 GB, free: 4.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002671/0.6501, allocations: 100 kB / 0.7122 GB, free: 4.332 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002664/0.6528, allocations: 0.7966 MB / 0.713 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004707/0.6575, allocations: 1.181 MB / 0.7142 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007281/0.6648, allocations: 4.416 MB / 0.7185 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004131/0.6689, allocations: 295.8 kB / 0.7188 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001122/0.67, allocations: 296 kB / 0.719 GB, free: 13.25 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.00552/0.6755, allocations: 2.012 MB / 0.721 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008172/0.6764, allocations: 278.1 kB / 0.7213 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01005/0.6864, allocations: 4.721 MB / 0.7259 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.94e-05/0.6865, allocations: 43.94 kB / 0.7259 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.6865, allocations: 0 / 0.7259 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.756e-05/0.6866, allocations: 11.95 kB / 0.7259 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2784/0.965, allocations: 10.47 MB / 0.7362 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/0.965, allocations: 7.875 kB / 0.7362 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/0.9667, allocations: 362.3 kB / 0.7365 GB, free: 155.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001832/0.9685, allocations: 0.6547 MB / 0.7372 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002572/0.9688, allocations: 46.55 kB / 0.7372 GB, free: 155.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004215/0.973, allocations: 3.803 MB / 0.7409 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.973, allocations: 9.719 kB / 0.7409 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008931/0.9819, allocations: 7.143 MB / 0.7479 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007684/0.9827, allocations: 250 kB / 0.7481 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/0.9831, allocations: 39.39 kB / 0.7482 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00114/0.9842, allocations: 145.8 kB / 0.7483 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000326/0.9845, allocations: 141.1 kB / 0.7484 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001465/0.9847, allocations: 66.75 kB / 0.7485 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002175/0.9868, allocations: 1.62 MB / 0.7501 GB, free: 150 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9868, allocations: 0 / 0.7501 GB, free: 150 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004096/0.9909, allocations: 0.9137 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.008948/0.9999, allocations: 7.783 MB / 0.7586 GB, free: 143 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006944/1.007, allocations: 5.144 MB / 0.7636 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.099e-05/1.007, allocations: 288 / 0.7636 GB, free: 138 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.009, allocations: 1.878 MB / 0.7654 GB, free: 136.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/1.012, allocations: 371.9 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.05742/1.069, allocations: 39.78 MB / 0.8046 GB, free: 91.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/1.073, allocations: 3.163 MB / 0.8077 GB, free: 88.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003968/1.077, allocations: 1.961 MB / 0.8096 GB, free: 86.69 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002623/1.08, allocations: 1.714 MB / 0.8113 GB, free: 84.98 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/1.08, allocations: 0 / 0.8113 GB, free: 84.98 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1062/1.186, allocations: 59.17 MB / 0.8691 GB, free: 26.17 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.75/24.94, allocations: 10.81 kB / 0.8691 GB, free: 26.16 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 28.392462546005845]