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: 112.2 kB / 21.22 MB, free: 0.75 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.002292/0.002292, allocations: 205.2 kB / 24.52 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.624/1.624, allocations: 230.6 MB / 258.3 MB, free: 8.047 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.2283/0.2283, allocations: 44.91 MB / 359.6 MB, free: 6.328 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="cs",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.002041/0.002041, allocations: 67.88 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3503, allocations: 65.47 MB / 0.5578 GB, free: 7.547 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.01479/0.3651, allocations: 12.34 MB / 0.5699 GB, free: 11.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008704/0.3738, allocations: 3.983 MB / 0.5737 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001641/0.3754, allocations: 67.75 kB / 0.5738 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.3782, allocations: 1.346 MB / 0.5751 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004143/0.3824, allocations: 1.779 MB / 0.5769 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.3836, allocations: 495 kB / 0.5773 GB, free: 3.711 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00489/0.3885, allocations: 3.61 MB / 0.5809 GB, free: 96 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.3907, allocations: 1.834 MB / 0.5827 GB, free: 14.22 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001719/0.3924, allocations: 1.218 MB / 0.5838 GB, free: 13 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002415/0.3949, allocations: 1.88 MB / 0.5857 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004471/0.3953, allocations: 240 kB / 0.5859 GB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001786/0.3971, allocations: 0.9711 MB / 0.5869 GB, free: 9.906 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001563/0.3987, allocations: 1.612 MB / 0.5884 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001998/0.4007, allocations: 1.879 MB / 0.5903 GB, free: 6.398 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007015/0.4077, allocations: 6.204 MB / 0.5963 GB, free: 172 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.435e-06/0.4077, allocations: 4 kB / 0.5963 GB, free: 168 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.644e-06/0.4077, allocations: 0 / 0.5963 GB, free: 168 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001323/0.4078, allocations: 3.984 kB / 0.5963 GB, free: 164 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.007785/0.4156, allocations: 4.186 MB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4156, allocations: 8.031 kB / 0.6004 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001152/0.4158, allocations: 93.03 kB / 0.6005 GB, free: 11.81 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009697/0.4167, allocations: 0.7083 MB / 0.6012 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0107/0.4274, allocations: 3.11 MB / 0.6042 GB, free: 7.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004531/0.432, allocations: 2.035 MB / 0.6062 GB, free: 5.91 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.4321, allocations: 188.8 kB / 0.6064 GB, free: 5.723 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006886/0.4328, allocations: 259.8 kB / 0.6067 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.4496, allocations: 10.48 MB / 0.6169 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.063e-05/0.4497, allocations: 23.75 kB / 0.6169 GB, free: 10.53 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003856/0.4501, allocations: 119.8 kB / 0.617 GB, free: 10.41 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004421/0.4545, allocations: 2.549 MB / 0.6195 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.019/0.4735, allocations: 9.926 MB / 0.6292 GB, free: 13.93 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05063/0.5241, allocations: 34.21 MB / 0.6626 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009453/0.5336, allocations: 4.052 MB / 0.6666 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003091/0.5367, allocations: 2.117 MB / 0.6686 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001177/0.5379, allocations: 0.5518 MB / 0.6692 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.141e-05/0.5379, allocations: 52.72 kB / 0.6692 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=229): time 4.839e-06/0.5379, allocations: 0 / 0.6692 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=235): time 0.03438/0.5723, allocations: 13.91 MB / 0.6828 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.81e-05/0.5724, allocations: 77.34 kB / 0.6829 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005721/0.5781, allocations: 2.632 MB / 0.6855 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0005058/0.5786, allocations: 61.7 kB / 0.6855 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002407/0.581, allocations: 2.737 MB / 0.6882 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001357/0.5824, allocations: 0.8877 MB / 0.6891 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/0.5849, allocations: 1.045 MB / 0.6901 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.585, allocations: 301.1 kB / 0.6904 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003863/0.5889, allocations: 2.2 MB / 0.6925 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0068/0.5957, allocations: 5.063 MB / 0.6975 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01159/0.6073, allocations: 7.953 MB / 0.7052 GB, free: 12.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001151/0.6074, allocations: 28 kB / 0.7052 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.01556/0.623, allocations: 7.877 MB / 0.7129 GB, free: 4.395 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001059/0.6231, allocations: 48.25 kB / 0.713 GB, free: 4.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001703/0.6232, allocations: 103.9 kB / 0.7131 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002379/0.6256, allocations: 0.7889 MB / 0.7139 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004006/0.6296, allocations: 1.189 MB / 0.715 GB, free: 2.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006304/0.6359, allocations: 4.42 MB / 0.7193 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003466/0.6394, allocations: 295.7 kB / 0.7196 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008621/0.6403, allocations: 296 kB / 0.7199 GB, free: 13.16 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.003965/0.6442, allocations: 2.014 MB / 0.7219 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006311/0.6449, allocations: 274.1 kB / 0.7221 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008897/0.6537, allocations: 4.721 MB / 0.7267 GB, free: 6.105 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.339e-05/0.6538, allocations: 43.92 kB / 0.7268 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.6538, allocations: 4 kB / 0.7268 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-05/0.6539, allocations: 7.969 kB / 0.7268 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2919/0.9457, allocations: 10.48 MB / 0.737 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.9458, allocations: 3.969 kB / 0.737 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/0.9472, allocations: 365 kB / 0.7374 GB, free: 156.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001807/0.949, allocations: 0.6507 MB / 0.738 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001803/0.9492, allocations: 45.06 kB / 0.7381 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/0.9529, allocations: 3.796 MB / 0.7418 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.9529, allocations: 14.84 kB / 0.7418 GB, free: 154.7 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009206/0.9622, allocations: 7.145 MB / 0.7488 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006748/0.9628, allocations: 251.3 kB / 0.749 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.9632, allocations: 40 kB / 0.749 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.9643, allocations: 144.3 kB / 0.7492 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.9647, allocations: 132.8 kB / 0.7493 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001505/0.9648, allocations: 66.17 kB / 0.7494 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002033/0.9668, allocations: 1.625 MB / 0.7509 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.9668, allocations: 0 / 0.7509 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003626/0.9705, allocations: 0.9113 MB / 0.7518 GB, free: 150.4 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.008227/0.9787, allocations: 7.792 MB / 0.7594 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006013/0.9847, allocations: 5.141 MB / 0.7645 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.9847, allocations: 4 kB / 0.7645 GB, free: 138.2 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001965/0.9867, allocations: 1.87 MB / 0.7663 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/0.9886, allocations: 373.8 kB / 0.7667 GB, free: 136 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04804/1.037, allocations: 39.78 MB / 0.8055 GB, free: 92.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004014/1.041, allocations: 3.167 MB / 0.8086 GB, free: 88.83 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004002/1.045, allocations: 1.965 MB / 0.8105 GB, free: 86.86 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002456/1.047, allocations: 1.706 MB / 0.8122 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of SimCode: time 2.495e-06/1.047, allocations: 0 / 0.8122 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09609/1.143, allocations: 59.2 MB / 0.87 GB, free: 26.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.01/24.15, allocations: 8.062 kB / 0.87 GB, free: 26.32 MB / 0.5606 GB " [Timeout remaining time 636] (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.16092197597027]