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.001098/0.001098, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.0009348/0.0009348, allocations: 171.9 kB / 24.82 MB, free: 9.273 MB / 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.084/1.084, allocations: 177 MB / 205.1 MB, free: 5.473 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.3024/0.3024, allocations: 34.87 MB / 296.6 MB, free: 0.5078 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.184e-06/2.184e-06, allocations: 0 / 379.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.877e-05/2.095e-05, allocations: 4.703 kB / 379.2 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01045/0.01047, allocations: 8.997 MB / 388.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00656/0.01703, allocations: 3.71 MB / 391.9 MB, free: 5.066 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006198/0.01765, allocations: 63.69 kB / 392 MB, free: 5.004 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.02017, allocations: 2.414 MB / 394.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.02238, allocations: 1.711 MB / 396.1 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009548/0.02333, allocations: 0.7717 MB / 396.9 MB, free: 92 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.02639, allocations: 4.205 MB / 401.1 MB, free: 11.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001797/0.02819, allocations: 2.648 MB / 403.8 MB, free: 9.18 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001963/0.03016, allocations: 2.503 MB / 406.3 MB, free: 6.672 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.03198, allocations: 1.874 MB / 408.1 MB, free: 4.793 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00027/0.03225, allocations: 280 kB / 408.4 MB, free: 4.52 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001067/0.03332, allocations: 1.108 MB / 409.5 MB, free: 3.41 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008869/0.0342, allocations: 1.695 MB / 411.2 MB, free: 1.711 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006915/0.0349, allocations: 1.059 MB / 412.3 MB, free: 0.6484 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.03786, allocations: 4.083 MB / 416.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.03787, allocations: 0 / 416.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.03787, allocations: 4 kB / 416.4 MB, free: 12.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.415e-05/0.03789, allocations: 0 / 416.4 MB, free: 12.55 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.003968/0.04186, allocations: 4.39 MB / 420.7 MB, free: 8.094 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.0419, allocations: 16.03 kB / 420.8 MB, free: 8.078 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003522/0.04542, allocations: 1.473 MB / 422.2 MB, free: 6.602 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.04716, allocations: 1.797 MB / 424 MB, free: 4.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.546e-05/0.04725, allocations: 193.3 kB / 424.2 MB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.04753, allocations: 260.2 kB / 424.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004269/0.0518, allocations: 4.662 MB / 429.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.05186, allocations: 39.62 kB / 429.2 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.05205, allocations: 127.9 kB / 429.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00113/0.05318, allocations: 1.474 MB / 430.8 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002774/0.05595, allocations: 2.05 MB / 432.8 MB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1983/0.2542, allocations: 37.1 MB / 469.9 MB, free: 62.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.2564, allocations: 1.127 MB / 471.1 MB, free: 62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2567, allocations: 313 kB / 471.4 MB, free: 61.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002511/0.2592, allocations: 2.672 MB / 474 MB, free: 60.99 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2593, allocations: 54.42 kB / 474.1 MB, free: 60.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=99): time 3.035e-06/0.2593, allocations: 0.5 kB / 474.1 MB, free: 60.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=104): time 0.009528/0.2688, allocations: 4.248 MB / 478.3 MB, free: 60.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.715e-05/0.2688, allocations: 167.8 kB / 478.5 MB, free: 60.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.2713, allocations: 3.123 MB / 481.6 MB, free: 59.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.2714, allocations: 37.58 kB / 481.7 MB, free: 59.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001222/0.2726, allocations: 3.047 MB / 484.7 MB, free: 57.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.2729, allocations: 485.5 kB / 485.2 MB, free: 56.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008204/0.2737, allocations: 1.178 MB / 486.4 MB, free: 56.33 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.27e-05/0.2737, allocations: 484.2 kB / 486.8 MB, free: 55.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006565/0.2744, allocations: 473.3 kB / 487.3 MB, free: 55.79 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/0.2766, allocations: 5.553 MB / 492.8 MB, free: 48.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003501/0.2801, allocations: 6.563 MB / 499.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.236e-05/0.2801, allocations: 35.12 kB / 499.4 MB, free: 41.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=678) (initialization): time 0.004416/0.2846, allocations: 4.289 MB / 0.4919 GB, free: 40.01 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.2846, allocations: 57.19 kB / 0.492 GB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.2848, allocations: 120.6 kB / 0.4921 GB, free: 40.01 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008018/0.2856, allocations: 343.9 kB / 0.4924 GB, free: 39.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/0.2874, allocations: 1.157 MB / 0.4935 GB, free: 39.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/0.2892, allocations: 2.719 MB / 0.4962 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/0.2908, allocations: 243.2 kB / 0.4964 GB, free: 37.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002776/0.2911, allocations: 285.8 kB / 0.4967 GB, free: 37.44 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.0007873/0.2919, allocations: 0.5909 MB / 0.4973 GB, free: 36.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002798/0.2922, allocations: 299.3 kB / 0.4976 GB, free: 36.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.2932, allocations: 0.7154 MB / 0.4983 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.989e-05/0.2932, allocations: 12.75 kB / 0.4983 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.2932, allocations: 5.375 kB / 0.4983 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2932, allocations: 8.234 kB / 0.4983 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004644/0.2979, allocations: 3.482 MB / 0.5017 GB, free: 34.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.2979, allocations: 4.672 kB / 0.5017 GB, free: 34.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/0.2983, allocations: 119.5 kB / 0.5018 GB, free: 34.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005825/0.2988, allocations: 181.2 kB / 0.502 GB, free: 34.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.2989, allocations: 23.28 kB / 0.502 GB, free: 34.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00157/0.3005, allocations: 2.476 MB / 0.5044 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.3005, allocations: 6.688 kB / 0.5044 GB, free: 32.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/0.3022, allocations: 1.64 MB / 0.506 GB, free: 31.66 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.3024, allocations: 258.3 kB / 0.5063 GB, free: 31.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/0.3026, allocations: 19.31 kB / 0.5063 GB, free: 31.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3031, allocations: 21.81 kB / 0.5063 GB, free: 31.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.826e-05/0.3032, allocations: 65.55 kB / 0.5064 GB, free: 31.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.3032, allocations: 28.11 kB / 0.5064 GB, free: 31.44 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001053/0.3043, allocations: 1.235 MB / 0.5076 GB, free: 31.01 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.3043, allocations: 0 / 0.5076 GB, free: 31.01 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002634/0.3069, allocations: 0.8415 MB / 0.5084 GB, free: 30.92 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.0003023/0.3072, allocations: 164 kB / 0.5086 GB, free: 30.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002478/0.3097, allocations: 2.322 MB / 0.5109 GB, free: 29.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3097, allocations: 1.438 kB / 0.5109 GB, free: 29.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.3101, allocations: 0.4983 MB / 0.5114 GB, free: 29.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.3112, allocations: 328.7 kB / 0.5117 GB, free: 29.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006231/0.3174, allocations: 6.023 MB / 0.5175 GB, free: 26.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/0.3184, allocations: 1.025 MB / 0.5185 GB, free: 25.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001064/0.3194, allocations: 410.9 kB / 0.5189 GB, free: 25.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/0.3201, allocations: 482.4 kB / 0.5194 GB, free: 25 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.3201, allocations: 0 / 0.5194 GB, free: 25 MB / 410.7 MB Notification: Performance of Templates: time 0.03586/0.3559, allocations: 24.38 MB / 0.5432 GB, free: 4.469 MB / 410.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.204562345054001]