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.0009776/0.0009776, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.273/1.273, allocations: 226.6 MB / 243.1 MB, free: 14.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007278/0.0007275, allocations: 101.8 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1865/0.1865, allocations: 44.83 MB / 392 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002506/0.0002506, allocations: 11.98 kB / 464.7 MB, free: 49.78 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08614/0.0864, allocations: 62.95 MB / 0.5153 GB, free: 2.781 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.1973/0.2837, allocations: 37.45 MB / 0.5519 GB, free: 3.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01964/0.3034, allocations: 8.39 MB / 0.5601 GB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007081/0.3105, allocations: 169.9 kB / 0.5602 GB, free: 13.6 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005182/0.3157, allocations: 1.86 MB / 0.5621 GB, free: 12.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.3299, allocations: 5.57 MB / 0.5675 GB, free: 8.137 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002279/0.3322, allocations: 471.3 kB / 0.568 GB, free: 7.676 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005842/0.3381, allocations: 4.468 MB / 0.5723 GB, free: 3.203 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004413/0.3425, allocations: 3.179 MB / 0.5754 GB, free: 15.98 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001726/0.3443, allocations: 1.179 MB / 0.5766 GB, free: 14.79 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.3465, allocations: 1.896 MB / 0.5784 GB, free: 12.89 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.347, allocations: 156 kB / 0.5786 GB, free: 12.74 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.3486, allocations: 0.7684 MB / 0.5793 GB, free: 11.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001476/0.3501, allocations: 1.687 MB / 0.581 GB, free: 10.28 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008486/0.3509, allocations: 0.866 MB / 0.5818 GB, free: 9.402 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005294/0.3562, allocations: 5.594 MB / 0.5873 GB, free: 3.797 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3563, allocations: 0 / 0.5873 GB, free: 3.797 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.3563, allocations: 0 / 0.5873 GB, free: 3.797 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001627/0.3565, allocations: 0 / 0.5873 GB, free: 3.797 MB / 394.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.007335/0.3638, allocations: 4.073 MB / 0.5913 GB, free: 15.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.3638, allocations: 12.03 kB / 0.5913 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.374, allocations: 3.222 MB / 0.5944 GB, free: 12.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00421/0.3783, allocations: 2.129 MB / 0.5965 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.3785, allocations: 237.8 kB / 0.5967 GB, free: 9.996 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005918/0.3791, allocations: 307.7 kB / 0.597 GB, free: 9.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01835/0.3974, allocations: 12.07 MB / 0.6088 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.3976, allocations: 35.66 kB / 0.6088 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004853/0.3981, allocations: 143.8 kB / 0.609 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004554/0.4027, allocations: 2.839 MB / 0.6117 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02007/0.4227, allocations: 11.32 MB / 0.6228 GB, free: 14.73 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05407/0.4769, allocations: 41.27 MB / 0.6631 GB, free: 4.449 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/0.4877, allocations: 6.059 MB / 0.669 GB, free: 14.17 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/0.4915, allocations: 3.007 MB / 0.672 GB, free: 11.15 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001588/0.4931, allocations: 1.899 MB / 0.6738 GB, free: 8.922 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.4932, allocations: 52.56 kB / 0.6739 GB, free: 8.859 MB / 490.7 MB Notification: Performance of pre-optimization done (n=262): time 5.42e-06/0.4932, allocations: 0 / 0.6739 GB, free: 8.859 MB / 490.7 MB Notification: Performance of matching and sorting (n=283): time 0.04619/0.5394, allocations: 20.07 MB / 0.6935 GB, free: 4.605 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.5395, allocations: 81.39 kB / 0.6935 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004513/0.544, allocations: 3.004 MB / 0.6965 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004452/0.5445, allocations: 61.7 kB / 0.6965 GB, free: 1.426 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002046/0.5465, allocations: 2.985 MB / 0.6994 GB, free: 14.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001235/0.5478, allocations: 1.025 MB / 0.7004 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004907/0.5483, allocations: 120 kB / 0.7006 GB, free: 13.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004379/0.5488, allocations: 0.5661 MB / 0.7011 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004252/0.553, allocations: 2.826 MB / 0.7039 GB, free: 9.836 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006384/0.5594, allocations: 6.006 MB / 0.7097 GB, free: 2.285 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2048/0.7643, allocations: 4.093 MB / 0.7137 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-05/0.7644, allocations: 31.5 kB / 0.7138 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.01671/0.7811, allocations: 9.994 MB / 0.7235 GB, free: 158 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 6.987e-05/0.7812, allocations: 56.66 kB / 0.7236 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/0.7813, allocations: 108.9 kB / 0.7237 GB, free: 158 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00356/0.7849, allocations: 1.366 MB / 0.725 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004609/0.7895, allocations: 1.376 MB / 0.7264 GB, free: 157.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009241/0.7988, allocations: 7.471 MB / 0.7337 GB, free: 154 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/0.8029, allocations: 373.2 kB / 0.734 GB, free: 153.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009149/0.8038, allocations: 341.5 kB / 0.7343 GB, free: 153.8 MB / 0.5105 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 (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.004024/0.8078, allocations: 2.297 MB / 0.7366 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004912/0.8083, allocations: 302 kB / 0.7369 GB, free: 152.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00866/0.817, allocations: 6.61 MB / 0.7433 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-05/0.8171, allocations: 55.8 kB / 0.7434 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.8171, allocations: 3.906 kB / 0.7434 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.8171, allocations: 12.98 kB / 0.7434 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01711/0.8342, allocations: 13.98 MB / 0.757 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/0.8343, allocations: 8 kB / 0.7571 GB, free: 141.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.8361, allocations: 452.2 kB / 0.7575 GB, free: 141.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/0.8389, allocations: 1.211 MB / 0.7587 GB, free: 139.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002497/0.8392, allocations: 57 kB / 0.7587 GB, free: 139.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006303/0.8455, allocations: 6.512 MB / 0.7651 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.8455, allocations: 11.94 kB / 0.7651 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01106/0.8566, allocations: 9.836 MB / 0.7747 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008142/0.8574, allocations: 353.1 kB / 0.775 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/0.8578, allocations: 53.86 kB / 0.7751 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.8593, allocations: 187.7 kB / 0.7753 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003019/0.8596, allocations: 165.6 kB / 0.7754 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/0.8598, allocations: 82.02 kB / 0.7755 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002137/0.8619, allocations: 1.839 MB / 0.7773 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/0.8619, allocations: 4 kB / 0.7773 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003878/0.8658, allocations: 1.128 MB / 0.7784 GB, free: 119.5 MB / 0.5105 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 (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.0004363/0.8662, allocations: 188.9 kB / 0.7786 GB, free: 119.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007921/0.8742, allocations: 6.872 MB / 0.7853 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.8742, allocations: 0 / 0.7853 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003193/0.8774, allocations: 2.848 MB / 0.7881 GB, free: 109.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/0.8794, allocations: 419.2 kB / 0.7885 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01558/0.895, allocations: 13.92 MB / 0.8021 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002813/0.8978, allocations: 3.584 MB / 0.8056 GB, free: 91.52 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001468/0.8993, allocations: 287.4 kB / 0.8058 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.012e-06/0.8993, allocations: 0 / 0.8058 GB, free: 91.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.08463/0.984, allocations: 83.09 MB / 0.887 GB, free: 8.211 MB / 0.5105 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