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: 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_3.2.3_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_3.2.3_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.001581/0.001581, allocations: 115.9 kB / 17.08 MB, free: 5.832 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.001839/0.001839, allocations: 194.4 kB / 18.01 MB, free: 4.965 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.347/1.347, allocations: 205.1 MB / 223.9 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.2148/0.2148, allocations: 43.52 MB / 314.8 MB, free: 476 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.001654/0.001655, allocations: 71.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1155, allocations: 57.79 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01666/0.1323, allocations: 14.22 MB / 0.5024 GB, free: 13.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01106/0.1434, allocations: 4.288 MB / 0.5066 GB, free: 9.223 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1468, allocations: 67.88 kB / 0.5067 GB, free: 9.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005384/0.1522, allocations: 1.974 MB / 0.5086 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006353/0.1587, allocations: 1.918 MB / 0.5105 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002011/0.1607, allocations: 0.5576 MB / 0.511 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.006792/0.1676, allocations: 4.081 MB / 0.515 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004787/0.1724, allocations: 2.886 MB / 0.5178 GB, free: 13.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.1758, allocations: 1.471 MB / 0.5193 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004099/0.18, allocations: 2.032 MB / 0.5213 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.1815, allocations: 311.9 kB / 0.5216 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00324/0.1848, allocations: 1.01 MB / 0.5225 GB, free: 8.828 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002866/0.1877, allocations: 1.882 MB / 0.5244 GB, free: 6.941 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005017/0.1927, allocations: 2.275 MB / 0.5266 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2794/0.4721, allocations: 7.363 MB / 0.5338 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.4722, allocations: 0 / 0.5338 GB, free: 13.64 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.4722, allocations: 4.328 kB / 0.5338 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002969/0.4725, allocations: 0 / 0.5338 GB, free: 13.64 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.01473/0.4873, allocations: 4.909 MB / 0.5386 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.4873, allocations: 14.23 kB / 0.5386 GB, free: 11.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/0.5004, allocations: 3.132 MB / 0.5417 GB, free: 11.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006229/0.5067, allocations: 2.27 MB / 0.5439 GB, free: 10.83 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000446/0.5072, allocations: 236.3 kB / 0.5441 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002191/0.5094, allocations: 311 kB / 0.5444 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/0.5385, allocations: 12.1 MB / 0.5562 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002099/0.5388, allocations: 28.52 kB / 0.5562 GB, free: 8.172 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001234/0.54, allocations: 152.5 kB / 0.5564 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004711/0.5448, allocations: 2.834 MB / 0.5592 GB, free: 7.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02181/0.5666, allocations: 11.38 MB / 0.5703 GB, free: 2.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06674/0.6334, allocations: 40.95 MB / 0.6103 GB, free: 9.227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.6465, allocations: 6.068 MB / 0.6162 GB, free: 2.941 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00467/0.6513, allocations: 3.011 MB / 0.6191 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002061/0.6534, allocations: 1.886 MB / 0.621 GB, free: 13.72 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.044e-05/0.6535, allocations: 56.56 kB / 0.621 GB, free: 13.66 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 8.215e-06/0.6535, allocations: 4 kB / 0.621 GB, free: 13.65 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05711/0.7106, allocations: 20.16 MB / 0.6407 GB, free: 9.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/0.7108, allocations: 77.41 kB / 0.6408 GB, free: 9.293 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006437/0.7172, allocations: 3.055 MB / 0.6438 GB, free: 6.223 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008636/0.7182, allocations: 61.7 kB / 0.6438 GB, free: 6.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/0.7208, allocations: 3.004 MB / 0.6468 GB, free: 3.16 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001932/0.7228, allocations: 1.028 MB / 0.6478 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004275/0.7271, allocations: 1.2 MB / 0.6489 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7272, allocations: 309 kB / 0.6492 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005187/0.7324, allocations: 2.858 MB / 0.652 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008106/0.7406, allocations: 6.07 MB / 0.6579 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/0.7541, allocations: 9.721 MB / 0.6674 GB, free: 11.37 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.7542, allocations: 32 kB / 0.6675 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=798) (initialization): time 0.02265/0.7769, allocations: 10.09 MB / 0.6773 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001547/0.7771, allocations: 52 kB / 0.6774 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002133/0.7773, allocations: 112 kB / 0.6775 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004136/0.7815, allocations: 1.363 MB / 0.6788 GB, free: 256 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005749/0.7873, allocations: 1.381 MB / 0.6802 GB, free: 14.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.7998, allocations: 7.818 MB / 0.6878 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/0.8055, allocations: 371.7 kB / 0.6881 GB, free: 6.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001443/0.807, allocations: 344 kB / 0.6885 GB, free: 6.223 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 (728): * Single equations (assignments): 721 * 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.00578/0.8128, allocations: 2.309 MB / 0.6907 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/0.8141, allocations: 308 kB / 0.691 GB, free: 3.598 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.8279, allocations: 6.622 MB / 0.6975 GB, free: 12.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.863e-05/0.828, allocations: 55.92 kB / 0.6975 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.428e-05/0.8281, allocations: 8 kB / 0.6975 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.133e-05/0.8281, allocations: 11.95 kB / 0.6976 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02946/0.8576, allocations: 13.89 MB / 0.7111 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.629e-05/0.8577, allocations: 4 kB / 0.7111 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002292/0.86, allocations: 455.3 kB / 0.7116 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003406/0.8634, allocations: 1.214 MB / 0.7127 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005256/0.864, allocations: 51.98 kB / 0.7128 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009135/0.8731, allocations: 7.015 MB / 0.7196 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/0.8732, allocations: 11.94 kB / 0.7197 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01758/0.8908, allocations: 9.869 MB / 0.7293 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002454/0.8933, allocations: 0.8173 MB / 0.7301 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/0.8945, allocations: 52 kB / 0.7301 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/0.8971, allocations: 195.6 kB / 0.7303 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007249/0.8978, allocations: 165.6 kB / 0.7305 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003717/0.8982, allocations: 79.34 kB / 0.7306 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.003867/0.9021, allocations: 1.892 MB / 0.7324 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9021, allocations: 0 / 0.7324 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007199/0.9093, allocations: 1.129 MB / 0.7335 GB, free: 7.57 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.001103/0.9105, allocations: 185.5 kB / 0.7337 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01318/0.9237, allocations: 7.012 MB / 0.7405 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/0.9237, allocations: 0 / 0.7405 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00545/0.9292, allocations: 2.867 MB / 0.7433 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004417/0.9336, allocations: 417.8 kB / 0.7437 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02667/0.9604, allocations: 11.86 MB / 0.7553 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.272/1.232, allocations: 3.582 MB / 0.7588 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/1.234, allocations: 290.2 kB / 0.7591 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.234, allocations: 0 / 0.7591 GB, free: 211.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.0986/1.333, allocations: 84.58 MB / 0.8417 GB, free: 148.1 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal.makefile (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 & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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