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.001475/0.001475, allocations: 106.2 kB / 16.41 MB, free: 6.508 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.001627/0.001627, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.423/1.423, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2034/0.2034, allocations: 43.52 MB / 314.1 MB, free: 452 kB / 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.0015/0.0015, allocations: 69.45 kB / 441.3 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1055, allocations: 57.8 MB / 499.1 MB, free: 12.27 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01452/0.12, allocations: 14.22 MB / 0.5013 GB, free: 13.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.1304, allocations: 4.292 MB / 0.5055 GB, free: 9.684 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002932/0.1334, allocations: 75.81 kB / 0.5056 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004443/0.138, allocations: 1.962 MB / 0.5075 GB, free: 7.641 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.1431, allocations: 1.93 MB / 0.5094 GB, free: 5.703 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.145, allocations: 0.5498 MB / 0.5099 GB, free: 5.152 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006288/0.1513, allocations: 4.093 MB / 0.5139 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004645/0.156, allocations: 2.866 MB / 0.5167 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003717/0.1597, allocations: 1.475 MB / 0.5181 GB, free: 12.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004016/0.1638, allocations: 2.025 MB / 0.5201 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0014/0.1653, allocations: 315.9 kB / 0.5204 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003128/0.1684, allocations: 1.018 MB / 0.5214 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002652/0.1711, allocations: 1.886 MB / 0.5232 GB, free: 7.398 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00405/0.1752, allocations: 2.275 MB / 0.5255 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2631/0.4383, allocations: 7.378 MB / 0.5327 GB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4384, allocations: 1.219 kB / 0.5327 GB, free: 12.78 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4384, allocations: 0 / 0.5327 GB, free: 12.78 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002689/0.4387, allocations: 0 / 0.5327 GB, free: 12.78 MB / 414.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.01495/0.4536, allocations: 4.926 MB / 0.5375 GB, free: 10.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.4537, allocations: 13.77 kB / 0.5375 GB, free: 10.84 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002652/0.4564, allocations: 0.8241 MB / 0.5383 GB, free: 10.76 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01249/0.4689, allocations: 3.148 MB / 0.5414 GB, free: 10.45 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007024/0.476, allocations: 2.667 MB / 0.544 GB, free: 9.898 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004837/0.4765, allocations: 243.5 kB / 0.5442 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/0.4787, allocations: 305.7 kB / 0.5445 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02585/0.5046, allocations: 12.1 MB / 0.5563 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002763/0.5049, allocations: 31.27 kB / 0.5564 GB, free: 7.199 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001923/0.5069, allocations: 148.7 kB / 0.5565 GB, free: 7.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005113/0.512, allocations: 2.834 MB / 0.5593 GB, free: 6.672 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02329/0.5353, allocations: 11.39 MB / 0.5704 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06849/0.6039, allocations: 40.95 MB / 0.6104 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/0.6158, allocations: 6.068 MB / 0.6163 GB, free: 1.555 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004543/0.6204, allocations: 3.006 MB / 0.6192 GB, free: 14.54 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001889/0.6224, allocations: 1.885 MB / 0.6211 GB, free: 12.34 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.852e-05/0.6225, allocations: 56.56 kB / 0.6211 GB, free: 12.27 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 1.096e-05/0.6225, allocations: 3.984 kB / 0.6211 GB, free: 12.27 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05536/0.6779, allocations: 20.19 MB / 0.6408 GB, free: 7.961 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.678, allocations: 77.41 kB / 0.6409 GB, free: 7.875 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005485/0.6835, allocations: 3.072 MB / 0.6439 GB, free: 4.789 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007269/0.6843, allocations: 64.05 kB / 0.644 GB, free: 4.723 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002684/0.687, allocations: 3.005 MB / 0.6469 GB, free: 1.727 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001903/0.6889, allocations: 1.027 MB / 0.6479 GB, free: 0.707 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003783/0.6927, allocations: 1.198 MB / 0.6491 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.6929, allocations: 309.1 kB / 0.6494 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005213/0.6981, allocations: 2.85 MB / 0.6522 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008178/0.7063, allocations: 6.057 MB / 0.6581 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/0.7191, allocations: 9.712 MB / 0.6676 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001477/0.7193, allocations: 32 kB / 0.6676 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02324/0.7426, allocations: 10.06 MB / 0.6774 GB, free: 404 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002153/0.7429, allocations: 52 kB / 0.6775 GB, free: 352 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000237/0.7431, allocations: 112 kB / 0.6776 GB, free: 240 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00407/0.7472, allocations: 1.366 MB / 0.6789 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00509/0.7523, allocations: 1.384 MB / 0.6803 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01078/0.7631, allocations: 7.797 MB / 0.6879 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004816/0.768, allocations: 374.2 kB / 0.6882 GB, free: 5.188 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001059/0.7691, allocations: 340 kB / 0.6886 GB, free: 4.855 MB / 0.5294 GB 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.004805/0.7739, allocations: 2.311 MB / 0.6908 GB, free: 2.531 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009119/0.7748, allocations: 311.9 kB / 0.6911 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01223/0.7871, allocations: 6.622 MB / 0.6976 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.099e-05/0.7872, allocations: 50.34 kB / 0.6976 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/0.7872, allocations: 4 kB / 0.6976 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.297e-05/0.7873, allocations: 15.95 kB / 0.6976 GB, free: 11.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0288/0.8161, allocations: 13.9 MB / 0.7112 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.695e-05/0.8163, allocations: 9.531 kB / 0.7112 GB, free: 13.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003108/0.8194, allocations: 458.6 kB / 0.7117 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/0.8237, allocations: 1.214 MB / 0.7128 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009341/0.8247, allocations: 59.81 kB / 0.7129 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01007/0.8348, allocations: 7.005 MB / 0.7197 GB, free: 4.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.255e-05/0.8349, allocations: 11.94 kB / 0.7198 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01851/0.8534, allocations: 9.862 MB / 0.7294 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0027/0.8561, allocations: 0.825 MB / 0.7302 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001347/0.8575, allocations: 48 kB / 0.7302 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/0.8602, allocations: 199.6 kB / 0.7304 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009523/0.8612, allocations: 164.7 kB / 0.7306 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006235/0.8618, allocations: 75.98 kB / 0.7307 GB, free: 9.215 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004016/0.8658, allocations: 1.895 MB / 0.7325 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.275e-06/0.8659, allocations: 0 / 0.7325 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00688/0.8728, allocations: 1.138 MB / 0.7336 GB, free: 6.188 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.02072/0.8935, allocations: 10.53 MB / 0.7439 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01285/0.9064, allocations: 6.998 MB / 0.7507 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.9065, allocations: 4.375 kB / 0.7507 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005319/0.9118, allocations: 2.863 MB / 0.7535 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00412/0.916, allocations: 410.3 kB / 0.7539 GB, free: 1.223 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3415/1.258, allocations: 49.12 MB / 0.8019 GB, free: 188.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006619/1.264, allocations: 3.586 MB / 0.8054 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00567/1.27, allocations: 2.203 MB / 0.8076 GB, free: 183.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003655/1.274, allocations: 2.061 MB / 0.8096 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.274, allocations: 4 kB / 0.8096 GB, free: 181.3 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1072/1.381, allocations: 71.38 MB / 0.8793 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.46/23.84, allocations: 23.58 kB / 0.8793 GB, free: 109.9 MB / 0.5919 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches