Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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.00133/0.00133, allocations: 116.2 kB / 18.45 MB, free: 4.613 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.001449/0.001449, allocations: 205 kB / 21.4 MB, free: 1.668 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.52/1.52, allocations: 227.4 MB / 251.6 MB, free: 104 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.2466/0.2466, allocations: 46.17 MB / 351.1 MB, free: 14.39 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.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,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.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002217/0.002217, allocations: 81.44 kB / 490.2 MB, free: 28.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1453, allocations: 62.45 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01201/0.1574, allocations: 9.455 MB / 0.5489 GB, free: 10.77 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009252/0.1667, allocations: 3.812 MB / 0.5527 GB, free: 6.938 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.1687, allocations: 51.88 kB / 0.5527 GB, free: 6.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005027/0.1737, allocations: 2.289 MB / 0.5549 GB, free: 4.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005491/0.1793, allocations: 1.603 MB / 0.5565 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.1813, allocations: 0.6901 MB / 0.5572 GB, free: 2.289 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007412/0.1888, allocations: 3.811 MB / 0.5609 GB, free: 14.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004536/0.1933, allocations: 2.895 MB / 0.5637 GB, free: 11.53 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002697/0.1961, allocations: 1.281 MB / 0.565 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.1991, allocations: 1.721 MB / 0.5667 GB, free: 8.516 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008307/0.1999, allocations: 280 kB / 0.5669 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00241/0.2023, allocations: 1.155 MB / 0.5681 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001852/0.2042, allocations: 1.574 MB / 0.5696 GB, free: 5.508 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002278/0.2065, allocations: 1.852 MB / 0.5714 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008029/0.2145, allocations: 6.242 MB / 0.5775 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.2146, allocations: 0 / 0.5775 GB, free: 13.38 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2146, allocations: 0 / 0.5775 GB, free: 13.38 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000181/0.2148, allocations: 3.938 kB / 0.5775 GB, free: 13.38 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.009771/0.2246, allocations: 4.25 MB / 0.5816 GB, free: 9.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.2247, allocations: 12.03 kB / 0.5817 GB, free: 9.039 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008419/0.2331, allocations: 2.019 MB / 0.5836 GB, free: 7.016 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006164/0.2393, allocations: 2.343 MB / 0.5859 GB, free: 4.625 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002056/0.2396, allocations: 193.3 kB / 0.5861 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001158/0.2407, allocations: 263.9 kB / 0.5864 GB, free: 4.176 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.2583, allocations: 8.584 MB / 0.5947 GB, free: 10.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/0.2585, allocations: 47.62 kB / 0.5948 GB, free: 10.93 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004239/0.259, allocations: 123.9 kB / 0.5949 GB, free: 10.8 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003343/0.2623, allocations: 1.731 MB / 0.5966 GB, free: 9.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/0.2785, allocations: 7.568 MB / 0.604 GB, free: 1.496 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3523/0.6308, allocations: 34.22 MB / 0.6374 GB, free: 31.13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006831/0.6377, allocations: 3.076 MB / 0.6404 GB, free: 29.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002784/0.6405, allocations: 1.914 MB / 0.6423 GB, free: 28.93 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003685/0.6409, allocations: 334.7 kB / 0.6426 GB, free: 28.63 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/0.641, allocations: 51.09 kB / 0.6426 GB, free: 28.57 MB / 462.1 MB Notification: Performance of pre-optimization done (n=135): time 5.49e-06/0.641, allocations: 0 / 0.6426 GB, free: 28.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=156): time 0.03607/0.6771, allocations: 15.52 MB / 0.6578 GB, free: 20 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.609e-05/0.6772, allocations: 179.2 kB / 0.658 GB, free: 19.79 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004045/0.6813, allocations: 3.518 MB / 0.6614 GB, free: 16.34 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003893/0.6817, allocations: 47.39 kB / 0.6614 GB, free: 16.29 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001459/0.6831, allocations: 2.747 MB / 0.6641 GB, free: 13.7 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007609/0.6839, allocations: 0.629 MB / 0.6647 GB, free: 13.07 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001257/0.6852, allocations: 1.108 MB / 0.6658 GB, free: 11.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.967e-05/0.6852, allocations: 305.1 kB / 0.6661 GB, free: 11.66 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002285/0.6875, allocations: 2.126 MB / 0.6682 GB, free: 9.523 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003555/0.6911, allocations: 5.333 MB / 0.6734 GB, free: 2.578 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009803/0.7009, allocations: 8.035 MB / 0.6812 GB, free: 8.949 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001136/0.7011, allocations: 36 kB / 0.6813 GB, free: 8.914 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01683/0.7179, allocations: 8.312 MB / 0.6894 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.7181, allocations: 57.91 kB / 0.6894 GB, free: 0.543 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/0.7183, allocations: 112 kB / 0.6896 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003365/0.7217, allocations: 1.222 MB / 0.6908 GB, free: 15.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004417/0.7261, allocations: 1.22 MB / 0.6919 GB, free: 13.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.7373, allocations: 7.607 MB / 0.6994 GB, free: 6.246 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004691/0.742, allocations: 315.6 kB / 0.6997 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008258/0.7429, allocations: 324 kB / 0.7 GB, free: 5.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * Number of states: 0 () * Number of discrete variables: 26 (torque.arrow.twoHeadedArrow,torque.arrow.headAtOrigin,universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (649): * Single equations (assignments): 645 * Array equations: 3 * 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,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003523/0.7464, allocations: 1.844 MB / 0.7018 GB, free: 3.766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008036/0.7472, allocations: 317.9 kB / 0.7021 GB, free: 3.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006749/0.754, allocations: 3.584 MB / 0.7056 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.834e-05/0.7541, allocations: 16 kB / 0.7056 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.634e-05/0.7541, allocations: 7.984 kB / 0.7056 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.7541, allocations: 7.984 kB / 0.7056 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01529/0.7694, allocations: 8.173 MB / 0.7136 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/0.7694, allocations: 0 / 0.7136 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/0.7706, allocations: 227.7 kB / 0.7138 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00289/0.7736, allocations: 1.062 MB / 0.7148 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001898/0.7738, allocations: 27.98 kB / 0.7149 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.7843, allocations: 7.264 MB / 0.722 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.7843, allocations: 0 / 0.722 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.7944, allocations: 6.291 MB / 0.7281 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001236/0.7957, allocations: 370.9 kB / 0.7285 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006234/0.7964, allocations: 28 kB / 0.7285 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001366/0.7977, allocations: 111.8 kB / 0.7286 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003373/0.7981, allocations: 84.81 kB / 0.7287 GB, free: 7.988 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001275/0.7982, allocations: 36 kB / 0.7287 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003562/0.8018, allocations: 2.2 MB / 0.7309 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.8018, allocations: 4 kB / 0.7309 GB, free: 5.758 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005162/0.807, allocations: 0.8828 MB / 0.7317 GB, free: 4.875 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (115): * Single equations (assignments): 111 * Array equations: 3 * 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,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005982/0.8076, allocations: 159.4 kB / 0.7319 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00968/0.8173, allocations: 5.151 MB / 0.7369 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.8173, allocations: 0 / 0.7369 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.8207, allocations: 1.858 MB / 0.7387 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.823, allocations: 384.6 kB / 0.7391 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01427/0.8373, allocations: 8.408 MB / 0.7473 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003234/0.8406, allocations: 2.888 MB / 0.7501 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003717/0.8443, allocations: 1.71 MB / 0.7518 GB, free: 268 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006347/0.845, allocations: 215.4 kB / 0.752 GB, free: 52 kB / 0.5294 GB Notification: Performance of SimCode: time 9.42e-07/0.845, allocations: 0 / 0.752 GB, free: 52 kB / 0.5294 GB Notification: Performance of Templates: time 0.06526/0.9103, allocations: 33.47 MB / 0.7847 GB, free: 14.68 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.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: 6.943041065707803]