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.0009811/0.0009811, allocations: 95.5 kB / 21.2 MB, free: 3.371 MB / 18.57 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.0009847/0.0009847, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 18.57 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/1, allocations: 177 MB / 204.8 MB, free: 5.566 MB / 186.7 MB " [Timeout remaining time 179] 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.28/0.28, allocations: 34.86 MB / 296.3 MB, free: 0.5391 MB / 266.7 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 1.153e-06/1.153e-06, allocations: 0 / 378.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.604e-05, allocations: 2.312 kB / 378.8 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007691/0.007707, allocations: 9.216 MB / 388 MB, free: 8.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005859/0.01357, allocations: 3.745 MB / 391.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009314/0.0145, allocations: 63.69 kB / 391.8 MB, free: 4.977 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002532/0.01703, allocations: 2.453 MB / 394.3 MB, free: 2.516 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.0198, allocations: 1.707 MB / 396 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.02084, allocations: 0.7717 MB / 396.7 MB, free: 28 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003485/0.02433, allocations: 4.19 MB / 400.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00199/0.02632, allocations: 2.656 MB / 403.6 MB, free: 9.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001644/0.02796, allocations: 1.98 MB / 405.6 MB, free: 7.137 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001887/0.02985, allocations: 1.909 MB / 407.5 MB, free: 5.223 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002933/0.03014, allocations: 288 kB / 407.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.03135, allocations: 1.112 MB / 408.9 MB, free: 3.828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009134/0.03226, allocations: 1.699 MB / 410.6 MB, free: 2.125 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008026/0.03307, allocations: 1.067 MB / 411.6 MB, free: 1.055 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00325/0.03632, allocations: 4.091 MB / 415.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.03632, allocations: 4 kB / 415.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.03632, allocations: 0 / 415.7 MB, free: 12.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.901e-05/0.03635, allocations: 0 / 415.7 MB, free: 12.95 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.004457/0.04081, allocations: 4.528 MB / 420.2 MB, free: 8.355 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.04085, allocations: 8.031 kB / 420.3 MB, free: 8.348 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004634/0.04548, allocations: 2.417 MB / 422.7 MB, free: 5.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002322/0.0478, allocations: 2.078 MB / 424.8 MB, free: 3.809 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.157e-05/0.04789, allocations: 197.2 kB / 424.9 MB, free: 3.613 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002962/0.04819, allocations: 264.2 kB / 425.2 MB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005393/0.05358, allocations: 5.135 MB / 430.3 MB, free: 13.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/0.05365, allocations: 35.7 kB / 430.4 MB, free: 13.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002115/0.05386, allocations: 123.9 kB / 430.5 MB, free: 13.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001655/0.05551, allocations: 1.739 MB / 432.2 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004674/0.06019, allocations: 2.821 MB / 435.1 MB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1978/0.258, allocations: 37.28 MB / 472.3 MB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/0.2609, allocations: 1.405 MB / 473.7 MB, free: 60.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006672/0.2616, allocations: 0.547 MB / 474.3 MB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001794/0.2618, allocations: 103.2 kB / 474.4 MB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.2618, allocations: 50.7 kB / 474.4 MB, free: 60.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=135): time 3.316e-06/0.2618, allocations: 0 / 474.4 MB, free: 60.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=156): time 0.01746/0.2793, allocations: 10.62 MB / 485.1 MB, free: 58.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.348e-05/0.2793, allocations: 174.1 kB / 485.2 MB, free: 57.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002541/0.2818, allocations: 2.993 MB / 488.2 MB, free: 56.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.056e-05/0.2819, allocations: 47.98 kB / 488.3 MB, free: 56.61 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00103/0.283, allocations: 2.906 MB / 491.2 MB, free: 54.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003638/0.2833, allocations: 0.661 MB / 491.8 MB, free: 54.12 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009469/0.2843, allocations: 1.181 MB / 493 MB, free: 53.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.279e-05/0.2843, allocations: 483.4 kB / 493.5 MB, free: 53.03 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001016/0.2853, allocations: 0.6489 MB / 494.1 MB, free: 52.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.2879, allocations: 5.441 MB / 499.6 MB, free: 46.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/0.2925, allocations: 6.685 MB / 0.4944 GB, free: 39.41 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.987e-05/0.2925, allocations: 32.44 kB / 0.4944 GB, free: 39.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.007475/0.3, allocations: 5.254 MB / 0.4996 GB, free: 37.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.209e-05/0.3001, allocations: 61.5 kB / 0.4996 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.3002, allocations: 113.4 kB / 0.4997 GB, free: 37.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001768/0.302, allocations: 0.7909 MB / 0.5005 GB, free: 37.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002238/0.3042, allocations: 1.213 MB / 0.5017 GB, free: 37.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003646/0.3078, allocations: 3.896 MB / 0.5055 GB, free: 34.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.3101, allocations: 340.5 kB / 0.5058 GB, free: 34.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002792/0.3103, allocations: 326.3 kB / 0.5061 GB, free: 34.54 MB / 410.7 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.0009709/0.3113, allocations: 0.5888 MB / 0.5067 GB, free: 34.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000366/0.3117, allocations: 320.9 kB / 0.507 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002701/0.3144, allocations: 1.761 MB / 0.5087 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/0.3144, allocations: 21.41 kB / 0.5087 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/0.3144, allocations: 4.25 kB / 0.5087 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.658e-05/0.3144, allocations: 16.2 kB / 0.5088 GB, free: 33.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007/0.3214, allocations: 5.191 MB / 0.5138 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3214, allocations: 0.5156 kB / 0.5138 GB, free: 31.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006002/0.322, allocations: 228.5 kB / 0.514 GB, free: 31.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001545/0.3236, allocations: 0.6264 MB / 0.5147 GB, free: 31.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.3237, allocations: 26.88 kB / 0.5147 GB, free: 31.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/0.3271, allocations: 3.65 MB / 0.5183 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3271, allocations: 2.562 kB / 0.5183 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003405/0.3305, allocations: 2.775 MB / 0.521 GB, free: 26.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.3308, allocations: 279.8 kB / 0.5212 GB, free: 25.91 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001804/0.331, allocations: 24 kB / 0.5213 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006688/0.3317, allocations: 130.3 kB / 0.5214 GB, free: 25.81 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001736/0.3319, allocations: 92.34 kB / 0.5215 GB, free: 25.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-05/0.3319, allocations: 40 kB / 0.5215 GB, free: 25.73 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001254/0.3332, allocations: 1.288 MB / 0.5228 GB, free: 24.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3332, allocations: 0 / 0.5228 GB, free: 24.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003144/0.3363, allocations: 0.9635 MB / 0.5237 GB, free: 23.7 MB / 410.7 MB 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.0004008/0.3367, allocations: 170.5 kB / 0.5239 GB, free: 23.54 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003925/0.3406, allocations: 2.959 MB / 0.5268 GB, free: 20.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3407, allocations: 0 / 0.5268 GB, free: 20.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001179/0.3418, allocations: 1.021 MB / 0.5278 GB, free: 20.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/0.3429, allocations: 339.9 kB / 0.5281 GB, free: 19.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.35, allocations: 6.578 MB / 0.5345 GB, free: 13.72 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007562/0.3507, allocations: 1.068 MB / 0.5355 GB, free: 12.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001756/0.3525, allocations: 1.42 MB / 0.5369 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.3529, allocations: 200.4 kB / 0.5371 GB, free: 11.76 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3529, allocations: 7.938 kB / 0.5371 GB, free: 11.75 MB / 410.7 MB Notification: Performance of Templates: time 0.04085/0.3938, allocations: 31.93 MB / 0.5683 GB, free: 12.3 MB / 442.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.357818604912609]