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.001172/0.001172, allocations: 106.3 kB / 17.21 MB, free: 6.27 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.001109/0.001109, allocations: 194 kB / 18.12 MB, free: 5.363 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.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 15.57 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.2293/0.2293, allocations: 44.17 MB / 336.1 MB, free: 2.953 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001624/0.001623, allocations: 65.42 kB / 407.8 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1179, allocations: 60.84 MB / 468.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.03957/0.1575, allocations: 41.38 MB / 0.4981 GB, free: 5.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2832/0.4407, allocations: 8.838 MB / 0.5067 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00819/0.449, allocations: 170 kB / 0.5069 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004471/0.4535, allocations: 1.922 MB / 0.5087 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005231/0.4588, allocations: 1.799 MB / 0.5105 GB, free: 10.14 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.4603, allocations: 0.5119 MB / 0.511 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00812/0.4684, allocations: 5.68 MB / 0.5165 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.4724, allocations: 2.808 MB / 0.5193 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002059/0.4745, allocations: 1.264 MB / 0.5205 GB, free: 9.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.4771, allocations: 2.118 MB / 0.5226 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.4776, allocations: 217.5 kB / 0.5228 GB, free: 9.156 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001856/0.4795, allocations: 0.9902 MB / 0.5238 GB, free: 8.781 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.4808, allocations: 1.821 MB / 0.5255 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001671/0.4825, allocations: 2.182 MB / 0.5277 GB, free: 6.188 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006161/0.4887, allocations: 6.974 MB / 0.5345 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4887, allocations: 2.656 kB / 0.5345 GB, free: 1.555 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4887, allocations: 0 / 0.5345 GB, free: 1.555 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001512/0.4889, allocations: 0 / 0.5345 GB, free: 1.555 MB / 382.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.008578/0.4974, allocations: 4.912 MB / 0.5393 GB, free: 14.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.4975, allocations: 9.875 kB / 0.5393 GB, free: 14.22 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009257/0.4984, allocations: 0.815 MB / 0.5401 GB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.5087, allocations: 3.155 MB / 0.5432 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004253/0.513, allocations: 2.48 MB / 0.5456 GB, free: 8.781 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.5132, allocations: 240.2 kB / 0.5458 GB, free: 8.594 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005901/0.5138, allocations: 314.3 kB / 0.5461 GB, free: 8.336 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01725/0.5311, allocations: 12.08 MB / 0.5579 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001462/0.5312, allocations: 29.59 kB / 0.5579 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005361/0.5318, allocations: 141.5 kB / 0.5581 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004798/0.5366, allocations: 2.838 MB / 0.5608 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02261/0.5592, allocations: 11.36 MB / 0.5719 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0643/0.6235, allocations: 41.28 MB / 0.6123 GB, free: 3.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/0.6355, allocations: 6.078 MB / 0.6182 GB, free: 13.44 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003788/0.6393, allocations: 3.01 MB / 0.6211 GB, free: 10.43 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001697/0.641, allocations: 1.884 MB / 0.623 GB, free: 8.227 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.6411, allocations: 60.56 kB / 0.623 GB, free: 8.156 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 6.382e-06/0.6411, allocations: 3.938 kB / 0.623 GB, free: 8.152 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05148/0.6926, allocations: 20.13 MB / 0.6427 GB, free: 3.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.674e-05/0.6927, allocations: 73.41 kB / 0.6428 GB, free: 3.777 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006031/0.6987, allocations: 3.039 MB / 0.6457 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005138/0.6993, allocations: 73.64 kB / 0.6458 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/0.702, allocations: 2.98 MB / 0.6487 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001455/0.7034, allocations: 1.017 MB / 0.6497 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002695/0.7062, allocations: 1.193 MB / 0.6509 GB, free: 11.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.7063, allocations: 305.1 kB / 0.6512 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00468/0.711, allocations: 2.846 MB / 0.6539 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007259/0.7182, allocations: 6.018 MB / 0.6598 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.7307, allocations: 9.665 MB / 0.6693 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/0.7308, allocations: 28 kB / 0.6693 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01915/0.75, allocations: 10.02 MB / 0.6791 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.7502, allocations: 52 kB / 0.6791 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002338/0.7504, allocations: 115.9 kB / 0.6792 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003716/0.7542, allocations: 1.359 MB / 0.6806 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004778/0.7589, allocations: 1.369 MB / 0.6819 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.7694, allocations: 7.294 MB / 0.689 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004827/0.7743, allocations: 371.6 kB / 0.6894 GB, free: 0.7812 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001419/0.7757, allocations: 344 kB / 0.6897 GB, free: 456 kB / 0.5294 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.005866/0.7816, allocations: 2.297 MB / 0.6919 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/0.7827, allocations: 304 kB / 0.6922 GB, free: 13.84 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01174/0.7945, allocations: 6.63 MB / 0.6987 GB, free: 7.152 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.775e-05/0.7946, allocations: 44 kB / 0.6987 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.801e-05/0.7946, allocations: 4 kB / 0.6987 GB, free: 7.105 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/0.7946, allocations: 11.95 kB / 0.6988 GB, free: 7.094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2939/1.089, allocations: 14.02 MB / 0.7125 GB, free: 199.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/1.089, allocations: 7.031 kB / 0.7125 GB, free: 199.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002217/1.091, allocations: 457.9 kB / 0.7129 GB, free: 199.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003856/1.095, allocations: 1.209 MB / 0.7141 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003515/1.095, allocations: 49.86 kB / 0.7141 GB, free: 199 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008899/1.104, allocations: 6.518 MB / 0.7205 GB, free: 195.9 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/1.104, allocations: 12.19 kB / 0.7205 GB, free: 195.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01363/1.118, allocations: 9.86 MB / 0.7301 GB, free: 192.2 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007927/1.118, allocations: 353.2 kB / 0.7305 GB, free: 192.1 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004503/1.119, allocations: 51.62 kB / 0.7305 GB, free: 192.1 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/1.12, allocations: 198.7 kB / 0.7307 GB, free: 192 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/1.121, allocations: 153.8 kB / 0.7309 GB, free: 192 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001919/1.121, allocations: 84.52 kB / 0.7309 GB, free: 192 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002722/1.124, allocations: 1.883 MB / 0.7328 GB, free: 191.4 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.3e-07/1.124, allocations: 0 / 0.7328 GB, free: 191.4 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004433/1.128, allocations: 1.128 MB / 0.7339 GB, free: 191.2 MB / 0.545 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.01235/1.141, allocations: 10.53 MB / 0.7442 GB, free: 187 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008452/1.149, allocations: 6.94 MB / 0.7509 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.149, allocations: 0 / 0.7509 GB, free: 180.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.152, allocations: 2.857 MB / 0.7537 GB, free: 178.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/1.155, allocations: 393.5 kB / 0.7541 GB, free: 177.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07522/1.23, allocations: 55.03 MB / 0.8078 GB, free: 116.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005215/1.235, allocations: 3.571 MB / 0.8113 GB, free: 113 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004792/1.24, allocations: 2.202 MB / 0.8135 GB, free: 110.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002804/1.243, allocations: 2.073 MB / 0.8155 GB, free: 108.7 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/1.243, allocations: 0 / 0.8155 GB, free: 108.7 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1345/1.377, allocations: 71.68 MB / 0.8855 GB, free: 37.38 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002674/1.378, allocations: 214.9 kB / 0.8857 GB, free: 37.12 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.52/4.898, allocations: 0 / 0.8857 GB, free: 37.12 MB / 0.545 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