Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002016/0.002016, allocations: 75.72 kB / 19.93 MB, free: 1.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001738/0.001738, allocations: 164.6 kB / 23.21 MB, free: 4.906 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 158.6 MB / 185 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2451/0.2451, allocations: 32.38 MB / 269.6 MB, free: 4.672 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 407.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.686e-05/3.861e-05, allocations: 2.281 kB / 407.4 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01304/0.01308, allocations: 9.02 MB / 416.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.02363, allocations: 3.723 MB / 420.1 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.02566, allocations: 67.69 kB / 420.2 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005873/0.03154, allocations: 2.386 MB / 422.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00678/0.03832, allocations: 1.835 MB / 424.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002319/0.04064, allocations: 0.7522 MB / 425.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007785/0.04842, allocations: 4.194 MB / 429.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004805/0.05323, allocations: 2.686 MB / 432 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004962/0.05819, allocations: 2.105 MB / 434.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004493/0.06268, allocations: 2.007 MB / 436.1 MB, free: 6.094 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001025/0.06371, allocations: 312 kB / 436.4 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/0.06687, allocations: 1.131 MB / 437.6 MB, free: 4.656 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00261/0.06948, allocations: 1.839 MB / 439.4 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002467/0.07195, allocations: 1.153 MB / 440.6 MB, free: 1.656 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.08454, allocations: 6.853 MB / 447.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.08454, allocations: 0 / 447.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08455, allocations: 0 / 447.4 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002353/0.08478, allocations: 0 / 447.4 MB, free: 10.78 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.0147/0.09948, allocations: 4.472 MB / 451.9 MB, free: 6.254 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.832e-05/0.09954, allocations: 8.031 kB / 451.9 MB, free: 6.246 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.1098, allocations: 2.143 MB / 454 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007391/0.1171, allocations: 2.407 MB / 456.5 MB, free: 1.645 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002195/0.1174, allocations: 209.6 kB / 456.7 MB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009786/0.1183, allocations: 280.2 kB / 456.9 MB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01867/0.137, allocations: 9.308 MB / 466.2 MB, free: 7.223 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001891/0.1372, allocations: 35.7 kB / 466.3 MB, free: 7.188 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000737/0.1379, allocations: 135.9 kB / 466.4 MB, free: 7.055 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004041/0.142, allocations: 1.919 MB / 468.3 MB, free: 5.125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3813/0.5233, allocations: 8.122 MB / 476.4 MB, free: 63.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0591/0.5824, allocations: 34.04 MB / 0.4985 GB, free: 39.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007995/0.5904, allocations: 3.161 MB / 0.5016 GB, free: 37.53 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002724/0.5931, allocations: 1.908 MB / 0.5035 GB, free: 36.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003617/0.5935, allocations: 99.86 kB / 0.5036 GB, free: 36.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.932e-05/0.5936, allocations: 51.12 kB / 0.5036 GB, free: 36.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=156): time 6.372e-06/0.5936, allocations: 3.438 kB / 0.5036 GB, free: 36.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=177): time 0.04276/0.6363, allocations: 16.67 MB / 0.5199 GB, free: 20.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.6364, allocations: 175.2 kB / 0.5201 GB, free: 20.37 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00437/0.6408, allocations: 3.504 MB / 0.5235 GB, free: 16.99 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004149/0.6412, allocations: 53.64 kB / 0.5235 GB, free: 16.93 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001333/0.6425, allocations: 2.915 MB / 0.5264 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007899/0.6433, allocations: 0.7045 MB / 0.5271 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001454/0.6448, allocations: 1.151 MB / 0.5282 GB, free: 12.17 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.801e-05/0.6448, allocations: 301.1 kB / 0.5285 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.6478, allocations: 2.291 MB / 0.5307 GB, free: 9.578 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004838/0.6526, allocations: 5.668 MB / 0.5363 GB, free: 2.23 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01255/0.6652, allocations: 8.539 MB / 0.5446 GB, free: 8.039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/0.6653, allocations: 32 kB / 0.5446 GB, free: 8.008 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.02234/0.6877, allocations: 8.733 MB / 0.5532 GB, free: 15.26 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.6878, allocations: 56 kB / 0.5532 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002822/0.6881, allocations: 116 kB / 0.5533 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003872/0.692, allocations: 1.229 MB / 0.5545 GB, free: 13.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005587/0.6976, allocations: 1.294 MB / 0.5558 GB, free: 12.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/0.7107, allocations: 7.548 MB / 0.5632 GB, free: 4.93 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007052/0.7177, allocations: 359.5 kB / 0.5635 GB, free: 4.578 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001976/0.7197, allocations: 351.9 kB / 0.5638 GB, free: 4.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 536 * Number of states: 0 () * Number of discrete variables: 24 (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 (690): * Single equations (assignments): 686 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006443/0.7261, allocations: 1.977 MB / 0.5658 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001666/0.7278, allocations: 298 kB / 0.566 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01011/0.7379, allocations: 3.885 MB / 0.5698 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-05/0.738, allocations: 24.48 kB / 0.5699 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.738, allocations: 4 kB / 0.5699 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.801e-05/0.7381, allocations: 11.97 kB / 0.5699 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02301/0.7611, allocations: 7.925 MB / 0.5776 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.09e-05/0.7611, allocations: 0 / 0.5776 GB, free: 6.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.7628, allocations: 271.6 kB / 0.5779 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.7661, allocations: 1.066 MB / 0.5789 GB, free: 4.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004041/0.7665, allocations: 28 kB / 0.5789 GB, free: 4.711 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.7788, allocations: 7.096 MB / 0.5859 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.7788, allocations: 0 / 0.5859 GB, free: 13.51 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01481/0.7936, allocations: 6.827 MB / 0.5925 GB, free: 6.672 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002275/0.7959, allocations: 0.5993 MB / 0.5931 GB, free: 6.07 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009576/0.7968, allocations: 30.53 kB / 0.5932 GB, free: 6.043 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002282/0.7991, allocations: 143.8 kB / 0.5933 GB, free: 5.902 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/0.7996, allocations: 112.7 kB / 0.5934 GB, free: 5.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000225/0.7998, allocations: 55.94 kB / 0.5935 GB, free: 5.738 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005843/0.8057, allocations: 2.036 MB / 0.5954 GB, free: 3.703 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8057, allocations: 4 kB / 0.5954 GB, free: 3.699 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.008903/0.8146, allocations: 1.059 MB / 0.5965 GB, free: 2.641 MB / 462.1 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 (137): * Single equations (assignments): 133 * 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.001218/0.8158, allocations: 182.8 kB / 0.5967 GB, free: 2.453 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01278/0.8286, allocations: 5.257 MB / 0.6018 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/0.8286, allocations: 8.062 kB / 0.6018 GB, free: 13.21 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004579/0.8332, allocations: 1.896 MB / 0.6036 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005436/0.8386, allocations: 330.4 kB / 0.604 GB, free: 10.98 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02392/0.8625, allocations: 8.976 MB / 0.6127 GB, free: 1.961 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00684/0.8694, allocations: 2.511 MB / 0.6152 GB, free: 15.42 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005874/0.8752, allocations: 1.77 MB / 0.6169 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/0.8767, allocations: 216.5 kB / 0.6171 GB, free: 13.44 MB / 494.1 MB Notification: Performance of SimCode: time 2.986e-06/0.8767, allocations: 0 / 0.6171 GB, free: 13.44 MB / 494.1 MB Notification: Performance of Templates: time 0.08333/0.96, allocations: 33.91 MB / 0.6502 GB, free: 11.59 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.250743232667446]