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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 111.5 kB / 17.04 MB, free: 6.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.44/1.44, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2079/0.2079, allocations: 43.51 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001525/0.001525, allocations: 72.48 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1082, allocations: 57.8 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01036/0.1186, allocations: 10.21 MB / 452.2 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009634/0.1283, allocations: 3.917 MB / 456.1 MB, free: 7.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002093/0.1304, allocations: 55.81 kB / 456.2 MB, free: 7.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.1351, allocations: 2.324 MB / 458.5 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0046/0.1397, allocations: 1.727 MB / 460.2 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001692/0.1415, allocations: 0.698 MB / 460.9 MB, free: 3.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005959/0.1474, allocations: 3.82 MB / 464.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004543/0.152, allocations: 2.981 MB / 467.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002413/0.1544, allocations: 1.37 MB / 469.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002761/0.1572, allocations: 1.857 MB / 470.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008591/0.1581, allocations: 308 kB / 471.2 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003012/0.1611, allocations: 1.182 MB / 472.4 MB, free: 7.547 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002185/0.1633, allocations: 1.707 MB / 474.1 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003693/0.167, allocations: 2.023 MB / 476.2 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008356/0.1754, allocations: 6.751 MB / 482.9 MB, free: 13.03 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1754, allocations: 3.938 kB / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1754, allocations: 0 / 482.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001777/0.1756, allocations: 4 kB / 482.9 MB, free: 13.02 MB / 366.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.009701/0.1853, allocations: 4.426 MB / 487.3 MB, free: 8.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.079e-05/0.1854, allocations: 11.89 kB / 487.3 MB, free: 8.516 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008748/0.1942, allocations: 2.055 MB / 489.4 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008059/0.2023, allocations: 2.498 MB / 491.9 MB, free: 3.891 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/0.2025, allocations: 205.6 kB / 492.1 MB, free: 3.688 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009541/0.2035, allocations: 279.9 kB / 492.4 MB, free: 3.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01565/0.2192, allocations: 9.283 MB / 0.4899 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001712/0.2194, allocations: 43.59 kB / 0.4899 GB, free: 9.461 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007512/0.2201, allocations: 131.9 kB / 0.4901 GB, free: 9.332 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003485/0.2236, allocations: 1.915 MB / 0.4919 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01689/0.2405, allocations: 8.168 MB / 0.4999 GB, free: 15.22 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3248/0.5654, allocations: 36.22 MB / 0.5353 GB, free: 63.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009104/0.5746, allocations: 3.671 MB / 0.5389 GB, free: 62.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003216/0.5779, allocations: 2.08 MB / 0.5409 GB, free: 62.35 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.5783, allocations: 338.2 kB / 0.5412 GB, free: 62.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.5784, allocations: 52.48 kB / 0.5413 GB, free: 62.03 MB / 414.1 MB Notification: Performance of pre-optimization done (n=156): time 4.899e-06/0.5784, allocations: 0 / 0.5413 GB, free: 62.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=177): time 0.038/0.6164, allocations: 16.2 MB / 0.5571 GB, free: 57.53 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.6166, allocations: 183 kB / 0.5573 GB, free: 57.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005204/0.6218, allocations: 3.644 MB / 0.5608 GB, free: 55.7 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002395/0.6221, allocations: 45.55 kB / 0.5609 GB, free: 55.65 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.6238, allocations: 2.809 MB / 0.5636 GB, free: 53.21 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006744/0.6245, allocations: 0.6817 MB / 0.5643 GB, free: 52.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001381/0.6259, allocations: 1.152 MB / 0.5654 GB, free: 51.98 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.547e-05/0.6259, allocations: 301.1 kB / 0.5657 GB, free: 51.69 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.6287, allocations: 2.295 MB / 0.5679 GB, free: 50.28 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003839/0.6325, allocations: 5.644 MB / 0.5735 GB, free: 43.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008465/0.641, allocations: 8.546 MB / 0.5818 GB, free: 33.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-05/0.6411, allocations: 36.69 kB / 0.5818 GB, free: 33.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=738) (initialization): time 0.01333/0.6544, allocations: 8.767 MB / 0.5904 GB, free: 24.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.787e-05/0.6546, allocations: 55.98 kB / 0.5904 GB, free: 24.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.962e-05/0.6547, allocations: 124.1 kB / 0.5906 GB, free: 24.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002754/0.6574, allocations: 1.219 MB / 0.5918 GB, free: 22.91 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004216/0.6617, allocations: 1.298 MB / 0.593 GB, free: 21.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008454/0.6701, allocations: 7.693 MB / 0.6005 GB, free: 13.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004756/0.6749, allocations: 336.6 kB / 0.6009 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001166/0.6761, allocations: 340 kB / 0.6012 GB, free: 13.12 MB / 414.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.003628/0.6798, allocations: 1.974 MB / 0.6031 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000995/0.6808, allocations: 317 kB / 0.6034 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006895/0.6877, allocations: 3.929 MB / 0.6073 GB, free: 6.883 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-05/0.6878, allocations: 20 kB / 0.6073 GB, free: 6.863 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/0.6878, allocations: 4 kB / 0.6073 GB, free: 6.859 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.6878, allocations: 11.97 kB / 0.6073 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01837/0.7062, allocations: 9.023 MB / 0.6161 GB, free: 13.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.631e-05/0.7062, allocations: 4 kB / 0.6161 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001506/0.7078, allocations: 271.5 kB / 0.6164 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002858/0.7106, allocations: 1.058 MB / 0.6174 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.7109, allocations: 33.25 kB / 0.6174 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01039/0.7213, allocations: 7.207 MB / 0.6245 GB, free: 5.109 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/0.7213, allocations: 7.984 kB / 0.6245 GB, free: 5.102 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01225/0.7336, allocations: 6.85 MB / 0.6312 GB, free: 14.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/0.7361, allocations: 0.6764 MB / 0.6318 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009274/0.7371, allocations: 28 kB / 0.6318 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002237/0.7393, allocations: 119.8 kB / 0.632 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004145/0.7398, allocations: 92.86 kB / 0.632 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/0.7399, allocations: 44 kB / 0.6321 GB, free: 13.26 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004872/0.7448, allocations: 2.285 MB / 0.6343 GB, free: 10.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7448, allocations: 0 / 0.6343 GB, free: 10.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005865/0.7507, allocations: 0.9684 MB / 0.6353 GB, free: 10.02 MB / 446.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.0005823/0.7513, allocations: 158.2 kB / 0.6354 GB, free: 9.863 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01013/0.7615, allocations: 5.482 MB / 0.6408 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.7615, allocations: 4.125 kB / 0.6408 GB, free: 4.391 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003845/0.7654, allocations: 2.035 MB / 0.6428 GB, free: 2.336 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/0.7689, allocations: 404 kB / 0.6431 GB, free: 1.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.7891, allocations: 8.938 MB / 0.6519 GB, free: 9.016 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005275/0.7945, allocations: 3.059 MB / 0.6549 GB, free: 5.941 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.005011/0.7995, allocations: 1.806 MB / 0.6566 GB, free: 4.141 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001097/0.8006, allocations: 227.4 kB / 0.6568 GB, free: 3.918 MB / 462.1 MB Notification: Performance of SimCode: time 9.02e-07/0.8007, allocations: 4 kB / 0.6568 GB, free: 3.914 MB / 462.1 MB Notification: Performance of Templates: time 0.07155/0.8722, allocations: 33.99 MB / 0.69 GB, free: 2.129 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile (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 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches