Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3_2_3_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_3_2_3_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.001103/0.001103, allocations: 107.8 kB / 15.98 MB, free: 6.34 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.001127/0.001127, allocations: 190.2 kB / 16.9 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.342/1.342, allocations: 205.1 MB / 222.8 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2202/0.2202, allocations: 43.52 MB / 313.6 MB, free: 0.6953 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 65.52 kB / 382.3 MB, free: 56.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.114, allocations: 57.79 MB / 440.1 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03786/0.1519, allocations: 42.1 MB / 482.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02271/0.1747, allocations: 8.827 MB / 491 MB, free: 4.113 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009207/0.1839, allocations: 171.6 kB / 491.2 MB, free: 3.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004634/0.1886, allocations: 1.877 MB / 493.1 MB, free: 2.062 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00597/0.1946, allocations: 1.803 MB / 494.9 MB, free: 260 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001822/0.1965, allocations: 0.5227 MB / 495.4 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007032/0.2035, allocations: 4.081 MB / 499.5 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004211/0.2078, allocations: 3.018 MB / 0.4907 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003134/0.2109, allocations: 1.475 MB / 0.4922 GB, free: 7.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00324/0.2142, allocations: 2.223 MB / 0.4943 GB, free: 4.855 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007849/0.215, allocations: 308 kB / 0.4946 GB, free: 4.555 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.2172, allocations: 1.03 MB / 0.4956 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001854/0.2191, allocations: 1.913 MB / 0.4975 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002543/0.2217, allocations: 2.287 MB / 0.4997 GB, free: 15.3 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008789/0.2305, allocations: 7.11 MB / 0.5067 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.2305, allocations: 0 / 0.5067 GB, free: 8.172 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.967e-06/0.2305, allocations: 4 kB / 0.5067 GB, free: 8.168 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002322/0.2308, allocations: 0 / 0.5067 GB, free: 8.168 MB / 398.1 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.01197/0.2427, allocations: 4.935 MB / 0.5115 GB, free: 3.164 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.95e-05/0.2428, allocations: 11.89 kB / 0.5115 GB, free: 3.152 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001502/0.2443, allocations: 0.8236 MB / 0.5123 GB, free: 2.32 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01076/0.2551, allocations: 3.145 MB / 0.5154 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006786/0.2619, allocations: 2.641 MB / 0.518 GB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002052/0.2622, allocations: 238.3 kB / 0.5182 GB, free: 12.24 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008096/0.263, allocations: 315.6 kB / 0.5185 GB, free: 11.93 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2311/0.4941, allocations: 12.09 MB / 0.5303 GB, free: 87.77 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001492/0.4943, allocations: 36.25 kB / 0.5303 GB, free: 87.76 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/0.4949, allocations: 145.3 kB / 0.5305 GB, free: 87.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00572/0.5006, allocations: 2.834 MB / 0.5332 GB, free: 87.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02443/0.5251, allocations: 11.38 MB / 0.5444 GB, free: 85.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.049/0.5741, allocations: 41.19 MB / 0.5846 GB, free: 47.42 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009513/0.5837, allocations: 6.082 MB / 0.5905 GB, free: 41.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.5867, allocations: 3.008 MB / 0.5935 GB, free: 38.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001211/0.5879, allocations: 1.891 MB / 0.5953 GB, free: 35.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.588, allocations: 52.56 kB / 0.5954 GB, free: 35.82 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 5.68e-06/0.588, allocations: 0 / 0.5954 GB, free: 35.82 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.04279/0.6308, allocations: 20.19 MB / 0.6151 GB, free: 15.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.6309, allocations: 77.41 kB / 0.6151 GB, free: 15.36 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/0.6343, allocations: 3.064 MB / 0.6181 GB, free: 12.28 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004537/0.6347, allocations: 65.7 kB / 0.6182 GB, free: 12.21 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001183/0.6359, allocations: 3.012 MB / 0.6211 GB, free: 9.156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000808/0.6368, allocations: 1.024 MB / 0.6221 GB, free: 8.121 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001288/0.6381, allocations: 1.202 MB / 0.6233 GB, free: 6.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.363e-05/0.6381, allocations: 301.1 kB / 0.6236 GB, free: 6.609 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003074/0.6412, allocations: 2.85 MB / 0.6264 GB, free: 3.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005147/0.6464, allocations: 6.059 MB / 0.6323 GB, free: 12.13 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/0.6583, allocations: 9.713 MB / 0.6418 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001065/0.6584, allocations: 32 kB / 0.6418 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01794/0.6764, allocations: 10.07 MB / 0.6516 GB, free: 6.742 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.678e-05/0.6765, allocations: 52 kB / 0.6517 GB, free: 6.691 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/0.6766, allocations: 112.8 kB / 0.6518 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003414/0.68, allocations: 1.37 MB / 0.6531 GB, free: 5.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005221/0.6853, allocations: 1.38 MB / 0.6545 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009918/0.6952, allocations: 7.816 MB / 0.6621 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00463/0.6999, allocations: 375.7 kB / 0.6625 GB, free: 11.51 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001196/0.7011, allocations: 344 kB / 0.6628 GB, free: 11.18 MB / 462.1 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 (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.005594/0.7067, allocations: 2.306 MB / 0.6651 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008155/0.7076, allocations: 304.1 kB / 0.6653 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01061/0.7182, allocations: 6.635 MB / 0.6718 GB, free: 1.867 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.309e-05/0.7183, allocations: 48.08 kB / 0.6719 GB, free: 1.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.392e-05/0.7183, allocations: 7.984 kB / 0.6719 GB, free: 1.812 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-05/0.7183, allocations: 11.95 kB / 0.6719 GB, free: 1.801 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02339/0.7417, allocations: 14.03 MB / 0.6856 GB, free: 3.566 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.956e-05/0.7418, allocations: 8 kB / 0.6856 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001901/0.7437, allocations: 451.3 kB / 0.686 GB, free: 3.117 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003227/0.747, allocations: 1.214 MB / 0.6872 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002822/0.7472, allocations: 59.98 kB / 0.6873 GB, free: 1.84 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008917/0.7562, allocations: 6.965 MB / 0.6941 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.7562, allocations: 12 kB / 0.6941 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.7704, allocations: 9.865 MB / 0.7037 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.7724, allocations: 0.8251 MB / 0.7045 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.7729, allocations: 55.84 kB / 0.7046 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.7745, allocations: 199.7 kB / 0.7048 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004758/0.775, allocations: 157.7 kB / 0.7049 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001941/0.7752, allocations: 72 kB / 0.705 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002908/0.7781, allocations: 1.899 MB / 0.7068 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.7781, allocations: 0 / 0.7068 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00473/0.7828, allocations: 1.129 MB / 0.7079 GB, free: 12.34 MB / 0.4981 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.01454/0.7974, allocations: 10.53 MB / 0.7182 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2374/1.035, allocations: 12 MB / 0.73 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.035, allocations: 3.938 kB / 0.73 GB, free: 177.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004002/1.039, allocations: 2.852 MB / 0.7327 GB, free: 176.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/1.041, allocations: 416.4 kB / 0.7331 GB, free: 176.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07994/1.121, allocations: 55.39 MB / 0.7872 GB, free: 122.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0032/1.125, allocations: 3.585 MB / 0.7907 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00481/1.129, allocations: 2.21 MB / 0.7929 GB, free: 116.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002521/1.132, allocations: 2.065 MB / 0.7949 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of SimCode: time 1.483e-06/1.132, allocations: 0 / 0.7949 GB, free: 114.6 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1009/1.233, allocations: 73.26 MB / 0.8665 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001592/1.233, allocations: 219.1 kB / 0.8667 GB, free: 41.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.948/5.182, allocations: 0 / 0.8667 GB, free: 41.06 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches