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.001315/0.001315, allocations: 85.58 kB / 20.68 MB, free: 1.035 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.001468/0.001468, allocations: 157.5 kB / 23.95 MB, free: 4.168 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.594/1.594, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 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.2137/0.2137, allocations: 34.26 MB / 294.8 MB, free: 14.54 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 1.493e-06/1.493e-06, allocations: 0 / 442.7 MB, free: 5.316 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.59e-05/2.739e-05, allocations: 4.953 kB / 442.7 MB, free: 5.312 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2403/0.2403, allocations: 8.372 MB / 451 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006878/0.2472, allocations: 3.622 MB / 454.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.2497, allocations: 65.06 kB / 454.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004714/0.2544, allocations: 2.351 MB / 457.1 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004593/0.259, allocations: 1.693 MB / 458.8 MB, free: 11.26 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.2607, allocations: 0.748 MB / 459.5 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006146/0.2668, allocations: 4.199 MB / 463.7 MB, free: 9.297 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003242/0.27, allocations: 2.571 MB / 466.3 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003077/0.2731, allocations: 1.98 MB / 468.3 MB, free: 7.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003512/0.2766, allocations: 1.854 MB / 470.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008638/0.2775, allocations: 286.4 kB / 470.4 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002348/0.2798, allocations: 1.111 MB / 471.5 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001598/0.2814, allocations: 1.692 MB / 473.2 MB, free: 4.676 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001696/0.2831, allocations: 1.052 MB / 474.2 MB, free: 4.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008441/0.2916, allocations: 6.305 MB / 480.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.2916, allocations: 4.906 kB / 480.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2916, allocations: 0 / 480.6 MB, free: 15.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002266/0.2918, allocations: 0 / 480.6 MB, free: 15.81 MB / 382.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.01227/0.3041, allocations: 4.207 MB / 484.8 MB, free: 11.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3041, allocations: 8.031 kB / 484.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008806/0.3129, allocations: 2.077 MB / 486.8 MB, free: 9.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005547/0.3185, allocations: 2.247 MB / 489.1 MB, free: 7.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001745/0.3186, allocations: 197.3 kB / 489.3 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007393/0.3194, allocations: 268.1 kB / 489.6 MB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.3363, allocations: 8.606 MB / 498.2 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.3364, allocations: 43.64 kB / 498.2 MB, free: 13.67 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004107/0.3368, allocations: 121.7 kB / 498.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003418/0.3402, allocations: 1.75 MB / 0.4883 GB, free: 11.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01563/0.3558, allocations: 7.544 MB / 0.4957 GB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04792/0.4038, allocations: 32.17 MB / 0.5271 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007437/0.4112, allocations: 2.582 MB / 0.5297 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002733/0.4139, allocations: 1.763 MB / 0.5314 GB, free: 14.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003406/0.4143, allocations: 104.4 kB / 0.5315 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.365e-05/0.4143, allocations: 55.14 kB / 0.5315 GB, free: 14.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=135): time 4.328e-06/0.4143, allocations: 0 / 0.5315 GB, free: 14.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=156): time 0.04718/0.4615, allocations: 15.68 MB / 0.5468 GB, free: 14.85 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.4617, allocations: 171.3 kB / 0.547 GB, free: 14.64 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00552/0.4672, allocations: 3.36 MB / 0.5503 GB, free: 11.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005627/0.4677, allocations: 49.64 kB / 0.5503 GB, free: 11.21 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002447/0.4702, allocations: 2.751 MB / 0.553 GB, free: 8.434 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009958/0.4712, allocations: 0.6164 MB / 0.5536 GB, free: 7.812 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001797/0.473, allocations: 1.092 MB / 0.5547 GB, free: 6.711 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4732, allocations: 305.1 kB / 0.555 GB, free: 6.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003602/0.4768, allocations: 2.119 MB / 0.557 GB, free: 4.285 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007044/0.4838, allocations: 5.362 MB / 0.5623 GB, free: 13.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.495, allocations: 8.042 MB / 0.5701 GB, free: 3.672 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001279/0.4952, allocations: 32 kB / 0.5702 GB, free: 3.641 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01677/0.5119, allocations: 8.254 MB / 0.5782 GB, free: 11.38 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.972e-05/0.512, allocations: 52 kB / 0.5783 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/0.5122, allocations: 116 kB / 0.5784 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/0.5156, allocations: 1.218 MB / 0.5796 GB, free: 9.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.5201, allocations: 1.216 MB / 0.5808 GB, free: 8.773 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.532, allocations: 7.418 MB / 0.588 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00528/0.5373, allocations: 347.5 kB / 0.5883 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001322/0.5386, allocations: 324 kB / 0.5886 GB, free: 0.5938 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.004261/0.5429, allocations: 1.859 MB / 0.5905 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000803/0.5437, allocations: 278.1 kB / 0.5907 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007205/0.5509, allocations: 3.53 MB / 0.5942 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.868e-05/0.5509, allocations: 16 kB / 0.5942 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5509, allocations: 8 kB / 0.5942 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.999e-05/0.551, allocations: 11.97 kB / 0.5942 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/0.566, allocations: 7.249 MB / 0.6013 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/0.566, allocations: 8 kB / 0.6013 GB, free: 3.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.5673, allocations: 223.6 kB / 0.6015 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003092/0.5704, allocations: 1.058 MB / 0.6025 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/0.5705, allocations: 27.94 kB / 0.6026 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/0.5816, allocations: 7.11 MB / 0.6095 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5816, allocations: 0 / 0.6095 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01124/0.5929, allocations: 6.243 MB / 0.6156 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009126/0.5938, allocations: 282 kB / 0.6159 GB, free: 4.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/0.5942, allocations: 20 kB / 0.6159 GB, free: 4.473 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/0.5957, allocations: 127.8 kB / 0.616 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003486/0.5961, allocations: 100.7 kB / 0.6161 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001495/0.5962, allocations: 44 kB / 0.6162 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003741/0.6, allocations: 1.951 MB / 0.6181 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6, allocations: 0 / 0.6181 GB, free: 2.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005261/0.6052, allocations: 0.9609 MB / 0.619 GB, free: 1.293 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.0006631/0.6059, allocations: 170.9 kB / 0.6192 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009774/0.6157, allocations: 4.939 MB / 0.624 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.235e-06/0.6157, allocations: 4 kB / 0.624 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003795/0.6195, allocations: 1.746 MB / 0.6257 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003359/0.6228, allocations: 330.1 kB / 0.626 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/0.6404, allocations: 8.336 MB / 0.6342 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.199/0.8393, allocations: 2.321 MB / 0.6364 GB, free: 169.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005244/0.8446, allocations: 1.67 MB / 0.638 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009877/0.8456, allocations: 204.1 kB / 0.6382 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of SimCode: time 2.174e-06/0.8456, allocations: 1.75 kB / 0.6382 GB, free: 169.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.05833/0.9039, allocations: 31.66 MB / 0.6692 GB, free: 159.6 MB / 0.5294 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.1.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.993277959525585]