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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001743/0.001743, allocations: 111.8 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001881/0.001882, allocations: 212.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 252.3 MB, free: 84 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3176/0.3176, allocations: 46.17 MB / 351.8 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] 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=5002,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=5002,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 78.23 kB / 490.9 MB, free: 28.11 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 62.44 MB / 0.5404 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01531/0.1326, allocations: 13.46 MB / 0.5535 GB, free: 6.703 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009282/0.1419, allocations: 4.209 MB / 0.5576 GB, free: 2.477 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002119/0.1441, allocations: 71.81 kB / 0.5577 GB, free: 2.406 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004362/0.1485, allocations: 1.962 MB / 0.5596 GB, free: 448 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005039/0.1536, allocations: 1.887 MB / 0.5614 GB, free: 14.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001685/0.1553, allocations: 0.5497 MB / 0.562 GB, free: 13.99 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006674/0.162, allocations: 4.052 MB / 0.5659 GB, free: 9.934 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004246/0.1663, allocations: 2.87 MB / 0.5687 GB, free: 7.012 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.169, allocations: 1.436 MB / 0.5701 GB, free: 5.57 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003462/0.1725, allocations: 2.009 MB / 0.5721 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001048/0.1736, allocations: 304 kB / 0.5724 GB, free: 3.258 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002589/0.1762, allocations: 1.006 MB / 0.5734 GB, free: 2.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002499/0.1787, allocations: 1.854 MB / 0.5752 GB, free: 400 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003658/0.1824, allocations: 2.232 MB / 0.5774 GB, free: 14.14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01055/0.1929, allocations: 7.313 MB / 0.5845 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.193, allocations: 0 / 0.5845 GB, free: 6.801 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.193, allocations: 0 / 0.5845 GB, free: 6.801 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002418/0.1933, allocations: 0 / 0.5845 GB, free: 6.801 MB / 446.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.01245/0.2057, allocations: 5.005 MB / 0.5894 GB, free: 1.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.2058, allocations: 16.03 kB / 0.5894 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/0.2174, allocations: 3.164 MB / 0.5925 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005637/0.223, allocations: 2.185 MB / 0.5946 GB, free: 12.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003179/0.2234, allocations: 242.2 kB / 0.5949 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001357/0.2248, allocations: 311.9 kB / 0.5952 GB, free: 11.75 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3103/0.535, allocations: 12.08 MB / 0.607 GB, free: 53.26 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.5352, allocations: 31.73 kB / 0.607 GB, free: 53.24 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004984/0.5357, allocations: 146.8 kB / 0.6071 GB, free: 53.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005402/0.5411, allocations: 2.831 MB / 0.6099 GB, free: 53.21 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02478/0.5659, allocations: 11.35 MB / 0.621 GB, free: 49.84 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04855/0.6146, allocations: 41.12 MB / 0.6611 GB, free: 17.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009583/0.6242, allocations: 6.081 MB / 0.6671 GB, free: 10.76 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002942/0.6272, allocations: 3.009 MB / 0.67 GB, free: 7.742 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/0.6283, allocations: 1.884 MB / 0.6719 GB, free: 5.523 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/0.6284, allocations: 56.56 kB / 0.6719 GB, free: 5.461 MB / 462.1 MB Notification: Performance of pre-optimization done (n=262): time 4.839e-06/0.6284, allocations: 0 / 0.6719 GB, free: 5.461 MB / 462.1 MB Notification: Performance of matching and sorting (n=283): time 0.04809/0.6765, allocations: 20.2 MB / 0.6916 GB, free: 1.344 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/0.6766, allocations: 73.41 kB / 0.6917 GB, free: 1.258 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/0.6813, allocations: 3.035 MB / 0.6947 GB, free: 14.27 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006024/0.6819, allocations: 61.7 kB / 0.6947 GB, free: 14.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/0.6845, allocations: 3.115 MB / 0.6978 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0016/0.6862, allocations: 1.058 MB / 0.6988 GB, free: 10.03 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002074/0.6882, allocations: 1.211 MB / 0.7 GB, free: 8.809 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6884, allocations: 301.1 kB / 0.7003 GB, free: 8.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004799/0.6932, allocations: 2.854 MB / 0.7031 GB, free: 5.652 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00788/0.7011, allocations: 6.033 MB / 0.709 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01388/0.715, allocations: 9.688 MB / 0.7184 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.7152, allocations: 28 kB / 0.7184 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=792) (initialization): time 0.02091/0.7361, allocations: 10.06 MB / 0.7283 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.357e-05/0.7362, allocations: 55.94 kB / 0.7283 GB, free: 8.695 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/0.7364, allocations: 108 kB / 0.7284 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00387/0.7403, allocations: 1.367 MB / 0.7298 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0051/0.7454, allocations: 1.376 MB / 0.7311 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.7567, allocations: 7.801 MB / 0.7387 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004455/0.7612, allocations: 367.7 kB / 0.7391 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009203/0.7622, allocations: 340 kB / 0.7394 GB, free: 13.21 MB / 0.5294 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.00408/0.7662, allocations: 2.299 MB / 0.7416 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000642/0.7669, allocations: 329.8 kB / 0.742 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01218/0.7791, allocations: 6.615 MB / 0.7484 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.281e-05/0.7792, allocations: 55.98 kB / 0.7485 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/0.7792, allocations: 7.938 kB / 0.7485 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.72e-05/0.7793, allocations: 11.95 kB / 0.7485 GB, free: 3.824 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/0.8043, allocations: 13.88 MB / 0.762 GB, free: 5.738 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.28e-05/0.8043, allocations: 11.98 kB / 0.7621 GB, free: 5.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002068/0.8064, allocations: 451.3 kB / 0.7625 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003572/0.81, allocations: 1.221 MB / 0.7637 GB, free: 4.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003715/0.8104, allocations: 48 kB / 0.7637 GB, free: 4.016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/0.8206, allocations: 7.017 MB / 0.7706 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.8206, allocations: 8 kB / 0.7706 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01633/0.837, allocations: 9.88 MB / 0.7802 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.8378, allocations: 375.1 kB / 0.7806 GB, free: 2.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004715/0.8383, allocations: 47.98 kB / 0.7806 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/0.8399, allocations: 191.7 kB / 0.7808 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/0.8404, allocations: 173.6 kB / 0.781 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/0.8406, allocations: 72 kB / 0.781 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002902/0.8435, allocations: 1.866 MB / 0.7829 GB, free: 68 kB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8435, allocations: 0 / 0.7829 GB, free: 68 kB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004861/0.8484, allocations: 1.109 MB / 0.784 GB, free: 14.96 MB / 0.5762 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.0005428/0.8489, allocations: 194.7 kB / 0.7841 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01099/0.8599, allocations: 6.994 MB / 0.791 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/0.86, allocations: 0 / 0.791 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/0.8642, allocations: 2.866 MB / 0.7938 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002127/0.8663, allocations: 421.6 kB / 0.7942 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/0.8858, allocations: 11.98 MB / 0.8059 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004348/0.8902, allocations: 3.578 MB / 0.8094 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/0.8917, allocations: 287.4 kB / 0.8096 GB, free: 4.48 MB / 0.5919 GB Notification: Performance of SimCode: time 7.01e-07/0.8917, allocations: 4 kB / 0.8096 GB, free: 4.477 MB / 0.5919 GB Notification: Performance of Templates: time 0.3776/1.269, allocations: 84.23 MB / 0.8919 GB, free: 185.7 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.844127438031137]