Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001553/0.001553, allocations: 109.5 kB / 17.78 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001543/0.001543, allocations: 188 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2359/0.2359, allocations: 44.19 MB / 336.8 MB, free: 2.645 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 63.89 kB / 470 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4312/0.4327, allocations: 60.82 MB / 0.5184 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01567/0.4484, allocations: 13.5 MB / 0.5316 GB, free: 9.699 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.4595, allocations: 4.203 MB / 0.5357 GB, free: 6.473 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003182/0.4627, allocations: 69.81 kB / 0.5358 GB, free: 6.465 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004808/0.4675, allocations: 1.963 MB / 0.5377 GB, free: 5.133 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.4739, allocations: 1.919 MB / 0.5396 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001898/0.4758, allocations: 0.5552 MB / 0.5401 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007685/0.4835, allocations: 4.028 MB / 0.5441 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005372/0.4889, allocations: 2.88 MB / 0.5469 GB, free: 14.88 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003264/0.4922, allocations: 1.452 MB / 0.5483 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003797/0.4961, allocations: 2.013 MB / 0.5502 GB, free: 11.4 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001258/0.4973, allocations: 304 kB / 0.5505 GB, free: 11.1 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.5006, allocations: 1.03 MB / 0.5515 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002808/0.5034, allocations: 1.878 MB / 0.5534 GB, free: 8.188 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004225/0.5077, allocations: 2.256 MB / 0.5556 GB, free: 5.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.518, allocations: 7.36 MB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.518, allocations: 4 kB / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.518, allocations: 0 / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003007/0.5183, allocations: 0 / 0.5628 GB, free: 14.53 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01107/0.5294, allocations: 4.912 MB / 0.5676 GB, free: 9.547 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.5295, allocations: 12.03 kB / 0.5676 GB, free: 9.535 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00195/0.5314, allocations: 0.8157 MB / 0.5684 GB, free: 8.711 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01111/0.5426, allocations: 3.153 MB / 0.5715 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006096/0.5487, allocations: 2.504 MB / 0.5739 GB, free: 2.992 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002515/0.549, allocations: 242.2 kB / 0.5741 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00138/0.5504, allocations: 311.7 kB / 0.5744 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02282/0.5732, allocations: 12.07 MB / 0.5862 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001816/0.5735, allocations: 35.75 kB / 0.5863 GB, free: 5.801 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001188/0.5747, allocations: 139.8 kB / 0.5864 GB, free: 5.664 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005022/0.5797, allocations: 2.839 MB / 0.5892 GB, free: 2.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02212/0.6018, allocations: 11.36 MB / 0.6002 GB, free: 7.441 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06064/0.6625, allocations: 41.04 MB / 0.6403 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.6742, allocations: 6.076 MB / 0.6463 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004067/0.6784, allocations: 3.002 MB / 0.6492 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.6803, allocations: 1.888 MB / 0.651 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.609e-05/0.6804, allocations: 57.2 kB / 0.6511 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=262): time 6.823e-06/0.6804, allocations: 0 / 0.6511 GB, free: 1.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=283): time 0.05395/0.7344, allocations: 20.14 MB / 0.6708 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.532e-05/0.7345, allocations: 81.41 kB / 0.6708 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00561/0.7401, allocations: 3.032 MB / 0.6738 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006123/0.7408, allocations: 65.69 kB / 0.6739 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002321/0.7431, allocations: 2.985 MB / 0.6768 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00151/0.7447, allocations: 1.021 MB / 0.6778 GB, free: 6.191 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003171/0.7479, allocations: 1.202 MB / 0.6789 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.748, allocations: 301.1 kB / 0.6792 GB, free: 4.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00526/0.7533, allocations: 2.846 MB / 0.682 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007918/0.7612, allocations: 6.018 MB / 0.6879 GB, free: 10.26 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0134/0.7747, allocations: 9.657 MB / 0.6973 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/0.7748, allocations: 32 kB / 0.6973 GB, free: 15.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.0215/0.7964, allocations: 10.02 MB / 0.7071 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001588/0.7966, allocations: 59.97 kB / 0.7072 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002323/0.7968, allocations: 112 kB / 0.7073 GB, free: 4.824 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/0.8008, allocations: 1.365 MB / 0.7086 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005235/0.8061, allocations: 1.369 MB / 0.71 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/0.8176, allocations: 7.805 MB / 0.7176 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005119/0.8227, allocations: 367.7 kB / 0.7179 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/0.8242, allocations: 340 kB / 0.7183 GB, free: 9.453 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,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 (718): * Single equations (assignments): 711 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005765/0.83, allocations: 2.301 MB / 0.7205 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/0.831, allocations: 300.1 kB / 0.7208 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01391/0.8449, allocations: 6.627 MB / 0.7273 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001015/0.8451, allocations: 51.98 kB / 0.7273 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/0.8451, allocations: 4 kB / 0.7273 GB, free: 108 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/0.8452, allocations: 11.91 kB / 0.7273 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3583/1.204, allocations: 13.88 MB / 0.7409 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.83e-05/1.204, allocations: 6.406 kB / 0.7409 GB, free: 178.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.206, allocations: 458.9 kB / 0.7413 GB, free: 178.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003511/1.209, allocations: 1.217 MB / 0.7425 GB, free: 178 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005566/1.21, allocations: 54.91 kB / 0.7426 GB, free: 178 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008432/1.218, allocations: 7.008 MB / 0.7494 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/1.219, allocations: 7.688 kB / 0.7494 GB, free: 174.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.232, allocations: 9.867 MB / 0.759 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/1.233, allocations: 353.7 kB / 0.7594 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007521/1.234, allocations: 54.33 kB / 0.7594 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001855/1.236, allocations: 196.4 kB / 0.7596 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005353/1.236, allocations: 157 kB / 0.7598 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/1.237, allocations: 78.38 kB / 0.7598 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002805/1.24, allocations: 1.878 MB / 0.7617 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/1.24, allocations: 0 / 0.7617 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.005076/1.245, allocations: 1.129 MB / 0.7628 GB, free: 168.2 MB / 0.5762 GB 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 (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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01354/1.258, allocations: 10.54 MB / 0.7731 GB, free: 157.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009896/1.268, allocations: 6.971 MB / 0.7799 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.466e-05/1.268, allocations: 7.297 kB / 0.7799 GB, free: 150.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004491/1.273, allocations: 2.861 MB / 0.7827 GB, free: 147.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003201/1.276, allocations: 424.7 kB / 0.7831 GB, free: 147.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06991/1.346, allocations: 48.84 MB / 0.8308 GB, free: 93.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004835/1.351, allocations: 3.578 MB / 0.8343 GB, free: 90.11 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.005347/1.356, allocations: 2.196 MB / 0.8364 GB, free: 87.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003416/1.36, allocations: 2.069 MB / 0.8384 GB, free: 85.84 MB / 0.5762 GB Notification: Performance of SimCode: time 8.82e-07/1.36, allocations: 4 kB / 0.8384 GB, free: 85.84 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.112/1.472, allocations: 71.33 MB / 0.9081 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.28/23.76, allocations: 14.53 kB / 0.9081 GB, free: 14.86 MB / 0.5762 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches