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.0009026/0.0009026, allocations: 79.69 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.001071/0.001071, 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.8735/0.8735, allocations: 177.1 MB / 204.3 MB, free: 5.719 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.2395/0.2395, allocations: 34.25 MB / 294.9 MB, free: 0.7344 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 2.004e-06/2.004e-06, allocations: 0 / 442.2 MB, free: 1.66 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.248e-05, allocations: 2.281 kB / 442.2 MB, free: 1.656 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.163/0.163, allocations: 10.72 MB / 452.9 MB, free: 38.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005025/0.168, allocations: 3.748 MB / 456.7 MB, free: 36.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001224/0.1693, allocations: 69.5 kB / 456.7 MB, free: 36.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.1708, allocations: 1.348 MB / 458.1 MB, free: 35.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.1731, allocations: 1.837 MB / 459.9 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008335/0.174, allocations: 0.5153 MB / 460.4 MB, free: 34.48 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.1768, allocations: 3.982 MB / 464.4 MB, free: 33 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.1788, allocations: 2.082 MB / 466.5 MB, free: 32.1 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00193/0.1808, allocations: 1.842 MB / 468.3 MB, free: 31.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.1822, allocations: 1.932 MB / 470.3 MB, free: 30.87 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002205/0.1824, allocations: 242.8 kB / 470.5 MB, free: 30.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.1834, allocations: 0.9041 MB / 471.4 MB, free: 30.69 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007022/0.1841, allocations: 1.673 MB / 473.1 MB, free: 29.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005916/0.1847, allocations: 1.005 MB / 474.1 MB, free: 29.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003375/0.1881, allocations: 6.176 MB / 480.3 MB, free: 27.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1881, allocations: 4 kB / 480.3 MB, free: 27.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1881, allocations: 0 / 480.3 MB, free: 27.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.235e-05/0.1882, allocations: 0 / 480.3 MB, free: 27.35 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.005126/0.1933, allocations: 4.184 MB / 484.4 MB, free: 24.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/0.1934, allocations: 10.25 kB / 484.5 MB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006589/0.194, allocations: 0.7133 MB / 485.2 MB, free: 24.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006324/0.2004, allocations: 3.161 MB / 488.3 MB, free: 24.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.2036, allocations: 1.887 MB / 490.2 MB, free: 23.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.2037, allocations: 194.2 kB / 490.4 MB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004047/0.2041, allocations: 250.1 kB / 490.7 MB, free: 23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01146/0.2156, allocations: 10.49 MB / 0.4894 GB, free: 18.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.16e-05/0.2156, allocations: 30.73 kB / 0.4894 GB, free: 18.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002514/0.2159, allocations: 119.3 kB / 0.4895 GB, free: 18.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/0.2183, allocations: 2.552 MB / 0.492 GB, free: 17.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.23, allocations: 9.904 MB / 0.5017 GB, free: 8.863 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03261/0.2626, allocations: 32.9 MB / 0.5338 GB, free: 7.168 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005502/0.2681, allocations: 4.157 MB / 0.5379 GB, free: 3.008 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001973/0.2701, allocations: 2.121 MB / 0.54 GB, free: 0.8906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006518/0.2707, allocations: 0.5479 MB / 0.5405 GB, free: 348 kB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.529e-05/0.2708, allocations: 48.56 kB / 0.5405 GB, free: 292 kB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 4.849e-06/0.2708, allocations: 0 / 0.5405 GB, free: 292 kB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.02001/0.2908, allocations: 14.36 MB / 0.5546 GB, free: 1.914 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.13e-05/0.2908, allocations: 69.41 kB / 0.5546 GB, free: 1.836 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002936/0.2938, allocations: 2.966 MB / 0.5575 GB, free: 14.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.2939, allocations: 61.69 kB / 0.5576 GB, free: 14.78 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.2953, allocations: 2.718 MB / 0.5602 GB, free: 12.04 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007569/0.296, allocations: 0.8795 MB / 0.5611 GB, free: 11.15 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001028/0.297, allocations: 1.021 MB / 0.5621 GB, free: 10.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.622e-05/0.2971, allocations: 309.1 kB / 0.5624 GB, free: 9.812 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002385/0.2995, allocations: 2.196 MB / 0.5645 GB, free: 7.609 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003418/0.3029, allocations: 5.063 MB / 0.5695 GB, free: 1.141 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006185/0.3091, allocations: 7.957 MB / 0.5772 GB, free: 7.781 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.425e-05/0.3092, allocations: 32 kB / 0.5773 GB, free: 7.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=691) (initialization): time 0.008662/0.3178, allocations: 7.878 MB / 0.585 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.3179, allocations: 48 kB / 0.585 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.589e-05/0.318, allocations: 96 kB / 0.5851 GB, free: 15.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.3193, allocations: 0.7889 MB / 0.5859 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002093/0.3214, allocations: 1.177 MB / 0.587 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/0.3252, allocations: 4.406 MB / 0.5913 GB, free: 9.227 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/0.3273, allocations: 320.6 kB / 0.5916 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003247/0.3277, allocations: 296 kB / 0.5919 GB, free: 8.625 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.002568/0.3302, allocations: 2.029 MB / 0.5939 GB, free: 6.586 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.3306, allocations: 274.1 kB / 0.5942 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.3355, allocations: 4.713 MB / 0.5988 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.823e-05/0.3355, allocations: 47.98 kB / 0.5988 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3355, allocations: 0 / 0.5988 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3355, allocations: 11.97 kB / 0.5988 GB, free: 1.516 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01072/0.3462, allocations: 10.22 MB / 0.6088 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/0.3462, allocations: 4 kB / 0.6088 GB, free: 7.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008026/0.347, allocations: 360.2 kB / 0.6092 GB, free: 6.781 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.3481, allocations: 0.6522 MB / 0.6098 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/0.3482, allocations: 51.92 kB / 0.6098 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/0.3513, allocations: 3.787 MB / 0.6135 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.3513, allocations: 19.81 kB / 0.6136 GB, free: 2.152 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006468/0.3578, allocations: 7.126 MB / 0.6205 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/0.3584, allocations: 278 kB / 0.6208 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.3586, allocations: 43.92 kB / 0.6208 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007423/0.3594, allocations: 183.7 kB / 0.621 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002143/0.3596, allocations: 133 kB / 0.6211 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-05/0.3597, allocations: 67.98 kB / 0.6212 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001855/0.3615, allocations: 1.744 MB / 0.6229 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/0.3615, allocations: 0 / 0.6229 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002867/0.3644, allocations: 0.9921 MB / 0.6239 GB, free: 7.48 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.1702/0.5346, allocations: 7.793 MB / 0.6315 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005335/0.5399, allocations: 5.142 MB / 0.6365 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/0.5399, allocations: 0 / 0.6365 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.5414, allocations: 1.874 MB / 0.6383 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001499/0.5429, allocations: 360.3 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.03561/0.5785, allocations: 40.12 MB / 0.6778 GB, free: 128.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/0.5813, allocations: 2.626 MB / 0.6804 GB, free: 128 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002841/0.5841, allocations: 1.968 MB / 0.6823 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/0.5855, allocations: 1.711 MB / 0.684 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/0.5855, allocations: 0 / 0.684 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05605/0.6415, allocations: 56.12 MB / 0.7388 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.154/9.795, allocations: 7.984 kB / 0.7388 GB, free: 79.74 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Revolute_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 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.mat","/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: 11.911041248589754]