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.001364/0.001364, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001536/0.001536, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 9.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2112/0.2112, allocations: 46.11 MB / 344.3 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 75.75 kB / 417.5 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1265, allocations: 62.44 MB / 479.9 MB, free: 5.691 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.278/0.4046, allocations: 41.12 MB / 0.5088 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02068/0.4253, allocations: 8.755 MB / 0.5174 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0112/0.4366, allocations: 169.7 kB / 0.5176 GB, free: 9.535 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004712/0.4413, allocations: 1.931 MB / 0.5194 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005463/0.4469, allocations: 1.753 MB / 0.5212 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001771/0.4487, allocations: 0.5116 MB / 0.5217 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008234/0.4569, allocations: 5.708 MB / 0.5272 GB, free: 6.754 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00426/0.4612, allocations: 2.802 MB / 0.53 GB, free: 5.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002738/0.464, allocations: 1.247 MB / 0.5312 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003315/0.4673, allocations: 2.108 MB / 0.5332 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001181/0.4685, allocations: 216.5 kB / 0.5335 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002839/0.4714, allocations: 0.9841 MB / 0.5344 GB, free: 3.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00191/0.4733, allocations: 1.781 MB / 0.5362 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003002/0.4763, allocations: 2.161 MB / 0.5383 GB, free: 0.8828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006752/0.4831, allocations: 5.673 MB / 0.5438 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.4832, allocations: 0 / 0.5438 GB, free: 13.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.4832, allocations: 0 / 0.5438 GB, free: 13.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002799/0.4835, allocations: 0 / 0.5438 GB, free: 13.21 MB / 398.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.0108/0.4943, allocations: 4.885 MB / 0.5486 GB, free: 8.832 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4943, allocations: 8.031 kB / 0.5486 GB, free: 8.824 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01078/0.5051, allocations: 3.129 MB / 0.5516 GB, free: 5.688 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005059/0.5102, allocations: 2.17 MB / 0.5538 GB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.5105, allocations: 235.4 kB / 0.554 GB, free: 3.301 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001621/0.5122, allocations: 309.7 kB / 0.5543 GB, free: 3.047 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02359/0.5358, allocations: 12.08 MB / 0.5661 GB, free: 6.574 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002117/0.536, allocations: 31.66 kB / 0.5661 GB, free: 6.543 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001472/0.5375, allocations: 153 kB / 0.5662 GB, free: 6.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005327/0.5429, allocations: 2.828 MB / 0.569 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02409/0.567, allocations: 11.36 MB / 0.5801 GB, free: 8.25 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06728/0.6343, allocations: 41.28 MB / 0.6204 GB, free: 14.21 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01282/0.6472, allocations: 6.078 MB / 0.6264 GB, free: 7.902 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004496/0.6518, allocations: 3.008 MB / 0.6293 GB, free: 4.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/0.6538, allocations: 1.88 MB / 0.6311 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.6539, allocations: 56.56 kB / 0.6312 GB, free: 2.621 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 7.023e-06/0.6539, allocations: 4 kB / 0.6312 GB, free: 2.617 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.05488/0.7088, allocations: 20.14 MB / 0.6508 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.7089, allocations: 77.41 kB / 0.6509 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005755/0.7147, allocations: 3.023 MB / 0.6539 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0006699/0.7154, allocations: 61.7 kB / 0.6539 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002418/0.7178, allocations: 2.991 MB / 0.6569 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001544/0.7194, allocations: 1.015 MB / 0.6578 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003091/0.7225, allocations: 1.201 MB / 0.659 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.7227, allocations: 301.1 kB / 0.6593 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/0.7276, allocations: 2.85 MB / 0.6621 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007655/0.7352, allocations: 6.034 MB / 0.668 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/0.7486, allocations: 9.669 MB / 0.6774 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001173/0.7488, allocations: 32 kB / 0.6775 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02071/0.7695, allocations: 10.04 MB / 0.6873 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001262/0.7697, allocations: 55.98 kB / 0.6873 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/0.7699, allocations: 119.9 kB / 0.6874 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003737/0.7736, allocations: 1.358 MB / 0.6888 GB, free: 4.359 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004996/0.7787, allocations: 1.372 MB / 0.6901 GB, free: 2.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.7888, allocations: 7.288 MB / 0.6972 GB, free: 11.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004582/0.7934, allocations: 377.8 kB / 0.6976 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/0.7946, allocations: 340 kB / 0.6979 GB, free: 10.86 MB / 0.545 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.005085/0.7997, allocations: 2.297 MB / 0.7001 GB, free: 8.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000849/0.8006, allocations: 312 kB / 0.7004 GB, free: 8.246 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01199/0.8126, allocations: 6.625 MB / 0.7069 GB, free: 1.566 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-05/0.8127, allocations: 48 kB / 0.707 GB, free: 1.52 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/0.8127, allocations: 4 kB / 0.707 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.014e-05/0.8128, allocations: 11.95 kB / 0.707 GB, free: 1.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2324/1.045, allocations: 14 MB / 0.7206 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.23e-05/1.045, allocations: 10.5 kB / 0.7206 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/1.047, allocations: 455.4 kB / 0.7211 GB, free: 157.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003135/1.05, allocations: 1.212 MB / 0.7223 GB, free: 157.2 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003979/1.051, allocations: 52.27 kB / 0.7223 GB, free: 157.1 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007474/1.058, allocations: 6.517 MB / 0.7287 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/1.058, allocations: 9.188 kB / 0.7287 GB, free: 154 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01258/1.071, allocations: 9.853 MB / 0.7383 GB, free: 150.4 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008665/1.072, allocations: 354.7 kB / 0.7386 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006312/1.073, allocations: 52.97 kB / 0.7387 GB, free: 150.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001547/1.074, allocations: 198.5 kB / 0.7389 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004284/1.075, allocations: 162.2 kB / 0.739 GB, free: 150.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/1.075, allocations: 79.66 kB / 0.7391 GB, free: 150.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002384/1.077, allocations: 1.868 MB / 0.7409 GB, free: 149.6 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.51e-07/1.077, allocations: 0 / 0.7409 GB, free: 149.6 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003973/1.081, allocations: 1.107 MB / 0.742 GB, free: 149.5 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.0004663/1.082, allocations: 193.2 kB / 0.7422 GB, free: 149.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007931/1.09, allocations: 6.955 MB / 0.749 GB, free: 145.8 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.09, allocations: 5.641 kB / 0.749 GB, free: 145.8 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.003234/1.093, allocations: 2.851 MB / 0.7518 GB, free: 143.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/1.095, allocations: 416.2 kB / 0.7522 GB, free: 143 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.111, allocations: 14.29 MB / 0.7661 GB, free: 129.4 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003031/1.114, allocations: 3.573 MB / 0.7696 GB, free: 125.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001381/1.116, allocations: 295.4 kB / 0.7699 GB, free: 125.5 MB / 0.545 GB Notification: Performance of SimCode: time 9.02e-07/1.116, allocations: 0 / 0.7699 GB, free: 125.5 MB / 0.545 GB Notification: Performance of Templates: time 0.08572/1.202, allocations: 83.6 MB / 0.8516 GB, free: 42.1 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 -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