Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008772/0.0008771, allocations: 175 kB / 16.72 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.197/1.197, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007065/0.0007064, allocations: 77.44 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2927/0.2927, allocations: 43.57 MB / 363.1 MB, free: 52.13 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003678, allocations: 12 kB / 432.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1058, allocations: 58.85 MB / 490.9 MB, free: 10.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.2219/0.3278, allocations: 38.1 MB / 0.5166 GB, free: 23.33 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.3426, allocations: 8.431 MB / 0.5249 GB, free: 17.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006826/0.3494, allocations: 172.7 kB / 0.525 GB, free: 17.61 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005831/0.3553, allocations: 1.87 MB / 0.5269 GB, free: 16.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0143/0.3696, allocations: 5.606 MB / 0.5323 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002546/0.3722, allocations: 0.499 MB / 0.5328 GB, free: 14.46 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005/0.3772, allocations: 4.541 MB / 0.5372 GB, free: 12.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.382, allocations: 3.452 MB / 0.5406 GB, free: 11.48 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002367/0.3844, allocations: 1.2 MB / 0.5418 GB, free: 11.08 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002995/0.3874, allocations: 1.907 MB / 0.5437 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009532/0.3884, allocations: 152.7 kB / 0.5438 GB, free: 10.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.3911, allocations: 0.9088 MB / 0.5447 GB, free: 10.29 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002701/0.3938, allocations: 1.691 MB / 0.5463 GB, free: 9.773 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0038/0.3976, allocations: 1.98 MB / 0.5483 GB, free: 8.383 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007348/0.405, allocations: 5.64 MB / 0.5538 GB, free: 5.453 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4051, allocations: 0 / 0.5538 GB, free: 5.453 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4051, allocations: 1.031 kB / 0.5538 GB, free: 5.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002924/0.4054, allocations: 0 / 0.5538 GB, free: 5.453 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01028/0.4157, allocations: 4.012 MB / 0.5577 GB, free: 2.578 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.4158, allocations: 10.91 kB / 0.5577 GB, free: 2.578 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002675/0.4184, allocations: 0.8232 MB / 0.5585 GB, free: 2.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01479/0.4332, allocations: 3.238 MB / 0.5617 GB, free: 376 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006042/0.4393, allocations: 2.635 MB / 0.5642 GB, free: 14.72 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.4396, allocations: 242 kB / 0.5645 GB, free: 14.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001169/0.4408, allocations: 321 kB / 0.5648 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.4607, allocations: 12.08 MB / 0.5766 GB, free: 1.934 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001036/0.4608, allocations: 39.53 kB / 0.5766 GB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005233/0.4614, allocations: 151.8 kB / 0.5768 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00463/0.466, allocations: 2.832 MB / 0.5795 GB, free: 14.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02106/0.4871, allocations: 11.34 MB / 0.5906 GB, free: 3.551 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05563/0.5428, allocations: 41.18 MB / 0.6308 GB, free: 9.387 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.5542, allocations: 6.07 MB / 0.6367 GB, free: 3.09 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003857/0.5581, allocations: 3.002 MB / 0.6397 GB, free: 80 kB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001648/0.5597, allocations: 1.884 MB / 0.6415 GB, free: 13.86 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.5598, allocations: 56.56 kB / 0.6416 GB, free: 13.8 MB / 474.7 MB Notification: Performance of pre-optimization done (n=262): time 5.12e-06/0.5598, allocations: 0 / 0.6416 GB, free: 13.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=283): time 0.04711/0.6069, allocations: 20.14 MB / 0.6612 GB, free: 9.465 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.607, allocations: 73.41 kB / 0.6613 GB, free: 9.383 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.6116, allocations: 3.045 MB / 0.6643 GB, free: 6.32 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003213/0.612, allocations: 61.7 kB / 0.6643 GB, free: 6.254 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.6139, allocations: 3.012 MB / 0.6673 GB, free: 3.199 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001067/0.615, allocations: 1.021 MB / 0.6683 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.6154, allocations: 112 kB / 0.6684 GB, free: 2.055 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000452/0.6159, allocations: 0.57 MB / 0.6689 GB, free: 1.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2181/0.834, allocations: 2.822 MB / 0.6717 GB, free: 138.6 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007753/0.8418, allocations: 6.037 MB / 0.6776 GB, free: 134.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0113/0.8531, allocations: 9.678 MB / 0.687 GB, free: 128.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/0.8533, allocations: 35.09 kB / 0.6871 GB, free: 128.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01754/0.8709, allocations: 10.01 MB / 0.6969 GB, free: 124.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.61e-05/0.871, allocations: 53.81 kB / 0.6969 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001286/0.8711, allocations: 111.6 kB / 0.697 GB, free: 124.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003268/0.8744, allocations: 1.358 MB / 0.6983 GB, free: 124.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/0.879, allocations: 1.377 MB / 0.6997 GB, free: 124.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008402/0.8874, allocations: 7.471 MB / 0.707 GB, free: 120.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004981/0.8924, allocations: 377.2 kB / 0.7073 GB, free: 120.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.8938, allocations: 344.4 kB / 0.7077 GB, free: 120.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 507 * Number of states: 0 () * Number of discrete variables: 30 (axis1.color[3],axis1.color[2],axis1.color[1],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],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.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 (724): * Single equations (assignments): 717 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005842/0.8996, allocations: 2.302 MB / 0.7099 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006843/0.9003, allocations: 316 kB / 0.7102 GB, free: 119.8 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01109/0.9114, allocations: 6.603 MB / 0.7167 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.897e-05/0.9115, allocations: 46.5 kB / 0.7167 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.9115, allocations: 11.81 kB / 0.7167 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.287e-05/0.9116, allocations: 12.66 kB / 0.7167 GB, free: 117.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02183/0.9334, allocations: 14 MB / 0.7304 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.955e-05/0.9335, allocations: 8 kB / 0.7304 GB, free: 111.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/0.9355, allocations: 450.3 kB / 0.7308 GB, free: 111.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003073/0.9385, allocations: 1.21 MB / 0.732 GB, free: 110.8 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003714/0.9389, allocations: 53.61 kB / 0.7321 GB, free: 110.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007027/0.946, allocations: 6.522 MB / 0.7384 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.946, allocations: 11.94 kB / 0.7385 GB, free: 105.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/0.9588, allocations: 9.833 MB / 0.7481 GB, free: 96.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/0.9607, allocations: 0.8207 MB / 0.7489 GB, free: 95.8 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004985/0.9612, allocations: 57.84 kB / 0.7489 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/0.9627, allocations: 190.9 kB / 0.7491 GB, free: 95.63 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006145/0.9634, allocations: 167.7 kB / 0.7493 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/0.9636, allocations: 81.23 kB / 0.7493 GB, free: 95.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002298/0.9659, allocations: 1.859 MB / 0.7511 GB, free: 93.55 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.9659, allocations: 0 / 0.7511 GB, free: 93.55 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004604/0.9705, allocations: 1.133 MB / 0.7523 GB, free: 92.43 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01182/0.9823, allocations: 10.5 MB / 0.7625 GB, free: 81.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008626/0.991, allocations: 6.87 MB / 0.7692 GB, free: 74.91 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.991, allocations: 0.8438 kB / 0.7692 GB, free: 74.91 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003344/0.9944, allocations: 2.857 MB / 0.772 GB, free: 72.04 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004547/0.9989, allocations: 393.4 kB / 0.7724 GB, free: 71.68 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0495/1.048, allocations: 37 MB / 0.8085 GB, free: 31.82 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003296/1.052, allocations: 3.599 MB / 0.812 GB, free: 28.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002615/1.054, allocations: 2.132 MB / 0.8141 GB, free: 26.07 MB / 490.7 MB Notification: Performance of SimCode: time 8.01e-07/1.054, allocations: 0 / 0.8141 GB, free: 26.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.163/8.218, allocations: 98.31 MB / 0.9101 GB, free: 127.7 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches