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.001152/0.001152, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00124/0.00124, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2042/0.2042, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 71.88 kB / 419 MB, free: 19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1024, allocations: 62.44 MB / 481.5 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01299/0.1154, allocations: 13.45 MB / 494.9 MB, free: 7.023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007394/0.1228, allocations: 4.213 MB / 499.1 MB, free: 2.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.1243, allocations: 71.88 kB / 499.2 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003347/0.1277, allocations: 1.962 MB / 0.4894 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003587/0.1313, allocations: 1.883 MB / 0.4912 GB, free: 14.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.1324, allocations: 0.5537 MB / 0.4918 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004189/0.1366, allocations: 4.05 MB / 0.4957 GB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00305/0.1397, allocations: 2.85 MB / 0.4985 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001869/0.1416, allocations: 1.44 MB / 0.4999 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00246/0.1441, allocations: 2.009 MB / 0.5019 GB, free: 3.887 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005858/0.1447, allocations: 308 kB / 0.5022 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.1464, allocations: 1.002 MB / 0.5032 GB, free: 2.582 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001478/0.1479, allocations: 1.858 MB / 0.505 GB, free: 0.7188 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1867/0.3345, allocations: 2.226 MB / 0.5071 GB, free: 16.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008421/0.343, allocations: 7.284 MB / 0.5143 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.343, allocations: 0 / 0.5143 GB, free: 15.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.343, allocations: 1.062 kB / 0.5143 GB, free: 15.62 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002257/0.3433, allocations: 0 / 0.5143 GB, free: 15.62 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.0107/0.354, allocations: 4.881 MB / 0.519 GB, free: 13.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.354, allocations: 9.812 kB / 0.519 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.3642, allocations: 3.136 MB / 0.5221 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005252/0.3695, allocations: 2.176 MB / 0.5242 GB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000176/0.3697, allocations: 240.5 kB / 0.5245 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008496/0.3706, allocations: 311.7 kB / 0.5248 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01757/0.3882, allocations: 12.08 MB / 0.5366 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.3883, allocations: 40.52 kB / 0.5366 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004948/0.3888, allocations: 145.5 kB / 0.5367 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0039/0.3927, allocations: 2.834 MB / 0.5395 GB, free: 6.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/0.413, allocations: 11.35 MB / 0.5506 GB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06334/0.4764, allocations: 41.04 MB / 0.5907 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01673/0.4932, allocations: 6.075 MB / 0.5966 GB, free: 12.89 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005394/0.4986, allocations: 3 MB / 0.5995 GB, free: 9.887 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002187/0.5008, allocations: 1.891 MB / 0.6014 GB, free: 7.676 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.5009, allocations: 61.72 kB / 0.6014 GB, free: 7.613 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 5.551e-06/0.5009, allocations: 0 / 0.6014 GB, free: 7.613 MB / 446.1 MB Notification: Performance of matching and sorting (n=283): time 0.05644/0.5574, allocations: 20.14 MB / 0.6211 GB, free: 3.359 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.197e-05/0.5575, allocations: 77.41 kB / 0.6212 GB, free: 3.27 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00435/0.5618, allocations: 3.022 MB / 0.6241 GB, free: 236 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003789/0.5622, allocations: 65.7 kB / 0.6242 GB, free: 164 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001922/0.5641, allocations: 2.982 MB / 0.6271 GB, free: 13.18 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/0.5654, allocations: 1.024 MB / 0.6281 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/0.5671, allocations: 1.193 MB / 0.6293 GB, free: 10.96 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.679e-05/0.5672, allocations: 301.1 kB / 0.6295 GB, free: 10.66 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00389/0.5711, allocations: 2.858 MB / 0.6323 GB, free: 7.797 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005967/0.5771, allocations: 6.027 MB / 0.6382 GB, free: 292 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/0.5884, allocations: 9.668 MB / 0.6477 GB, free: 5.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.659e-05/0.5885, allocations: 32 kB / 0.6477 GB, free: 5.484 MB / 494.1 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01813/0.6067, allocations: 10.05 MB / 0.6575 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.706e-05/0.6068, allocations: 52 kB / 0.6576 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/0.6069, allocations: 112 kB / 0.6577 GB, free: 11.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003518/0.6104, allocations: 1.369 MB / 0.659 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005055/0.6155, allocations: 1.369 MB / 0.6603 GB, free: 8.844 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.626, allocations: 7.816 MB / 0.668 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00478/0.6308, allocations: 363.7 kB / 0.6683 GB, free: 0.5391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009621/0.6318, allocations: 344 kB / 0.6686 GB, free: 208 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.004796/0.6366, allocations: 2.298 MB / 0.6709 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000645/0.6373, allocations: 308.1 kB / 0.6712 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/0.6485, allocations: 6.622 MB / 0.6776 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.233e-05/0.6487, allocations: 48 kB / 0.6777 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/0.6487, allocations: 4 kB / 0.6777 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.172e-05/0.6487, allocations: 11.95 kB / 0.6777 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02729/0.676, allocations: 13.97 MB / 0.6913 GB, free: 8.738 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.836e-05/0.6761, allocations: 8 kB / 0.6914 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002071/0.6781, allocations: 451.3 kB / 0.6918 GB, free: 8.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003309/0.6815, allocations: 1.21 MB / 0.693 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005101/0.682, allocations: 46.11 kB / 0.693 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008899/0.6909, allocations: 6.978 MB / 0.6998 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-05/0.691, allocations: 11.94 kB / 0.6998 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01495/0.7059, allocations: 9.862 MB / 0.7095 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008901/0.7068, allocations: 345.2 kB / 0.7098 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004593/0.7073, allocations: 54.48 kB / 0.7099 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7088, allocations: 195.7 kB / 0.71 GB, free: 5.281 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.7093, allocations: 161.6 kB / 0.7102 GB, free: 5.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002108/0.7095, allocations: 74.72 kB / 0.7103 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002659/0.7121, allocations: 1.874 MB / 0.7121 GB, free: 3.176 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7122, allocations: 0 / 0.7121 GB, free: 3.176 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004337/0.7165, allocations: 1.109 MB / 0.7132 GB, free: 2.066 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.0005423/0.717, allocations: 188.4 kB / 0.7134 GB, free: 1.879 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.221/0.938, allocations: 6.992 MB / 0.7202 GB, free: 200.9 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.9381, allocations: 0.8438 kB / 0.7202 GB, free: 200.9 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004125/0.9422, allocations: 2.854 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.002197/0.9444, allocations: 418.1 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.01578/0.9602, allocations: 11.32 MB / 0.7344 GB, free: 195.5 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003195/0.9635, allocations: 3.57 MB / 0.7379 GB, free: 194.2 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003959/0.9674, allocations: 2.204 MB / 0.7401 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008792/0.9683, allocations: 240.3 kB / 0.7403 GB, free: 194 MB / 0.545 GB Notification: Performance of SimCode: time 8.72e-07/0.9683, allocations: 0 / 0.7403 GB, free: 194 MB / 0.545 GB Notification: Performance of Templates: time 0.05572/1.024, allocations: 37.43 MB / 0.7768 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 gbode -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