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.001001/0.001001, allocations: 83.69 kB / 20.67 MB, free: 3.887 MB / 18.57 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.001239/0.001239, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.913/0.913, allocations: 177.1 MB / 204.3 MB, free: 5.703 MB / 186.7 MB " [Timeout remaining time 179] 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.2303/0.2303, allocations: 32.79 MB / 293.5 MB, free: 1.215 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 439.6 MB, free: 4.23 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.392e-05, allocations: 4.25 kB / 439.6 MB, free: 4.227 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1629/0.1629, allocations: 10.73 MB / 450.3 MB, free: 40.77 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.1683, allocations: 3.763 MB / 454.1 MB, free: 38.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.1696, allocations: 66.72 kB / 454.2 MB, free: 38.57 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.1711, allocations: 1.342 MB / 455.5 MB, free: 38.03 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002714/0.1738, allocations: 1.839 MB / 457.3 MB, free: 37.23 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.1746, allocations: 0.5184 MB / 457.8 MB, free: 37.04 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002977/0.1776, allocations: 3.977 MB / 461.8 MB, free: 35.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00233/0.1799, allocations: 2.084 MB / 463.9 MB, free: 34.65 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002476/0.1824, allocations: 1.842 MB / 465.8 MB, free: 33.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001629/0.184, allocations: 1.932 MB / 467.7 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004646/0.1845, allocations: 237.1 kB / 467.9 MB, free: 33.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00119/0.1857, allocations: 0.9137 MB / 468.8 MB, free: 33.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008456/0.1865, allocations: 1.669 MB / 470.5 MB, free: 32.55 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009261/0.1874, allocations: 0.9954 MB / 471.5 MB, free: 32.06 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004341/0.1918, allocations: 6.176 MB / 477.7 MB, free: 29.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.1918, allocations: 8 kB / 477.7 MB, free: 29.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1918, allocations: 3.938 kB / 477.7 MB, free: 29.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001698/0.1919, allocations: 0 / 477.7 MB, free: 29.91 MB / 410.7 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.007128/0.1991, allocations: 4.184 MB / 481.9 MB, free: 27.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.292e-05/0.1991, allocations: 14.47 kB / 481.9 MB, free: 27.46 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001271/0.2004, allocations: 0.705 MB / 482.6 MB, free: 27.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007414/0.2078, allocations: 3.158 MB / 485.7 MB, free: 26.72 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004685/0.2125, allocations: 1.899 MB / 487.6 MB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.2127, allocations: 186.2 kB / 487.8 MB, free: 25.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001024/0.2137, allocations: 250.2 kB / 488.1 MB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.2293, allocations: 10.49 MB / 498.6 MB, free: 21.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.802e-05/0.2294, allocations: 37.11 kB / 498.6 MB, free: 21.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003178/0.2297, allocations: 119.8 kB / 498.7 MB, free: 21.16 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002819/0.2325, allocations: 2.548 MB / 0.4895 GB, free: 20.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0152/0.2477, allocations: 9.902 MB / 0.4992 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03504/0.2828, allocations: 32.9 MB / 0.5313 GB, free: 11.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005747/0.2885, allocations: 4.158 MB / 0.5354 GB, free: 6.855 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.2906, allocations: 2.118 MB / 0.5374 GB, free: 4.742 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006604/0.2913, allocations: 0.5439 MB / 0.538 GB, free: 4.195 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.7e-05/0.2913, allocations: 63.56 kB / 0.538 GB, free: 4.129 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 4.418e-06/0.2913, allocations: 0 / 0.538 GB, free: 4.129 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.02079/0.3121, allocations: 14.35 MB / 0.552 GB, free: 5.762 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.3121, allocations: 77.41 kB / 0.5521 GB, free: 5.676 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003628/0.3158, allocations: 2.962 MB / 0.555 GB, free: 2.691 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004598/0.3162, allocations: 61.69 kB / 0.5551 GB, free: 2.625 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001383/0.3176, allocations: 2.718 MB / 0.5577 GB, free: 15.88 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008043/0.3184, allocations: 0.8718 MB / 0.5586 GB, free: 15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001046/0.3195, allocations: 1.029 MB / 0.5596 GB, free: 13.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.568e-05/0.3195, allocations: 308.8 kB / 0.5599 GB, free: 13.66 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.3217, allocations: 2.199 MB / 0.562 GB, free: 11.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003535/0.3253, allocations: 5.059 MB / 0.567 GB, free: 4.988 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006813/0.3321, allocations: 7.961 MB / 0.5747 GB, free: 11.62 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.878e-05/0.3322, allocations: 28 kB / 0.5748 GB, free: 11.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.009858/0.342, allocations: 7.873 MB / 0.5824 GB, free: 3.707 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.88e-05/0.3421, allocations: 48 kB / 0.5825 GB, free: 3.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001485/0.3422, allocations: 100 kB / 0.5826 GB, free: 3.562 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001462/0.3437, allocations: 0.7932 MB / 0.5834 GB, free: 2.766 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002548/0.3463, allocations: 1.174 MB / 0.5845 GB, free: 1.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003972/0.3502, allocations: 4.404 MB / 0.5888 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.3526, allocations: 319.7 kB / 0.5891 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.353, allocations: 303.9 kB / 0.5894 GB, free: 12.46 MB / 0.4948 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.002743/0.3557, allocations: 2.021 MB / 0.5914 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004008/0.3561, allocations: 278.1 kB / 0.5916 GB, free: 10.16 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005009/0.3611, allocations: 4.714 MB / 0.5962 GB, free: 5.418 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.259e-05/0.3612, allocations: 45.36 kB / 0.5963 GB, free: 5.375 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3612, allocations: 7.938 kB / 0.5963 GB, free: 5.367 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.3612, allocations: 7.969 kB / 0.5963 GB, free: 5.359 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.3734, allocations: 10.22 MB / 0.6063 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.3734, allocations: 8.625 kB / 0.6063 GB, free: 10.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/0.3742, allocations: 363.4 kB / 0.6066 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.3755, allocations: 0.6522 MB / 0.6073 GB, free: 9.969 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001533/0.3756, allocations: 43.98 kB / 0.6073 GB, free: 9.926 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003369/0.379, allocations: 3.802 MB / 0.611 GB, free: 6.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.379, allocations: 8 kB / 0.611 GB, free: 5.996 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007096/0.3861, allocations: 7.133 MB / 0.618 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007059/0.3868, allocations: 274 kB / 0.6183 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002471/0.3871, allocations: 43.91 kB / 0.6183 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/0.3878, allocations: 171.7 kB / 0.6185 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.3881, allocations: 140.9 kB / 0.6186 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3882, allocations: 67.92 kB / 0.6187 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00207/0.3902, allocations: 1.744 MB / 0.6204 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.3902, allocations: 0 / 0.6204 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003241/0.3935, allocations: 0.9921 MB / 0.6213 GB, free: 11.32 MB / 0.5261 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.007675/0.4011, allocations: 7.795 MB / 0.629 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1606/0.5618, allocations: 5.141 MB / 0.634 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.5618, allocations: 0 / 0.634 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00176/0.5635, allocations: 1.876 MB / 0.6358 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001536/0.5651, allocations: 366.5 kB / 0.6362 GB, free: 159.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/0.5997, allocations: 40.12 MB / 0.6753 GB, free: 137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002591/0.6023, allocations: 2.616 MB / 0.6779 GB, free: 136.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003297/0.6056, allocations: 1.971 MB / 0.6798 GB, free: 136.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001765/0.6074, allocations: 1.714 MB / 0.6815 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/0.6074, allocations: 0 / 0.6815 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.6695, allocations: 56.13 MB / 0.7363 GB, free: 89.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.245/9.914, allocations: 0 / 0.7363 GB, free: 89.43 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/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: 12.084669078700244]