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.001529/0.001529, allocations: 107.9 kB / 16.41 MB, free: 6.004 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.001388/0.001388, allocations: 188.8 kB / 17.34 MB, free: 5.617 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.465/1.465, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.244/0.244, allocations: 43.52 MB / 314.1 MB, free: 464 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.002246/0.002246, allocations: 75.89 kB / 441.3 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1309, allocations: 57.78 MB / 499.1 MB, free: 12.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01744/0.1484, allocations: 14.23 MB / 0.5013 GB, free: 14.01 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01126/0.1597, allocations: 4.284 MB / 0.5055 GB, free: 9.711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003296/0.1631, allocations: 75.81 kB / 0.5056 GB, free: 9.637 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004966/0.1681, allocations: 1.97 MB / 0.5075 GB, free: 7.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006163/0.1743, allocations: 1.918 MB / 0.5094 GB, free: 5.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001848/0.1762, allocations: 0.5575 MB / 0.5099 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006805/0.1831, allocations: 4.081 MB / 0.5139 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004756/0.1879, allocations: 2.882 MB / 0.5167 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003187/0.1911, allocations: 1.464 MB / 0.5181 GB, free: 12.68 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.1951, allocations: 2.028 MB / 0.5201 GB, free: 10.64 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001387/0.1966, allocations: 308 kB / 0.5204 GB, free: 10.34 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00305/0.1996, allocations: 1.014 MB / 0.5214 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002934/0.2026, allocations: 1.893 MB / 0.5232 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004299/0.2069, allocations: 2.279 MB / 0.5255 GB, free: 5.133 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.276/0.483, allocations: 7.406 MB / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4831, allocations: 0 / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.196e-06/0.4831, allocations: 3.188 kB / 0.5327 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003633/0.4835, allocations: 0 / 0.5327 GB, free: 13.15 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.01581/0.4993, allocations: 5.057 MB / 0.5376 GB, free: 11.04 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.4994, allocations: 14.83 kB / 0.5377 GB, free: 11.04 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00331/0.5027, allocations: 0.8241 MB / 0.5385 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.5167, allocations: 3.177 MB / 0.5416 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007557/0.5243, allocations: 2.668 MB / 0.5442 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005803/0.525, allocations: 237.6 kB / 0.5444 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002443/0.5274, allocations: 316.3 kB / 0.5447 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02658/0.554, allocations: 12.1 MB / 0.5565 GB, free: 7.117 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001823/0.5543, allocations: 32.59 kB / 0.5565 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001256/0.5555, allocations: 147 kB / 0.5567 GB, free: 7.055 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005024/0.5606, allocations: 2.842 MB / 0.5595 GB, free: 6.578 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02262/0.5832, allocations: 11.37 MB / 0.5706 GB, free: 0.9609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07468/0.658, allocations: 41.03 MB / 0.6106 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01326/0.6713, allocations: 6.085 MB / 0.6166 GB, free: 1.355 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005111/0.6765, allocations: 3.006 MB / 0.6195 GB, free: 14.34 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002238/0.6788, allocations: 1.888 MB / 0.6214 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.862e-05/0.6789, allocations: 53.83 kB / 0.6214 GB, free: 12.07 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 8.045e-06/0.6789, allocations: 0 / 0.6214 GB, free: 12.07 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.0603/0.7392, allocations: 20.27 MB / 0.6412 GB, free: 7.691 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.597e-05/0.7393, allocations: 77.41 kB / 0.6413 GB, free: 7.605 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006081/0.7454, allocations: 3.074 MB / 0.6443 GB, free: 4.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000815/0.7463, allocations: 61.7 kB / 0.6443 GB, free: 4.453 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003221/0.7495, allocations: 3.137 MB / 0.6474 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00196/0.7515, allocations: 1.067 MB / 0.6484 GB, free: 292 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/0.7542, allocations: 1.21 MB / 0.6496 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.7544, allocations: 310.2 kB / 0.6499 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005341/0.7598, allocations: 2.854 MB / 0.6527 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00956/0.7694, allocations: 6.051 MB / 0.6586 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/0.7842, allocations: 9.712 MB / 0.6681 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001382/0.7844, allocations: 32 kB / 0.6681 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=794) (initialization): time 0.02357/0.808, allocations: 10.08 MB / 0.678 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.8082, allocations: 52 kB / 0.678 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000176/0.8083, allocations: 116.1 kB / 0.6781 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004381/0.8127, allocations: 1.358 MB / 0.6795 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/0.8189, allocations: 1.38 MB / 0.6808 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01306/0.8321, allocations: 7.815 MB / 0.6884 GB, free: 5.086 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005665/0.8378, allocations: 363.7 kB / 0.6888 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/0.8395, allocations: 350.1 kB / 0.6891 GB, free: 4.391 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.00677/0.8463, allocations: 2.303 MB / 0.6914 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001262/0.8476, allocations: 333.2 kB / 0.6917 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01526/0.8628, allocations: 6.62 MB / 0.6981 GB, free: 11.07 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001204/0.863, allocations: 56.38 kB / 0.6982 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.8631, allocations: 4 kB / 0.6982 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-05/0.8631, allocations: 11.95 kB / 0.6982 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/0.8943, allocations: 13.91 MB / 0.7118 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.398e-05/0.8944, allocations: 8 kB / 0.7118 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002509/0.8969, allocations: 455.3 kB / 0.7122 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003994/0.9009, allocations: 1.206 MB / 0.7134 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008391/0.9018, allocations: 56.02 kB / 0.7135 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01107/0.9129, allocations: 7.022 MB / 0.7203 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/0.913, allocations: 8 kB / 0.7203 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01872/0.9317, allocations: 9.888 MB / 0.73 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/0.9344, allocations: 0.8347 MB / 0.7308 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009237/0.9353, allocations: 46.58 kB / 0.7309 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002159/0.9375, allocations: 199.6 kB / 0.731 GB, free: 8.945 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000625/0.9381, allocations: 157.7 kB / 0.7312 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002504/0.9384, allocations: 85.95 kB / 0.7313 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00362/0.942, allocations: 1.899 MB / 0.7331 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9421, allocations: 0 / 0.7331 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006158/0.9482, allocations: 1.132 MB / 0.7342 GB, free: 5.684 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.01907/0.9673, allocations: 10.55 MB / 0.7445 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01409/0.9815, allocations: 6.996 MB / 0.7514 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.687e-05/0.9815, allocations: 0 / 0.7514 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006305/0.9879, allocations: 2.859 MB / 0.7542 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0049/0.9928, allocations: 425.1 kB / 0.7546 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3423/1.335, allocations: 49.31 MB / 0.8027 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004923/1.34, allocations: 3.584 MB / 0.8062 GB, free: 185 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004634/1.345, allocations: 2.199 MB / 0.8084 GB, free: 182.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003304/1.348, allocations: 2.069 MB / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of SimCode: time 1.193e-06/1.348, allocations: 0 / 0.8104 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2777/1.626, allocations: 70.2 MB / 0.8789 GB, free: 110.5 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.56/25.19, allocations: 14.09 kB / 0.879 GB, free: 110.5 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