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.00587/0.00587, allocations: 100.3 kB / 15.87 MB, free: 6.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.001287/0.001287, allocations: 196.3 kB / 16.79 MB, free: 6.238 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.299/1.299, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3025/0.3025, allocations: 43.49 MB / 313.5 MB, free: 8.324 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.001305/0.001305, allocations: 70.56 kB / 382.1 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.103, allocations: 57.77 MB / 439.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1978/0.3008, allocations: 42.11 MB / 482 MB, free: 25.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01589/0.3167, allocations: 8.915 MB / 490.9 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007314/0.3241, allocations: 171.1 kB / 491.1 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003431/0.3275, allocations: 1.94 MB / 493 MB, free: 18.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.3314, allocations: 1.8 MB / 494.8 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001147/0.3326, allocations: 0.5211 MB / 495.4 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005562/0.3381, allocations: 5.735 MB / 0.4894 GB, free: 15.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003976/0.3421, allocations: 2.819 MB / 0.4921 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002268/0.3444, allocations: 1.27 MB / 0.4934 GB, free: 14.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.3477, allocations: 2.131 MB / 0.4954 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008469/0.3485, allocations: 220.3 kB / 0.4956 GB, free: 13.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002314/0.3508, allocations: 0.9867 MB / 0.4966 GB, free: 13.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001829/0.3527, allocations: 1.823 MB / 0.4984 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002576/0.3553, allocations: 2.196 MB / 0.5005 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008055/0.3633, allocations: 6.997 MB / 0.5074 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3634, allocations: 1.094 kB / 0.5074 GB, free: 7.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.3634, allocations: 0 / 0.5074 GB, free: 7.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002479/0.3636, allocations: 0 / 0.5074 GB, free: 7.938 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: 1766 * Number of variables: 1766 Notification: Performance of Generate backend data structure: time 0.01203/0.3757, allocations: 4.933 MB / 0.5122 GB, free: 4.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.3757, allocations: 9.812 kB / 0.5122 GB, free: 4.469 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002052/0.3778, allocations: 0.8215 MB / 0.513 GB, free: 3.906 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/0.3879, allocations: 3.149 MB / 0.5161 GB, free: 2.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005932/0.3939, allocations: 2.642 MB / 0.5186 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001672/0.3941, allocations: 242.5 kB / 0.5189 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3954, allocations: 315.7 kB / 0.5192 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02075/0.4161, allocations: 12.09 MB / 0.531 GB, free: 3.266 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001133/0.4163, allocations: 31.66 kB / 0.531 GB, free: 3.234 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004992/0.4168, allocations: 151.8 kB / 0.5312 GB, free: 3.086 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0044/0.4212, allocations: 2.832 MB / 0.5339 GB, free: 256 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.4432, allocations: 11.38 MB / 0.545 GB, free: 4.848 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0564/0.4996, allocations: 41.18 MB / 0.5853 GB, free: 10.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01103/0.5107, allocations: 6.087 MB / 0.5912 GB, free: 4.387 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003725/0.5145, allocations: 2.998 MB / 0.5941 GB, free: 1.379 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00151/0.516, allocations: 1.892 MB / 0.596 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.516, allocations: 57.22 kB / 0.596 GB, free: 15.09 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 4.528e-06/0.5161, allocations: 3.938 kB / 0.596 GB, free: 15.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04749/0.5635, allocations: 20.19 MB / 0.6157 GB, free: 10.71 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.5636, allocations: 77.41 kB / 0.6158 GB, free: 10.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004259/0.5679, allocations: 3.068 MB / 0.6188 GB, free: 7.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005459/0.5685, allocations: 61.7 kB / 0.6189 GB, free: 7.473 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001921/0.5704, allocations: 3.012 MB / 0.6218 GB, free: 4.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001556/0.572, allocations: 1.021 MB / 0.6228 GB, free: 3.387 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001855/0.5738, allocations: 1.198 MB / 0.624 GB, free: 2.176 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001222/0.574, allocations: 313 kB / 0.6243 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1923/0.7663, allocations: 2.847 MB / 0.6271 GB, free: 144.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006647/0.7729, allocations: 6.059 MB / 0.633 GB, free: 140.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009898/0.7829, allocations: 9.711 MB / 0.6425 GB, free: 133.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.524e-05/0.783, allocations: 30.75 kB / 0.6425 GB, free: 133.6 MB / 494.1 MB Notification: Performance of matching and sorting (n=794) (initialization): time 0.01534/0.7984, allocations: 10.06 MB / 0.6523 GB, free: 130.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.955e-05/0.7985, allocations: 51.94 kB / 0.6524 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/0.7987, allocations: 112.2 kB / 0.6525 GB, free: 130.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003511/0.8022, allocations: 1.365 MB / 0.6538 GB, free: 130 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004827/0.807, allocations: 1.379 MB / 0.6552 GB, free: 129.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00869/0.8157, allocations: 7.294 MB / 0.6623 GB, free: 126.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004915/0.8207, allocations: 368.6 kB / 0.6626 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001355/0.8221, allocations: 345.1 kB / 0.663 GB, free: 126.2 MB / 494.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.00522/0.8273, allocations: 2.307 MB / 0.6652 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00073/0.828, allocations: 304.2 kB / 0.6655 GB, free: 125.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/0.8393, allocations: 6.628 MB / 0.672 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.546e-05/0.8394, allocations: 51.52 kB / 0.672 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/0.8394, allocations: 3.938 kB / 0.672 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.094e-05/0.8395, allocations: 15.56 kB / 0.672 GB, free: 122.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02283/0.8623, allocations: 14.03 MB / 0.6857 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.151e-05/0.8624, allocations: 10.3 kB / 0.6858 GB, free: 117.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002829/0.8652, allocations: 448.6 kB / 0.6862 GB, free: 116.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004267/0.8695, allocations: 1.213 MB / 0.6874 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000648/0.8702, allocations: 52.25 kB / 0.6874 GB, free: 116.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/0.8774, allocations: 6.524 MB / 0.6938 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.8775, allocations: 7.938 kB / 0.6938 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0167/0.8942, allocations: 9.86 MB / 0.7034 GB, free: 101.8 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002771/0.897, allocations: 0.8202 MB / 0.7042 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008529/0.8979, allocations: 44 kB / 0.7043 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/0.8996, allocations: 199.5 kB / 0.7045 GB, free: 100.7 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004531/0.9, allocations: 165.5 kB / 0.7046 GB, free: 100.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000203/0.9002, allocations: 83.81 kB / 0.7047 GB, free: 100.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002555/0.9028, allocations: 1.894 MB / 0.7065 GB, free: 98.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.9028, allocations: 0 / 0.7065 GB, free: 98.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005013/0.9078, allocations: 1.132 MB / 0.7076 GB, free: 97.43 MB / 494.1 MB 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.01155/0.9194, allocations: 10.53 MB / 0.7179 GB, free: 86.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008661/0.9281, allocations: 6.956 MB / 0.7247 GB, free: 79.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.9281, allocations: 64 / 0.7247 GB, free: 79.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003099/0.9313, allocations: 2.866 MB / 0.7275 GB, free: 76.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.9336, allocations: 385.9 kB / 0.7279 GB, free: 76.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06926/1.003, allocations: 55.41 MB / 0.782 GB, free: 14.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/1.007, allocations: 3.59 MB / 0.7855 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004592/1.012, allocations: 2.2 MB / 0.7877 GB, free: 8.906 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002652/1.015, allocations: 2.065 MB / 0.7897 GB, free: 6.84 MB / 494.1 MB Notification: Performance of SimCode: time 1.152e-06/1.015, allocations: 3.938 kB / 0.7897 GB, free: 6.836 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2879/1.303, allocations: 71.78 MB / 0.8598 GB, free: 139.3 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001558/1.303, allocations: 215.4 kB / 0.86 GB, free: 139.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.37/4.673, allocations: 0 / 0.86 GB, free: 139.1 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