Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.MultiBody.Joints.Universal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009827/0.0009826, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.364/1.364, allocations: 226.5 MB / 243.4 MB, free: 6.488 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008844/0.0008844, allocations: 98.88 kB / 295.5 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3008/0.3008, allocations: 44.83 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000257/0.000257, allocations: 12 kB / 465.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3483, allocations: 62.96 MB / 0.5159 GB, free: 37.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.02799/0.3764, allocations: 37.46 MB / 0.5525 GB, free: 10.43 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01957/0.396, allocations: 8.377 MB / 0.5606 GB, free: 4.754 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009258/0.4053, allocations: 168 kB / 0.5608 GB, free: 4.73 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007869/0.4132, allocations: 1.859 MB / 0.5626 GB, free: 4.082 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01948/0.4327, allocations: 5.595 MB / 0.5681 GB, free: 1.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4353, allocations: 0.5133 MB / 0.5686 GB, free: 1.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006909/0.4422, allocations: 4.543 MB / 0.573 GB, free: 14.78 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006863/0.4492, allocations: 3.433 MB / 0.5764 GB, free: 11.28 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003885/0.4531, allocations: 1.187 MB / 0.5775 GB, free: 10.09 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003171/0.4563, allocations: 1.896 MB / 0.5794 GB, free: 8.184 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007012/0.457, allocations: 152 kB / 0.5795 GB, free: 8.035 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002258/0.4593, allocations: 0.9008 MB / 0.5804 GB, free: 7.133 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00181/0.4611, allocations: 1.683 MB / 0.5821 GB, free: 5.445 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002168/0.4633, allocations: 1.97 MB / 0.584 GB, free: 3.457 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005768/0.4691, allocations: 5.601 MB / 0.5894 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4691, allocations: 4 kB / 0.5895 GB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4691, allocations: 0 / 0.5895 GB, free: 13.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002125/0.4694, allocations: 0 / 0.5895 GB, free: 13.84 MB / 410.7 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.007619/0.477, allocations: 4.011 MB / 0.5934 GB, free: 9.762 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.477, allocations: 8.875 kB / 0.5934 GB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00991/0.487, allocations: 3.227 MB / 0.5965 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004169/0.4912, allocations: 2.157 MB / 0.5986 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001605/0.4914, allocations: 234.2 kB / 0.5989 GB, free: 4.078 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000696/0.4921, allocations: 315.6 kB / 0.5992 GB, free: 3.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01774/0.5098, allocations: 12.06 MB / 0.6109 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.46e-05/0.51, allocations: 31.66 kB / 0.611 GB, free: 7.137 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004058/0.5104, allocations: 151.8 kB / 0.6111 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004313/0.5147, allocations: 2.839 MB / 0.6139 GB, free: 4.145 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02068/0.5354, allocations: 11.32 MB / 0.6249 GB, free: 8.805 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05314/0.5886, allocations: 41.29 MB / 0.6653 GB, free: 14.51 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/0.5995, allocations: 6.063 MB / 0.6712 GB, free: 8.223 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003895/0.6034, allocations: 3.006 MB / 0.6741 GB, free: 5.207 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001618/0.6051, allocations: 1.888 MB / 0.676 GB, free: 2.988 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.6051, allocations: 56.56 kB / 0.676 GB, free: 2.922 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 5.3e-06/0.6052, allocations: 0 / 0.676 GB, free: 2.922 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.2524/0.8576, allocations: 20.06 MB / 0.6956 GB, free: 125 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.8577, allocations: 79.66 kB / 0.6957 GB, free: 124.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.8617, allocations: 3.01 MB / 0.6986 GB, free: 123.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004751/0.8622, allocations: 65.61 kB / 0.6987 GB, free: 123.7 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.8638, allocations: 2.984 MB / 0.7016 GB, free: 121.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001082/0.8649, allocations: 1.018 MB / 0.7026 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.8652, allocations: 124.7 kB / 0.7027 GB, free: 120.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002962/0.8655, allocations: 0.5611 MB / 0.7033 GB, free: 120.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004313/0.8699, allocations: 2.833 MB / 0.706 GB, free: 119.2 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.8757, allocations: 6.006 MB / 0.7119 GB, free: 114.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.8867, allocations: 9.638 MB / 0.7213 GB, free: 107.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/0.887, allocations: 29.59 kB / 0.7213 GB, free: 107.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01835/0.9053, allocations: 9.997 MB / 0.7311 GB, free: 103.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.123e-05/0.9055, allocations: 52 kB / 0.7311 GB, free: 103.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001289/0.9056, allocations: 108.1 kB / 0.7312 GB, free: 103.2 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003152/0.9088, allocations: 1.359 MB / 0.7326 GB, free: 102.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/0.9133, allocations: 1.37 MB / 0.7339 GB, free: 101.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008747/0.9221, allocations: 7.478 MB / 0.7412 GB, free: 94.45 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004495/0.9266, allocations: 367.8 kB / 0.7416 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009212/0.9275, allocations: 348 kB / 0.7419 GB, free: 93.75 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003695/0.9313, allocations: 2.296 MB / 0.7441 GB, free: 91.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005507/0.9318, allocations: 304 kB / 0.7444 GB, free: 91.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008715/0.9405, allocations: 6.605 MB / 0.7509 GB, free: 84.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-05/0.9406, allocations: 49.39 kB / 0.7509 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/0.9406, allocations: 11.75 kB / 0.7509 GB, free: 84.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/0.9406, allocations: 19.89 kB / 0.751 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01801/0.9587, allocations: 13.98 MB / 0.7646 GB, free: 70.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.571e-05/0.9587, allocations: 8 kB / 0.7646 GB, free: 70.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.9605, allocations: 453.2 kB / 0.765 GB, free: 69.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002761/0.9633, allocations: 1.213 MB / 0.7662 GB, free: 68.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003403/0.9636, allocations: 55.98 kB / 0.7663 GB, free: 68.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006596/0.9702, allocations: 6.517 MB / 0.7727 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.9703, allocations: 11.94 kB / 0.7727 GB, free: 61.93 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.012/0.9823, allocations: 9.825 MB / 0.7823 GB, free: 51.95 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008127/0.9832, allocations: 353.2 kB / 0.7826 GB, free: 51.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000369/0.9835, allocations: 52 kB / 0.7826 GB, free: 51.53 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/0.985, allocations: 193.8 kB / 0.7828 GB, free: 51.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003858/0.9854, allocations: 165.5 kB / 0.783 GB, free: 51.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/0.9856, allocations: 79.98 kB / 0.7831 GB, free: 51.11 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002409/0.988, allocations: 1.839 MB / 0.7849 GB, free: 49.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.988, allocations: 0 / 0.7849 GB, free: 49.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004833/0.9928, allocations: 1.136 MB / 0.786 GB, free: 48.14 MB / 490.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004982/0.9934, allocations: 185.8 kB / 0.7861 GB, free: 47.95 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008448/1.002, allocations: 6.865 MB / 0.7928 GB, free: 41.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.002, allocations: 0 / 0.7928 GB, free: 41.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003338/1.005, allocations: 2.855 MB / 0.7956 GB, free: 38.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00432/1.01, allocations: 409 kB / 0.796 GB, free: 37.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01663/1.026, allocations: 13.92 MB / 0.8096 GB, free: 23.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003225/1.029, allocations: 3.585 MB / 0.8131 GB, free: 20.17 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.031, allocations: 291.3 kB / 0.8134 GB, free: 19.89 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/1.031, allocations: 0 / 0.8134 GB, free: 19.89 MB / 490.7 MB Notification: Performance of Templates: time 0.3534/1.384, allocations: 82.89 MB / 0.8943 GB, free: 161.5 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches