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.0008579/0.0008581, allocations: 97.89 kB / 18.01 MB, free: 5.602 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.0009487/0.0009487, allocations: 182.1 kB / 18.91 MB, free: 4.738 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.362/1.362, allocations: 223.3 MB / 243 MB, free: 172 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.26 MB / 338.3 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003242/0.0003241, allocations: 8 kB / 411 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1237, allocations: 61.93 MB / 472.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.04097/0.1647, allocations: 40.21 MB / 0.5011 GB, free: 4.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.2791/0.4439, allocations: 8.786 MB / 0.5097 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008106/0.4521, allocations: 170.7 kB / 0.5098 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.4539, allocations: 498.5 kB / 0.5103 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005827/0.4598, allocations: 1.802 MB / 0.5121 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001746/0.4616, allocations: 0.5159 MB / 0.5126 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008691/0.4703, allocations: 5.679 MB / 0.5181 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007142/0.4774, allocations: 3.543 MB / 0.5216 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003118/0.4806, allocations: 1.112 MB / 0.5227 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0037/0.4843, allocations: 1.938 MB / 0.5246 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00116/0.4855, allocations: 152.2 kB / 0.5247 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002787/0.4883, allocations: 0.9361 MB / 0.5256 GB, free: 8.871 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002455/0.4908, allocations: 1.731 MB / 0.5273 GB, free: 8.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00332/0.4941, allocations: 2.101 MB / 0.5294 GB, free: 6.645 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005547/0.4997, allocations: 5.598 MB / 0.5348 GB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.4997, allocations: 0 / 0.5348 GB, free: 3.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4997, allocations: 2.469 kB / 0.5348 GB, free: 3.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002901/0.5, allocations: 0 / 0.5348 GB, free: 3.07 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.00766/0.5077, allocations: 3.987 MB / 0.5387 GB, free: 244 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5077, allocations: 16.53 kB / 0.5387 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.5187, allocations: 3.226 MB / 0.5419 GB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004571/0.5233, allocations: 2.185 MB / 0.544 GB, free: 12.97 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.5235, allocations: 241.7 kB / 0.5443 GB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008914/0.5244, allocations: 309.1 kB / 0.5446 GB, free: 12.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0199/0.5443, allocations: 12.09 MB / 0.5564 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001043/0.5445, allocations: 34 kB / 0.5564 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004735/0.545, allocations: 149 kB / 0.5565 GB, free: 15.97 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004874/0.5499, allocations: 2.83 MB / 0.5593 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02213/0.572, allocations: 11.37 MB / 0.5704 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05664/0.6287, allocations: 41.29 MB / 0.6107 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01165/0.6404, allocations: 6.08 MB / 0.6167 GB, free: 1.414 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004125/0.6446, allocations: 3.017 MB / 0.6196 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.6463, allocations: 1.885 MB / 0.6215 GB, free: 12.19 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.994e-05/0.6464, allocations: 52.56 kB / 0.6215 GB, free: 12.12 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 5.5e-06/0.6464, allocations: 0 / 0.6215 GB, free: 12.12 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.04786/0.6943, allocations: 20.1 MB / 0.6411 GB, free: 7.855 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.6943, allocations: 73.41 kB / 0.6412 GB, free: 7.773 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004069/0.6984, allocations: 3.031 MB / 0.6442 GB, free: 4.723 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004383/0.6989, allocations: 65.7 kB / 0.6442 GB, free: 4.652 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001809/0.7007, allocations: 2.992 MB / 0.6471 GB, free: 1.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001109/0.7018, allocations: 1.01 MB / 0.6481 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000679/0.7025, allocations: 0.515 MB / 0.6486 GB, free: 136 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.7026, allocations: 309.1 kB / 0.6489 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003968/0.7066, allocations: 2.85 MB / 0.6517 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006711/0.7133, allocations: 6.03 MB / 0.6576 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/0.7248, allocations: 9.669 MB / 0.667 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-05/0.7249, allocations: 32 kB / 0.6671 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.0183/0.7432, allocations: 10.05 MB / 0.6769 GB, free: 100 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.885e-05/0.7433, allocations: 54.19 kB / 0.6769 GB, free: 48 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001389/0.7434, allocations: 116 kB / 0.6771 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003673/0.7471, allocations: 1.361 MB / 0.6784 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004919/0.7521, allocations: 1.372 MB / 0.6797 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009732/0.7618, allocations: 7.303 MB / 0.6869 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004641/0.7665, allocations: 371.6 kB / 0.6872 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/0.7677, allocations: 348 kB / 0.6875 GB, free: 5.055 MB / 0.5294 GB 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.00512/0.7728, allocations: 2.307 MB / 0.6898 GB, free: 2.738 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008121/0.7736, allocations: 300.1 kB / 0.6901 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01271/0.7863, allocations: 6.623 MB / 0.6965 GB, free: 11.76 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.219e-05/0.7865, allocations: 50.56 kB / 0.6966 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.167e-05/0.7865, allocations: 4 kB / 0.6966 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/0.7865, allocations: 11.95 kB / 0.6966 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2607/1.047, allocations: 14.01 MB / 0.7103 GB, free: 198.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-05/1.047, allocations: 8.312 kB / 0.7103 GB, free: 198.2 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002335/1.05, allocations: 450.8 kB / 0.7107 GB, free: 198.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003738/1.053, allocations: 1.213 MB / 0.7119 GB, free: 198.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005048/1.054, allocations: 57.97 kB / 0.712 GB, free: 198.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008987/1.063, allocations: 6.518 MB / 0.7183 GB, free: 196.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.249e-05/1.063, allocations: 10 kB / 0.7183 GB, free: 196.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/1.078, allocations: 9.856 MB / 0.728 GB, free: 192.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/1.079, allocations: 358.1 kB / 0.7283 GB, free: 192.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005286/1.079, allocations: 50.91 kB / 0.7284 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.081, allocations: 190.7 kB / 0.7285 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004521/1.081, allocations: 170.2 kB / 0.7287 GB, free: 192.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001873/1.082, allocations: 73.91 kB / 0.7288 GB, free: 192.4 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002502/1.084, allocations: 1.876 MB / 0.7306 GB, free: 191.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.6e-07/1.084, allocations: 0 / 0.7306 GB, free: 191.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004341/1.089, allocations: 1.129 MB / 0.7317 GB, free: 191.6 MB / 0.545 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.0004978/1.089, allocations: 197 kB / 0.7319 GB, free: 191.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008762/1.098, allocations: 6.95 MB / 0.7387 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.098, allocations: 0 / 0.7387 GB, free: 189.1 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003594/1.101, allocations: 2.858 MB / 0.7415 GB, free: 188 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004934/1.106, allocations: 400.7 kB / 0.7419 GB, free: 187.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01896/1.125, allocations: 14.39 MB / 0.7559 GB, free: 177 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003282/1.129, allocations: 3.589 MB / 0.7594 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001307/1.13, allocations: 287.4 kB / 0.7597 GB, free: 173.6 MB / 0.545 GB Notification: Performance of SimCode: time 2.094e-06/1.13, allocations: 0 / 0.7597 GB, free: 173.6 MB / 0.545 GB Notification: Performance of Templates: time 0.09463/1.225, allocations: 82.92 MB / 0.8407 GB, free: 90.76 MB / 0.545 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