Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001074/0.001074, allocations: 110.7 kB / 18.41 MB, free: 4.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001226/0.001226, allocations: 200.6 kB / 19.35 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.424/1.424, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2182/0.2182, allocations: 46.11 MB / 344.9 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 69.28 kB / 419 MB, free: 19.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1182, allocations: 62.45 MB / 481.5 MB, free: 4.527 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01308/0.1313, allocations: 13.45 MB / 494.9 MB, free: 7.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.1396, allocations: 4.209 MB / 499.1 MB, free: 2.789 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.1416, allocations: 75.81 kB / 499.2 MB, free: 2.715 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003743/0.1454, allocations: 1.966 MB / 0.4894 GB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004844/0.1503, allocations: 1.879 MB / 0.4913 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.1517, allocations: 0.5536 MB / 0.4918 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005296/0.157, allocations: 4.05 MB / 0.4957 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003441/0.1605, allocations: 2.858 MB / 0.4985 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.1631, allocations: 1.436 MB / 0.4999 GB, free: 5.891 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002454/0.1655, allocations: 2.013 MB / 0.5019 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006306/0.1662, allocations: 308 kB / 0.5022 GB, free: 3.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.1681, allocations: 0.9986 MB / 0.5032 GB, free: 2.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001842/0.17, allocations: 1.854 MB / 0.505 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2582/0.4281, allocations: 2.228 MB / 0.5072 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009528/0.4377, allocations: 7.289 MB / 0.5143 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.4378, allocations: 0 / 0.5143 GB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4378, allocations: 0 / 0.5143 GB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002939/0.4381, allocations: 0 / 0.5143 GB, free: 15.7 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.01488/0.453, allocations: 4.873 MB / 0.519 GB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.453, allocations: 9.5 kB / 0.519 GB, free: 13.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/0.465, allocations: 3.137 MB / 0.5221 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007994/0.473, allocations: 2.179 MB / 0.5242 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.4734, allocations: 239.8 kB / 0.5245 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00184/0.4753, allocations: 313.5 kB / 0.5248 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.4955, allocations: 12.08 MB / 0.5366 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/0.4956, allocations: 37.19 kB / 0.5366 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004936/0.4961, allocations: 143.3 kB / 0.5367 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003947/0.5001, allocations: 2.837 MB / 0.5395 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01996/0.5201, allocations: 11.36 MB / 0.5506 GB, free: 12.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06479/0.5849, allocations: 41.04 MB / 0.5907 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.5962, allocations: 6.077 MB / 0.5966 GB, free: 12.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004142/0.6003, allocations: 3.004 MB / 0.5995 GB, free: 9.875 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001854/0.6022, allocations: 1.883 MB / 0.6014 GB, free: 7.672 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.6023, allocations: 56.56 kB / 0.6014 GB, free: 7.609 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 6.131e-06/0.6023, allocations: 0 / 0.6014 GB, free: 7.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.04816/0.6505, allocations: 20.13 MB / 0.6211 GB, free: 3.355 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/0.6506, allocations: 77.41 kB / 0.6212 GB, free: 3.266 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004773/0.6553, allocations: 3.023 MB / 0.6241 GB, free: 228 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006079/0.656, allocations: 68.05 kB / 0.6242 GB, free: 156 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002401/0.6584, allocations: 2.979 MB / 0.6271 GB, free: 13.17 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001494/0.6599, allocations: 1.02 MB / 0.6281 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001844/0.6617, allocations: 1.199 MB / 0.6293 GB, free: 10.95 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6619, allocations: 301.1 kB / 0.6296 GB, free: 10.65 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004155/0.666, allocations: 2.857 MB / 0.6323 GB, free: 7.793 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00662/0.6727, allocations: 6.028 MB / 0.6382 GB, free: 284 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/0.6852, allocations: 9.674 MB / 0.6477 GB, free: 5.508 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001034/0.6854, allocations: 32 kB / 0.6477 GB, free: 5.477 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02101/0.7064, allocations: 10.03 MB / 0.6575 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.393e-05/0.7065, allocations: 52 kB / 0.6576 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001189/0.7066, allocations: 112 kB / 0.6577 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003442/0.7101, allocations: 1.377 MB / 0.659 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004858/0.715, allocations: 1.372 MB / 0.6603 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009923/0.7249, allocations: 7.819 MB / 0.668 GB, free: 0.8828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004315/0.7292, allocations: 366.4 kB / 0.6683 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008032/0.7301, allocations: 340 kB / 0.6687 GB, free: 200 kB / 0.4981 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.004159/0.7342, allocations: 2.297 MB / 0.6709 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005318/0.7348, allocations: 308 kB / 0.6712 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0104/0.7452, allocations: 6.622 MB / 0.6777 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.803e-05/0.7452, allocations: 51.98 kB / 0.6777 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.638e-06/0.7453, allocations: 4 kB / 0.6777 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.7453, allocations: 11.95 kB / 0.6777 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02358/0.7689, allocations: 13.96 MB / 0.6914 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/0.7689, allocations: 8.844 kB / 0.6914 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/0.7709, allocations: 451.3 kB / 0.6918 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003108/0.774, allocations: 1.207 MB / 0.693 GB, free: 7.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003155/0.7744, allocations: 51.98 kB / 0.693 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008644/0.783, allocations: 6.981 MB / 0.6998 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.783, allocations: 8 kB / 0.6998 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01408/0.7971, allocations: 9.864 MB / 0.7095 GB, free: 5.879 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008972/0.7981, allocations: 353.2 kB / 0.7098 GB, free: 5.512 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004904/0.7986, allocations: 51.52 kB / 0.7099 GB, free: 5.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001467/0.8, allocations: 195.6 kB / 0.7101 GB, free: 5.273 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004412/0.8005, allocations: 165.6 kB / 0.7102 GB, free: 5.109 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/0.8007, allocations: 75.98 kB / 0.7103 GB, free: 5.035 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002792/0.8035, allocations: 1.87 MB / 0.7121 GB, free: 3.164 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8035, allocations: 0 / 0.7121 GB, free: 3.164 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0044/0.8079, allocations: 1.104 MB / 0.7132 GB, free: 2.062 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.0004908/0.8084, allocations: 192.8 kB / 0.7134 GB, free: 1.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.2451/1.054, allocations: 6.987 MB / 0.7202 GB, free: 201 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.054, allocations: 4.984 kB / 0.7202 GB, free: 201 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003984/1.058, allocations: 2.857 MB / 0.723 GB, free: 200.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.06, allocations: 418.8 kB / 0.7234 GB, free: 200.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0182/1.078, allocations: 11.31 MB / 0.7344 GB, free: 195.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/1.082, allocations: 3.576 MB / 0.7379 GB, free: 194.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004249/1.086, allocations: 2.205 MB / 0.7401 GB, free: 194.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008153/1.087, allocations: 239 kB / 0.7403 GB, free: 194.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.963e-06/1.087, allocations: 4 kB / 0.7403 GB, free: 194.1 MB / 0.545 GB Notification: Performance of Templates: time 0.0575/1.144, allocations: 37.43 MB / 0.7769 GB, free: 157.5 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches