Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.00117/0.00117, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001479/0.001479, allocations: 170 kB / 23.95 MB, free: 0.6133 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.9364/0.9364, allocations: 177.1 MB / 204.2 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.654e-06/1.654e-06, allocations: 0 / 442.2 MB, free: 1.672 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.342e-05/2.508e-05, allocations: 6.281 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1934/0.1934, allocations: 10.72 MB / 452.9 MB, free: 38.38 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.1979, allocations: 3.765 MB / 456.7 MB, free: 36.07 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006757/0.1986, allocations: 64.97 kB / 456.7 MB, free: 36.05 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001455/0.2, allocations: 1.352 MB / 458.1 MB, free: 35.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.2019, allocations: 1.83 MB / 459.9 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005667/0.2024, allocations: 0.5103 MB / 460.4 MB, free: 34.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002091/0.2045, allocations: 3.982 MB / 464.4 MB, free: 33.03 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.2057, allocations: 2.079 MB / 466.5 MB, free: 32.13 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001096/0.2068, allocations: 1.854 MB / 468.3 MB, free: 31.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.2081, allocations: 1.928 MB / 470.3 MB, free: 30.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.2083, allocations: 241.3 kB / 470.5 MB, free: 30.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009219/0.2092, allocations: 0.9023 MB / 471.4 MB, free: 30.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006742/0.2099, allocations: 1.674 MB / 473.1 MB, free: 30.02 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005418/0.2104, allocations: 1 MB / 474.1 MB, free: 29.53 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003422/0.2139, allocations: 6.178 MB / 480.3 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2139, allocations: 0 / 480.3 MB, free: 27.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2139, allocations: 0 / 480.3 MB, free: 27.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.926e-05/0.2139, allocations: 0 / 480.3 MB, free: 27.39 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.005144/0.2191, allocations: 4.189 MB / 484.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.2191, allocations: 10.41 kB / 484.5 MB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007258/0.2199, allocations: 0.7127 MB / 485.2 MB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006703/0.2266, allocations: 3.154 MB / 488.3 MB, free: 24.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002718/0.2293, allocations: 1.896 MB / 490.2 MB, free: 23.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000123/0.2294, allocations: 186.3 kB / 490.4 MB, free: 23.13 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004116/0.2298, allocations: 253.5 kB / 490.7 MB, free: 23.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.2404, allocations: 10.5 MB / 0.4894 GB, free: 18.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.108e-05/0.2405, allocations: 29.89 kB / 0.4894 GB, free: 18.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000262/0.2407, allocations: 115.6 kB / 0.4895 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002453/0.2432, allocations: 2.556 MB / 0.492 GB, free: 17.44 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009293/0.2525, allocations: 9.903 MB / 0.5017 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02796/0.2805, allocations: 32.9 MB / 0.5338 GB, free: 7.184 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005283/0.2857, allocations: 4.151 MB / 0.5379 GB, free: 3.031 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00191/0.2876, allocations: 2.121 MB / 0.54 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006708/0.2883, allocations: 0.5478 MB / 0.5405 GB, free: 372 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.837e-05/0.2884, allocations: 56.56 kB / 0.5405 GB, free: 308 kB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 4.128e-06/0.2884, allocations: 0 / 0.5405 GB, free: 308 kB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.01983/0.3082, allocations: 14.36 MB / 0.5546 GB, free: 1.93 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3082, allocations: 69.41 kB / 0.5546 GB, free: 1.852 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002603/0.3108, allocations: 2.962 MB / 0.5575 GB, free: 14.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.3109, allocations: 57.69 kB / 0.5576 GB, free: 14.8 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.3121, allocations: 2.718 MB / 0.5602 GB, free: 12.06 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005521/0.3127, allocations: 0.8834 MB / 0.5611 GB, free: 11.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009753/0.3136, allocations: 1.021 MB / 0.5621 GB, free: 10.14 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.3137, allocations: 313.1 kB / 0.5624 GB, free: 9.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002119/0.3159, allocations: 2.193 MB / 0.5645 GB, free: 7.629 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003489/0.3194, allocations: 5.063 MB / 0.5695 GB, free: 1.16 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006146/0.3255, allocations: 7.957 MB / 0.5773 GB, free: 7.797 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.714e-05/0.3256, allocations: 31.94 kB / 0.5773 GB, free: 7.766 MB / 490.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.008073/0.3336, allocations: 7.873 MB / 0.585 GB, free: 15.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.3337, allocations: 44.94 kB / 0.585 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.236e-05/0.3337, allocations: 100 kB / 0.5851 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.335, allocations: 0.7937 MB / 0.5859 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/0.3371, allocations: 1.185 MB / 0.587 GB, free: 13.75 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003802/0.3409, allocations: 4.398 MB / 0.5913 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/0.3429, allocations: 328.5 kB / 0.5916 GB, free: 8.926 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.3432, allocations: 299.9 kB / 0.5919 GB, free: 8.633 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.002637/0.3458, allocations: 2.009 MB / 0.5939 GB, free: 6.613 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/0.3462, allocations: 278.1 kB / 0.5942 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004831/0.351, allocations: 4.717 MB / 0.5988 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-05/0.351, allocations: 47.98 kB / 0.5988 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.351, allocations: 0 / 0.5988 GB, free: 1.547 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.351, allocations: 7.969 kB / 0.5988 GB, free: 1.539 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01063/0.3617, allocations: 10.22 MB / 0.6088 GB, free: 7.164 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.3617, allocations: 8 kB / 0.6088 GB, free: 7.156 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008052/0.3625, allocations: 363.4 kB / 0.6092 GB, free: 6.801 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.3636, allocations: 0.6564 MB / 0.6098 GB, free: 6.141 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.747e-05/0.3637, allocations: 47.98 kB / 0.6098 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003086/0.3667, allocations: 3.796 MB / 0.6136 GB, free: 2.176 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.522e-06/0.3668, allocations: 15.75 kB / 0.6136 GB, free: 2.164 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006425/0.3732, allocations: 7.126 MB / 0.6205 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003744/0.3736, allocations: 278 kB / 0.6208 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/0.3738, allocations: 39.94 kB / 0.6208 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007119/0.3745, allocations: 171.7 kB / 0.621 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/0.3747, allocations: 137 kB / 0.6211 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.71e-05/0.3748, allocations: 63.98 kB / 0.6212 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001735/0.3765, allocations: 1.744 MB / 0.6229 GB, free: 8.496 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.3765, allocations: 4.062 kB / 0.6229 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002801/0.3793, allocations: 0.9998 MB / 0.6239 GB, free: 7.496 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.2037/0.583, allocations: 7.787 MB / 0.6315 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00568/0.5887, allocations: 5.143 MB / 0.6365 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.5887, allocations: 0 / 0.6365 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.5902, allocations: 1.874 MB / 0.6383 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.5917, allocations: 369.9 kB / 0.6387 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03638/0.628, allocations: 40.12 MB / 0.6779 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002701/0.6307, allocations: 2.622 MB / 0.6804 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002755/0.6335, allocations: 1.966 MB / 0.6823 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001308/0.6348, allocations: 1.711 MB / 0.684 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.122e-06/0.6348, allocations: 0 / 0.684 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05417/0.689, allocations: 56.12 MB / 0.7388 GB, free: 79.76 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.44/10.13, allocations: 7.969 kB / 0.7388 GB, free: 79.75 MB / 0.5261 GB " [Timeout remaining time 650] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_Revolute.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.352176625281572]