Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001281/0.001281, allocations: 82.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 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.001362/0.001362, allocations: 163.2 kB / 23.96 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.407/1.407, allocations: 177.1 MB / 204.3 MB, free: 9.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1978/0.1978, allocations: 32.8 MB / 293.5 MB, free: 60 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 3.938 kB / 440.1 MB, free: 8.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.58e-05/2.737e-05, allocations: 2.281 kB / 440.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.2025/0.2025, allocations: 8.364 MB / 448.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007304/0.2098, allocations: 3.625 MB / 452.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00113/0.2109, allocations: 63.44 kB / 452.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00436/0.2153, allocations: 2.34 MB / 454.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004298/0.2196, allocations: 1.701 MB / 456.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.2212, allocations: 0.7588 MB / 456.9 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.2268, allocations: 4.19 MB / 461.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003104/0.2299, allocations: 2.573 MB / 463.7 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002757/0.2326, allocations: 1.975 MB / 465.7 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002523/0.2352, allocations: 1.858 MB / 467.5 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.2358, allocations: 290.4 kB / 467.8 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.2379, allocations: 1.108 MB / 468.9 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.2393, allocations: 1.687 MB / 470.6 MB, free: 7.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001331/0.2406, allocations: 1.057 MB / 471.7 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006727/0.2474, allocations: 6.314 MB / 478 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2474, allocations: 0 / 478 MB, free: 2.965 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2474, allocations: 4 kB / 478 MB, free: 2.961 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001419/0.2475, allocations: 0 / 478 MB, free: 2.961 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: 1276 * Number of variables: 1276 Notification: Performance of Generate backend data structure: time 0.008958/0.2565, allocations: 4.196 MB / 482.2 MB, free: 15.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.2565, allocations: 8.031 kB / 482.2 MB, free: 15.9 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008978/0.2655, allocations: 2.077 MB / 484.3 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005668/0.2712, allocations: 2.259 MB / 486.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/0.2713, allocations: 201.3 kB / 486.7 MB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005841/0.2719, allocations: 260.1 kB / 487 MB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01521/0.2871, allocations: 8.61 MB / 495.6 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.574e-05/0.2872, allocations: 39.69 kB / 495.6 MB, free: 1.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003551/0.2876, allocations: 119.9 kB / 495.8 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003196/0.2908, allocations: 1.747 MB / 497.5 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01352/0.3043, allocations: 7.539 MB / 0.4932 GB, free: 8.387 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04093/0.3452, allocations: 32.17 MB / 0.5246 GB, free: 7.289 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006826/0.352, allocations: 2.585 MB / 0.5271 GB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/0.3544, allocations: 1.765 MB / 0.5289 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002697/0.3546, allocations: 100.4 kB / 0.529 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.455e-05/0.3547, allocations: 55.16 kB / 0.529 GB, free: 2.727 MB / 430.1 MB Notification: Performance of pre-optimization done (n=135): time 4.008e-06/0.3547, allocations: 0 / 0.529 GB, free: 2.727 MB / 430.1 MB Notification: Performance of matching and sorting (n=156): time 0.04018/0.3949, allocations: 15.69 MB / 0.5443 GB, free: 2.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.395, allocations: 171.2 kB / 0.5445 GB, free: 2.781 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00542/0.4004, allocations: 3.349 MB / 0.5478 GB, free: 15.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004372/0.4008, allocations: 49.7 kB / 0.5478 GB, free: 15.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002356/0.4032, allocations: 2.747 MB / 0.5505 GB, free: 12.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009228/0.4041, allocations: 0.6241 MB / 0.5511 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.4058, allocations: 1.088 MB / 0.5522 GB, free: 10.86 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4059, allocations: 301.1 kB / 0.5525 GB, free: 10.56 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/0.4094, allocations: 2.126 MB / 0.5545 GB, free: 8.43 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007273/0.4167, allocations: 5.37 MB / 0.5598 GB, free: 1.441 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/0.4288, allocations: 8.035 MB / 0.5676 GB, free: 7.812 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-05/0.4289, allocations: 35.94 kB / 0.5677 GB, free: 7.777 MB / 478.1 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.01626/0.4451, allocations: 8.254 MB / 0.5757 GB, free: 15.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.4452, allocations: 52 kB / 0.5758 GB, free: 15.47 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.4454, allocations: 112 kB / 0.5759 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003264/0.4486, allocations: 1.225 MB / 0.5771 GB, free: 14.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004055/0.4527, allocations: 1.216 MB / 0.5783 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/0.4637, allocations: 7.418 MB / 0.5855 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/0.4679, allocations: 343.5 kB / 0.5858 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005873/0.4685, allocations: 328 kB / 0.5862 GB, free: 4.742 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.003301/0.4718, allocations: 1.848 MB / 0.588 GB, free: 2.879 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006184/0.4724, allocations: 282.1 kB / 0.5882 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007089/0.4795, allocations: 3.522 MB / 0.5917 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/0.4795, allocations: 20 kB / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.699e-06/0.4795, allocations: 4 kB / 0.5917 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.4795, allocations: 7.969 kB / 0.5917 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/0.4938, allocations: 7.261 MB / 0.5988 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/0.4939, allocations: 0 / 0.5988 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001164/0.495, allocations: 227.7 kB / 0.599 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.498, allocations: 1.062 MB / 0.6 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.4981, allocations: 31.92 kB / 0.6001 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01064/0.5088, allocations: 7.095 MB / 0.607 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5088, allocations: 0 / 0.607 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.5191, allocations: 6.247 MB / 0.6131 GB, free: 8.918 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008476/0.52, allocations: 274 kB / 0.6134 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.5203, allocations: 28 kB / 0.6134 GB, free: 8.621 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001406/0.5217, allocations: 135.8 kB / 0.6135 GB, free: 8.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.522, allocations: 92.7 kB / 0.6136 GB, free: 8.398 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/0.5221, allocations: 44 kB / 0.6137 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003142/0.5253, allocations: 1.943 MB / 0.6155 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5253, allocations: 4 kB / 0.6156 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004304/0.5296, allocations: 0.9608 MB / 0.6165 GB, free: 5.445 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.0005043/0.5301, allocations: 174.9 kB / 0.6167 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008145/0.5382, allocations: 4.932 MB / 0.6215 GB, free: 352 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.5382, allocations: 8.344 kB / 0.6215 GB, free: 344 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.5414, allocations: 1.744 MB / 0.6232 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002051/0.5434, allocations: 331.7 kB / 0.6235 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0141/0.5575, allocations: 8.354 MB / 0.6317 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003162/0.5607, allocations: 2.329 MB / 0.6339 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003762/0.5645, allocations: 1.673 MB / 0.6356 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007235/0.5652, allocations: 204.4 kB / 0.6358 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of SimCode: time 8.52e-07/0.5652, allocations: 0 / 0.6358 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of Templates: time 0.2424/0.8076, allocations: 31.63 MB / 0.6667 GB, free: 163.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_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.434984926134348]