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.001182/0.001182, 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.0009641/0.0009641, allocations: 160.5 kB / 24.56 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 0.9999/0.9999, allocations: 177 MB / 204.8 MB, free: 5.605 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.2684/0.2684, allocations: 34.87 MB / 296.3 MB, free: 0.5508 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 2.815e-06/2.815e-06, allocations: 0 / 378.8 MB, free: 2.098 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.07e-05, allocations: 7.719 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01044/0.01047, allocations: 9.204 MB / 388 MB, free: 8.836 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.01691, allocations: 3.749 MB / 391.7 MB, free: 5.074 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001748/0.01866, allocations: 63.69 kB / 391.8 MB, free: 5.012 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003021/0.02168, allocations: 2.453 MB / 394.3 MB, free: 2.551 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003772/0.02545, allocations: 1.707 MB / 396 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.02693, allocations: 0.7678 MB / 396.7 MB, free: 68 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005785/0.03272, allocations: 4.197 MB / 400.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004555/0.03727, allocations: 2.652 MB / 403.6 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005398/0.04267, allocations: 2.503 MB / 406.1 MB, free: 6.656 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.04587, allocations: 1.87 MB / 408 MB, free: 4.781 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009307/0.0468, allocations: 284 kB / 408.2 MB, free: 4.504 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.04838, allocations: 1.108 MB / 409.3 MB, free: 3.395 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.04973, allocations: 1.691 MB / 411 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.05148, allocations: 1.055 MB / 412.1 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007239/0.05872, allocations: 4.087 MB / 416.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08e-05/0.05873, allocations: 4 kB / 416.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.776e-06/0.05873, allocations: 0 / 416.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.05901, allocations: 0 / 416.2 MB, free: 12.54 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.01053/0.06954, allocations: 4.567 MB / 420.7 MB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.06959, allocations: 8.031 kB / 420.7 MB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007612/0.0772, allocations: 2.374 MB / 423.1 MB, free: 5.52 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005295/0.0825, allocations: 2.027 MB / 425.1 MB, free: 3.453 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001902/0.08269, allocations: 189.3 kB / 425.3 MB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008312/0.08352, allocations: 256.2 kB / 425.6 MB, free: 3.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01141/0.09493, allocations: 5.127 MB / 430.7 MB, free: 13.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.09507, allocations: 39.69 kB / 430.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.09552, allocations: 123.9 kB / 430.9 MB, free: 12.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002127/0.09764, allocations: 1.626 MB / 432.5 MB, free: 11.27 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006637/0.1043, allocations: 2.606 MB / 435.1 MB, free: 8.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/0.3005, allocations: 37.4 MB / 472.5 MB, free: 60.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.3031, allocations: 1.279 MB / 473.8 MB, free: 60.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004004/0.3035, allocations: 371 kB / 474.1 MB, free: 60.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002738/0.3063, allocations: 2.852 MB / 477 MB, free: 59.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.3063, allocations: 49.98 kB / 477 MB, free: 59.51 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 2.816e-06/0.3063, allocations: 0 / 477 MB, free: 59.51 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.01152/0.3178, allocations: 7.282 MB / 484.3 MB, free: 57.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3179, allocations: 164.7 kB / 484.5 MB, free: 56.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.3204, allocations: 3.133 MB / 487.6 MB, free: 55.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.3205, allocations: 40.02 kB / 487.7 MB, free: 55.57 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001151/0.3216, allocations: 3.022 MB / 490.7 MB, free: 53.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002579/0.3219, allocations: 482.2 kB / 491.2 MB, free: 53.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008083/0.3227, allocations: 1.158 MB / 492.3 MB, free: 52.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.515e-05/0.3227, allocations: 476.8 kB / 492.8 MB, free: 51.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007351/0.3235, allocations: 0.5246 MB / 493.3 MB, free: 51.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/0.3259, allocations: 5.57 MB / 498.9 MB, free: 45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003876/0.3298, allocations: 6.685 MB / 0.4937 GB, free: 37.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.695e-05/0.3298, allocations: 36.16 kB / 0.4937 GB, free: 37.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.006525/0.3363, allocations: 4.724 MB / 0.4984 GB, free: 35.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.3364, allocations: 60.53 kB / 0.4984 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001357/0.3366, allocations: 119.9 kB / 0.4985 GB, free: 35.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3376, allocations: 450.7 kB / 0.499 GB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002067/0.3396, allocations: 1.18 MB / 0.5001 GB, free: 35.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002246/0.3419, allocations: 2.853 MB / 0.5029 GB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002062/0.3439, allocations: 307.5 kB / 0.5032 GB, free: 33.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/0.3443, allocations: 328 kB / 0.5035 GB, free: 33.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 550 * 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 (645): * Single equations (assignments): 641 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009574/0.3452, allocations: 0.5845 MB / 0.5041 GB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.3456, allocations: 307.7 kB / 0.5044 GB, free: 32.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00134/0.3469, allocations: 0.8913 MB / 0.5052 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.3469, allocations: 12 kB / 0.5052 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.779e-06/0.3469, allocations: 2.344 kB / 0.5052 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.347, allocations: 4.781 kB / 0.5053 GB, free: 32.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004712/0.3517, allocations: 3.716 MB / 0.5089 GB, free: 30.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3517, allocations: 7.562 kB / 0.5089 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.352, allocations: 133.3 kB / 0.509 GB, free: 30.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006901/0.3527, allocations: 272.3 kB / 0.5093 GB, free: 30.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.236e-05/0.3527, allocations: 19.38 kB / 0.5093 GB, free: 30.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.3544, allocations: 2.59 MB / 0.5118 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.3544, allocations: 8.094 kB / 0.5118 GB, free: 28.54 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.3563, allocations: 1.846 MB / 0.5136 GB, free: 27.52 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002681/0.3566, allocations: 265.5 kB / 0.5139 GB, free: 27.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.3567, allocations: 19.16 kB / 0.5139 GB, free: 27.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/0.3572, allocations: 73.88 kB / 0.514 GB, free: 27.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3573, allocations: 66.83 kB / 0.514 GB, free: 27.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/0.3573, allocations: 35.92 kB / 0.5141 GB, free: 27.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001428/0.3588, allocations: 1.323 MB / 0.5154 GB, free: 26.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3588, allocations: 0 / 0.5154 GB, free: 26.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002737/0.3615, allocations: 0.8452 MB / 0.5162 GB, free: 26.74 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (74): * Single equations (assignments): 70 * 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 {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003066/0.3618, allocations: 159.4 kB / 0.5163 GB, free: 26.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00302/0.3648, allocations: 2.483 MB / 0.5188 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3648, allocations: 0 / 0.5188 GB, free: 25.71 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005183/0.3653, allocations: 0.5478 MB / 0.5193 GB, free: 25.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3663, allocations: 328.4 kB / 0.5196 GB, free: 25.29 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/0.3729, allocations: 6.059 MB / 0.5255 GB, free: 20.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.3738, allocations: 1.026 MB / 0.5265 GB, free: 19.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001951/0.3758, allocations: 1.365 MB / 0.5279 GB, free: 18.54 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002668/0.376, allocations: 178.2 kB / 0.528 GB, free: 18.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.644e-06/0.376, allocations: 0 / 0.528 GB, free: 18.37 MB / 410.7 MB Notification: Performance of Templates: time 0.02938/0.4054, allocations: 22.83 MB / 0.5503 GB, free: 14.54 MB / 426.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.101793715264648]