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.001817/0.001817, allocations: 113.1 kB / 17.99 MB, free: 5.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002587/0.002587, allocations: 209.8 kB / 18.92 MB, free: 4.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.198/2.198, allocations: 227.4 MB / 247.1 MB, free: 10.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4125/0.4125, allocations: 46.1 MB / 344.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 77.72 kB / 417.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2182, allocations: 62.44 MB / 480.1 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.4183/0.6365, allocations: 41.12 MB / 0.5091 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03246/0.6691, allocations: 8.663 MB / 0.5175 GB, free: 9.926 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01157/0.6807, allocations: 169.7 kB / 0.5177 GB, free: 9.902 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007222/0.688, allocations: 1.859 MB / 0.5195 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009482/0.6976, allocations: 1.762 MB / 0.5212 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003/0.7006, allocations: 0.5172 MB / 0.5217 GB, free: 8.641 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0099/0.7106, allocations: 4.056 MB / 0.5257 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008494/0.7191, allocations: 2.998 MB / 0.5286 GB, free: 6.148 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.7239, allocations: 1.451 MB / 0.53 GB, free: 5.625 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005316/0.7293, allocations: 2.204 MB / 0.5322 GB, free: 4.684 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001457/0.7308, allocations: 309.2 kB / 0.5325 GB, free: 4.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004093/0.7349, allocations: 1.011 MB / 0.5335 GB, free: 4.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.7384, allocations: 1.88 MB / 0.5353 GB, free: 3.266 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004255/0.7427, allocations: 2.248 MB / 0.5375 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01063/0.7534, allocations: 5.737 MB / 0.5431 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.7535, allocations: 0 / 0.5431 GB, free: 13.86 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.999e-06/0.7535, allocations: 3.984 kB / 0.5431 GB, free: 13.85 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003065/0.7538, allocations: 3.938 kB / 0.5431 GB, free: 13.85 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.01895/0.7728, allocations: 4.875 MB / 0.5479 GB, free: 9.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.7729, allocations: 8.031 kB / 0.5479 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02107/0.794, allocations: 3.133 MB / 0.5509 GB, free: 6.824 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007699/0.8017, allocations: 2.163 MB / 0.553 GB, free: 4.633 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003368/0.8021, allocations: 236.9 kB / 0.5533 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001946/0.8041, allocations: 312.5 kB / 0.5536 GB, free: 4.191 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03485/0.839, allocations: 12.09 MB / 0.5654 GB, free: 7.711 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.8392, allocations: 31.72 kB / 0.5654 GB, free: 7.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/0.8406, allocations: 145.3 kB / 0.5655 GB, free: 7.586 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008721/0.8493, allocations: 2.835 MB / 0.5683 GB, free: 4.762 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/0.8865, allocations: 11.35 MB / 0.5794 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09621/0.9828, allocations: 41.29 MB / 0.6197 GB, free: 15.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/1.004, allocations: 6.077 MB / 0.6256 GB, free: 9.043 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007282/1.011, allocations: 3.008 MB / 0.6286 GB, free: 6.031 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003007/1.014, allocations: 1.885 MB / 0.6304 GB, free: 3.824 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.767e-05/1.014, allocations: 60.5 kB / 0.6305 GB, free: 3.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=262): time 9.679e-06/1.014, allocations: 0 / 0.6305 GB, free: 3.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=283): time 0.0949/1.109, allocations: 20.13 MB / 0.6501 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.109, allocations: 81.34 kB / 0.6502 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008996/1.118, allocations: 3.019 MB / 0.6532 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001083/1.12, allocations: 61.7 kB / 0.6532 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004265/1.124, allocations: 2.985 MB / 0.6561 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002534/1.126, allocations: 1.021 MB / 0.6571 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004481/1.131, allocations: 1.201 MB / 0.6583 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001818/1.131, allocations: 301.1 kB / 0.6586 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008613/1.14, allocations: 2.85 MB / 0.6614 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/1.154, allocations: 6.034 MB / 0.6673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03445/1.188, allocations: 9.669 MB / 0.6767 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001606/1.189, allocations: 32 kB / 0.6767 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.03715/1.226, allocations: 10.04 MB / 0.6866 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.226, allocations: 52 kB / 0.6866 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002933/1.226, allocations: 115.9 kB / 0.6867 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00785/1.234, allocations: 1.365 MB / 0.688 GB, free: 5.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/1.244, allocations: 1.376 MB / 0.6894 GB, free: 4.125 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02003/1.264, allocations: 7.817 MB / 0.697 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008697/1.273, allocations: 363.7 kB / 0.6974 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002006/1.275, allocations: 346.5 kB / 0.6977 GB, free: 11.48 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.008651/1.284, allocations: 2.295 MB / 0.6999 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001203/1.285, allocations: 304.1 kB / 0.7002 GB, free: 8.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0211/1.306, allocations: 6.618 MB / 0.7067 GB, free: 2.199 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001584/1.307, allocations: 51.98 kB / 0.7067 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.794e-05/1.307, allocations: 4 kB / 0.7067 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-05/1.307, allocations: 11.95 kB / 0.7068 GB, free: 2.133 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4566/1.763, allocations: 14.01 MB / 0.7204 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001106/1.764, allocations: 10.03 kB / 0.7204 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005041/1.769, allocations: 457.4 kB / 0.7209 GB, free: 189.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007976/1.777, allocations: 1.219 MB / 0.7221 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/1.778, allocations: 52.97 kB / 0.7221 GB, free: 189.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01541/1.793, allocations: 6.966 MB / 0.7289 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.311e-05/1.793, allocations: 11.88 kB / 0.7289 GB, free: 186.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02632/1.82, allocations: 9.86 MB / 0.7386 GB, free: 182.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/1.822, allocations: 352 kB / 0.7389 GB, free: 182.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001743/1.823, allocations: 51.06 kB / 0.739 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004214/1.828, allocations: 196.4 kB / 0.7391 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001227/1.829, allocations: 163.6 kB / 0.7393 GB, free: 182.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005123/1.829, allocations: 72.86 kB / 0.7394 GB, free: 182.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005629/1.835, allocations: 1.873 MB / 0.7412 GB, free: 181.7 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.654e-06/1.835, allocations: 0 / 0.7412 GB, free: 181.7 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.01004/1.845, allocations: 1.11 MB / 0.7423 GB, free: 181.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.001539/1.847, allocations: 190.2 kB / 0.7425 GB, free: 181.4 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.03231/1.879, allocations: 11.99 MB / 0.7542 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.64e-05/1.879, allocations: 2 kB / 0.7542 GB, free: 173.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007108/1.886, allocations: 2.861 MB / 0.757 GB, free: 170.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005199/1.892, allocations: 422.9 kB / 0.7574 GB, free: 170.5 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03368/1.925, allocations: 14.3 MB / 0.7713 GB, free: 156.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007781/1.933, allocations: 3.574 MB / 0.7748 GB, free: 153.1 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002067/1.935, allocations: 291.3 kB / 0.7751 GB, free: 152.8 MB / 0.545 GB Notification: Performance of SimCode: time 1.482e-06/1.935, allocations: 0 / 0.7751 GB, free: 152.8 MB / 0.545 GB Notification: Performance of Templates: time 0.1726/2.108, allocations: 83.63 MB / 0.8568 GB, free: 69.29 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