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: translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal") translateModel(ModelicaTest.MultiBody.Joints.Universal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 110.1 kB / 18.3 MB, free: 4.84 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.001321/0.001321, allocations: 199.3 kB / 19.23 MB, free: 3.914 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.376/1.376, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2038/0.2038, allocations: 44.18 MB / 337.3 MB, free: 2.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 70.34 kB / 409.1 MB, free: 27.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1156, allocations: 60.82 MB / 469.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01508/0.1307, allocations: 13.49 MB / 483.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008968/0.1397, allocations: 4.205 MB / 487.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.142, allocations: 75.81 kB / 487.7 MB, free: 12.51 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004318/0.1463, allocations: 1.966 MB / 489.7 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004962/0.1514, allocations: 1.907 MB / 491.6 MB, free: 8.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00159/0.153, allocations: 0.5537 MB / 492.1 MB, free: 8.07 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005477/0.1585, allocations: 4.022 MB / 496.1 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004339/0.1628, allocations: 2.882 MB / 499 MB, free: 1.102 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002793/0.1656, allocations: 1.444 MB / 0.4887 GB, free: 15.65 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00348/0.1691, allocations: 2.021 MB / 0.4907 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001112/0.1703, allocations: 304 kB / 0.491 GB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00263/0.1729, allocations: 1.014 MB / 0.492 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002485/0.1754, allocations: 1.882 MB / 0.4938 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003492/0.1789, allocations: 2.256 MB / 0.496 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008347/0.1873, allocations: 7.04 MB / 0.5029 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1873, allocations: 4 kB / 0.5029 GB, free: 1.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1874, allocations: 0 / 0.5029 GB, free: 1.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002525/0.1876, allocations: 0 / 0.5029 GB, free: 1.09 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.2429/0.4305, allocations: 4.895 MB / 0.5077 GB, free: 46.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/0.4306, allocations: 9.969 kB / 0.5077 GB, free: 46.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01212/0.4427, allocations: 3.137 MB / 0.5108 GB, free: 46.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005594/0.4484, allocations: 2.188 MB / 0.5129 GB, free: 45.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/0.4486, allocations: 236.9 kB / 0.5131 GB, free: 44.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001217/0.4499, allocations: 310.2 kB / 0.5134 GB, free: 44.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4694, allocations: 12.08 MB / 0.5252 GB, free: 38.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.4695, allocations: 31.75 kB / 0.5253 GB, free: 38.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005197/0.4701, allocations: 147.8 kB / 0.5254 GB, free: 38.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00403/0.4741, allocations: 2.843 MB / 0.5282 GB, free: 35.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.493, allocations: 11.35 MB / 0.5393 GB, free: 23.88 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05307/0.5461, allocations: 41.28 MB / 0.5796 GB, free: 13.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01236/0.5585, allocations: 6.078 MB / 0.5855 GB, free: 7.355 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004321/0.5629, allocations: 3.011 MB / 0.5885 GB, free: 4.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/0.5647, allocations: 1.88 MB / 0.5903 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/0.5648, allocations: 57.2 kB / 0.5903 GB, free: 2.062 MB / 414.1 MB Notification: Performance of pre-optimization done (n=262): time 6.562e-06/0.5648, allocations: 0 / 0.5903 GB, free: 2.062 MB / 414.1 MB Notification: Performance of matching and sorting (n=283): time 0.05316/0.618, allocations: 20.13 MB / 0.61 GB, free: 13.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.179e-05/0.6181, allocations: 77.41 kB / 0.6101 GB, free: 13.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005299/0.6234, allocations: 3.035 MB / 0.613 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006393/0.6241, allocations: 61.7 kB / 0.6131 GB, free: 10.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002216/0.6263, allocations: 2.981 MB / 0.616 GB, free: 7.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001724/0.628, allocations: 1.021 MB / 0.617 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003268/0.6313, allocations: 1.198 MB / 0.6182 GB, free: 5.273 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6314, allocations: 301.1 kB / 0.6185 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/0.6361, allocations: 2.854 MB / 0.6212 GB, free: 2.117 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007045/0.6432, allocations: 6.026 MB / 0.6271 GB, free: 10.55 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01203/0.6553, allocations: 9.673 MB / 0.6366 GB, free: 15.34 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.969e-05/0.6554, allocations: 35.94 kB / 0.6366 GB, free: 15.3 MB / 478.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01883/0.6743, allocations: 10.05 MB / 0.6464 GB, free: 5.234 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000114/0.6744, allocations: 52.97 kB / 0.6465 GB, free: 5.184 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001691/0.6746, allocations: 108 kB / 0.6466 GB, free: 5.078 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003755/0.6783, allocations: 1.366 MB / 0.6479 GB, free: 3.711 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005026/0.6834, allocations: 1.372 MB / 0.6493 GB, free: 2.336 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01091/0.6944, allocations: 7.809 MB / 0.6569 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/0.6992, allocations: 371.6 kB / 0.6572 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/0.7005, allocations: 348 kB / 0.6576 GB, free: 9.68 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 (722): * Single equations (assignments): 715 * 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.004967/0.7055, allocations: 2.295 MB / 0.6598 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/0.7064, allocations: 312 kB / 0.6601 GB, free: 7.062 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01208/0.7185, allocations: 6.623 MB / 0.6666 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.826e-05/0.7186, allocations: 48 kB / 0.6666 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.7186, allocations: 7.984 kB / 0.6666 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-05/0.7187, allocations: 7.969 kB / 0.6666 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02628/0.7449, allocations: 14.02 MB / 0.6803 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/0.745, allocations: 4 kB / 0.6803 GB, free: 2.098 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/0.7473, allocations: 455.3 kB / 0.6808 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/0.7508, allocations: 1.212 MB / 0.682 GB, free: 448 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005718/0.7514, allocations: 59.98 kB / 0.682 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009548/0.761, allocations: 6.965 MB / 0.6888 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.349e-05/0.761, allocations: 15.94 kB / 0.6888 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2574/1.018, allocations: 9.848 MB / 0.6984 GB, free: 169.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/1.02, allocations: 351.5 kB / 0.6988 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001237/1.021, allocations: 47.84 kB / 0.6988 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002285/1.023, allocations: 197.5 kB / 0.699 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007134/1.024, allocations: 165.9 kB / 0.6992 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002532/1.024, allocations: 75.11 kB / 0.6992 GB, free: 169.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004005/1.028, allocations: 1.874 MB / 0.7011 GB, free: 169 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.81e-07/1.028, allocations: 0 / 0.7011 GB, free: 169 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006481/1.035, allocations: 1.129 MB / 0.7022 GB, free: 169 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.0008532/1.036, allocations: 190.5 kB / 0.7024 GB, free: 168.9 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.02154/1.057, allocations: 12 MB / 0.7141 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-05/1.057, allocations: 3.156 kB / 0.7141 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004898/1.062, allocations: 2.853 MB / 0.7169 GB, free: 165.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003107/1.065, allocations: 427.1 kB / 0.7173 GB, free: 165.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02081/1.086, allocations: 11.96 MB / 0.729 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004667/1.091, allocations: 3.58 MB / 0.7325 GB, free: 156.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001473/1.092, allocations: 291.4 kB / 0.7327 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of SimCode: time 9.71e-07/1.092, allocations: 0 / 0.7327 GB, free: 156.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1005/1.193, allocations: 83.8 MB / 0.8146 GB, free: 74.63 MB / 0.5137 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal.makefile (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 & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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