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.001586/0.001586, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.001938/0.001938, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.399/1.399, allocations: 222.9 MB / 242.3 MB, free: 15.21 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.2101/0.2101, allocations: 44.17 MB / 336.6 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 68.48 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1139, allocations: 60.82 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01503/0.129, allocations: 13.5 MB / 482.8 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009797/0.1388, allocations: 4.205 MB / 487.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00255/0.1414, allocations: 71.81 kB / 487.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004176/0.1456, allocations: 1.954 MB / 489.1 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004864/0.1505, allocations: 1.922 MB / 491 MB, free: 8.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001552/0.1521, allocations: 0.5498 MB / 491.6 MB, free: 7.957 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00519/0.1573, allocations: 4.026 MB / 495.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004093/0.1614, allocations: 2.874 MB / 498.5 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002665/0.1641, allocations: 1.448 MB / 499.9 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003108/0.1673, allocations: 2.013 MB / 0.4901 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001037/0.1683, allocations: 308 kB / 0.4904 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002667/0.171, allocations: 1.018 MB / 0.4914 GB, free: 12.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.1733, allocations: 1.889 MB / 0.4933 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00382/0.1772, allocations: 2.256 MB / 0.4955 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008203/0.1854, allocations: 7.052 MB / 0.5024 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1854, allocations: 0 / 0.5024 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1854, allocations: 0 / 0.5024 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002861/0.1857, allocations: 0 / 0.5024 GB, free: 0.9609 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.244/0.4297, allocations: 4.909 MB / 0.5072 GB, free: 46.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.4298, allocations: 12.66 kB / 0.5072 GB, free: 46.63 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001425/0.4312, allocations: 0.8134 MB / 0.508 GB, free: 46.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01202/0.4433, allocations: 3.148 MB / 0.511 GB, free: 45.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006229/0.4495, allocations: 2.486 MB / 0.5135 GB, free: 44.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.4498, allocations: 236.4 kB / 0.5137 GB, free: 44.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.451, allocations: 315.5 kB / 0.514 GB, free: 44.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02032/0.4713, allocations: 12.08 MB / 0.5258 GB, free: 37.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001095/0.4715, allocations: 35.59 kB / 0.5258 GB, free: 37.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004753/0.472, allocations: 147.6 kB / 0.526 GB, free: 36.97 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003948/0.4759, allocations: 2.835 MB / 0.5287 GB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.4941, allocations: 11.36 MB / 0.5398 GB, free: 22.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05415/0.5483, allocations: 41.29 MB / 0.5802 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01191/0.5603, allocations: 6.081 MB / 0.5861 GB, free: 6.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/0.5645, allocations: 3.003 MB / 0.589 GB, free: 3.207 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.5663, allocations: 1.88 MB / 0.5909 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.802e-05/0.5664, allocations: 56.56 kB / 0.5909 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 8.396e-06/0.5664, allocations: 0 / 0.5909 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.05229/0.6187, allocations: 20.13 MB / 0.6106 GB, free: 12.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.6188, allocations: 73.41 kB / 0.6106 GB, free: 12.53 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004343/0.6231, allocations: 3.043 MB / 0.6136 GB, free: 9.469 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004119/0.6236, allocations: 61.7 kB / 0.6137 GB, free: 9.402 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001819/0.6254, allocations: 2.985 MB / 0.6166 GB, free: 6.375 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.6266, allocations: 1.025 MB / 0.6176 GB, free: 5.336 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002067/0.6286, allocations: 1.187 MB / 0.6187 GB, free: 4.137 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.292e-05/0.6287, allocations: 309 kB / 0.619 GB, free: 3.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004025/0.6328, allocations: 2.842 MB / 0.6218 GB, free: 0.9844 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006185/0.639, allocations: 6.022 MB / 0.6277 GB, free: 9.418 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/0.6514, allocations: 9.669 MB / 0.6371 GB, free: 14.21 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.6516, allocations: 28 kB / 0.6372 GB, free: 14.18 MB / 478.1 MB Notification: Performance of matching and sorting (n=788) (initialization): time 0.02112/0.6727, allocations: 10.02 MB / 0.647 GB, free: 4.145 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.6729, allocations: 52 kB / 0.647 GB, free: 4.094 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001543/0.673, allocations: 108 kB / 0.6471 GB, free: 3.988 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003735/0.6768, allocations: 1.371 MB / 0.6484 GB, free: 2.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004904/0.6817, allocations: 1.365 MB / 0.6498 GB, free: 1.25 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01032/0.692, allocations: 7.813 MB / 0.6574 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/0.697, allocations: 367.7 kB / 0.6578 GB, free: 8.941 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001448/0.6984, allocations: 344 kB / 0.6581 GB, free: 8.605 MB / 494.1 MB 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.004846/0.7033, allocations: 2.295 MB / 0.6603 GB, free: 6.297 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008483/0.7042, allocations: 304.1 kB / 0.6606 GB, free: 5.996 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01203/0.7162, allocations: 6.619 MB / 0.6671 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.67e-05/0.7163, allocations: 47.98 kB / 0.6671 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.7163, allocations: 8 kB / 0.6671 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.81e-05/0.7164, allocations: 15.95 kB / 0.6671 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/0.7409, allocations: 14.02 MB / 0.6808 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.7409, allocations: 8 kB / 0.6808 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/0.7432, allocations: 455.3 kB / 0.6813 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003394/0.7466, allocations: 1.218 MB / 0.6825 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003761/0.747, allocations: 48 kB / 0.6825 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008752/0.7557, allocations: 6.971 MB / 0.6893 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.726e-06/0.7558, allocations: 11.94 kB / 0.6893 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2301/0.9859, allocations: 9.851 MB / 0.699 GB, free: 170.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00071/0.9866, allocations: 351.3 kB / 0.6993 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006166/0.9872, allocations: 50.41 kB / 0.6993 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/0.9889, allocations: 192.7 kB / 0.6995 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004517/0.9894, allocations: 169 kB / 0.6997 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001897/0.9896, allocations: 80.33 kB / 0.6998 GB, free: 170.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002543/0.9922, allocations: 1.876 MB / 0.7016 GB, free: 170.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.91e-07/0.9922, allocations: 0 / 0.7016 GB, free: 170.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003987/0.9962, allocations: 1.128 MB / 0.7027 GB, free: 170.1 MB / 0.5137 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.01436/1.011, allocations: 10.53 MB / 0.713 GB, free: 165.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01621/1.027, allocations: 11.99 MB / 0.7247 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.123e-05/1.027, allocations: 0 / 0.7247 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003328/1.03, allocations: 2.855 MB / 0.7275 GB, free: 160.7 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002318/1.032, allocations: 426.6 kB / 0.7279 GB, free: 160.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05639/1.089, allocations: 52.77 MB / 0.7794 GB, free: 104.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002938/1.092, allocations: 3.579 MB / 0.7829 GB, free: 100.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004241/1.096, allocations: 2.196 MB / 0.7851 GB, free: 98.42 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.098, allocations: 2.073 MB / 0.7871 GB, free: 96.35 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/1.098, allocations: 0 / 0.7871 GB, free: 96.35 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09721/1.196, allocations: 73.28 MB / 0.8586 GB, free: 23.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/12.25, allocations: 11.73 kB / 0.8586 GB, free: 23.38 MB / 0.5137 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