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.001166/0.001166, allocations: 77 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001061/0.001061, allocations: 173 kB / 24.06 MB, free: 448 kB / 18.57 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 0.9905/0.9905, allocations: 158.6 MB / 185.9 MB, free: 2.801 MB / 170.7 MB " [Timeout remaining time 179] 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.1442/0.1442, allocations: 32.37 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 2.174e-06/2.174e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.988e-05, allocations: 2.312 kB / 348.1 MB, free: 9.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.007623/0.007653, allocations: 9.707 MB / 357.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006422/0.01407, allocations: 3.815 MB / 361.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.01591, allocations: 67.69 kB / 361.7 MB, free: 11.53 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003125/0.01904, allocations: 2.453 MB / 364.2 MB, free: 9.066 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004562/0.0236, allocations: 1.851 MB / 366 MB, free: 7.207 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.02504, allocations: 0.7717 MB / 366.8 MB, free: 6.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004864/0.0299, allocations: 4.175 MB / 371 MB, free: 2.242 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003421/0.03332, allocations: 2.773 MB / 373.7 MB, free: 15.42 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.03765, allocations: 2.46 MB / 376.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003215/0.04087, allocations: 2.015 MB / 378.2 MB, free: 10.93 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.0419, allocations: 308 kB / 378.5 MB, free: 10.63 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002468/0.04436, allocations: 1.139 MB / 379.7 MB, free: 9.492 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001715/0.04608, allocations: 1.843 MB / 381.5 MB, free: 7.645 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.04757, allocations: 1.157 MB / 382.7 MB, free: 6.484 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005022/0.05259, allocations: 4.418 MB / 387.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.05259, allocations: 0 / 387.1 MB, free: 2.051 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.0526, allocations: 4 kB / 387.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001121/0.05271, allocations: 0 / 387.1 MB, free: 2.047 MB / 314.7 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.005399/0.05811, allocations: 4.68 MB / 391.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.05816, allocations: 12.03 kB / 391.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004097/0.06226, allocations: 1.555 MB / 393.3 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/0.06487, allocations: 1.918 MB / 395.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.06498, allocations: 205.6 kB / 395.4 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003078/0.06529, allocations: 276.2 kB / 395.7 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/0.07151, allocations: 4.954 MB / 400.7 MB, free: 3.473 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.867e-05/0.07159, allocations: 35.64 kB / 400.7 MB, free: 3.438 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002248/0.07181, allocations: 135.9 kB / 400.8 MB, free: 3.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001381/0.07319, allocations: 1.661 MB / 402.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004894/0.07809, allocations: 2.212 MB / 404.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03486/0.113, allocations: 39.02 MB / 443.7 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.1159, allocations: 1.198 MB / 444.9 MB, free: 5.785 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004833/0.1163, allocations: 366.7 kB / 445.3 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00385/0.1202, allocations: 2.898 MB / 448.2 MB, free: 2.484 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.1202, allocations: 49.98 kB / 448.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 5.34e-06/0.1203, allocations: 0 / 448.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=124): time 0.1746/0.2949, allocations: 4.22 MB / 452.4 MB, free: 99.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.295, allocations: 174.3 kB / 452.6 MB, free: 99.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004521/0.2995, allocations: 3.227 MB / 455.8 MB, free: 98.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002432/0.2997, allocations: 45.8 kB / 455.9 MB, free: 98.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001959/0.3017, allocations: 3.213 MB / 459.1 MB, free: 96.76 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006399/0.3023, allocations: 0.5559 MB / 459.7 MB, free: 96.47 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0016/0.3039, allocations: 1.227 MB / 460.9 MB, free: 96.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.078e-05/0.304, allocations: 480.7 kB / 461.3 MB, free: 95.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.3051, allocations: 0.5136 MB / 461.9 MB, free: 95.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003008/0.3081, allocations: 5.788 MB / 467.7 MB, free: 89.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0053/0.3134, allocations: 6.881 MB / 474.5 MB, free: 82.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001354/0.3135, allocations: 34.16 kB / 474.6 MB, free: 82.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.007732/0.3213, allocations: 4.549 MB / 479.1 MB, free: 80.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.28e-05/0.3213, allocations: 58.84 kB / 479.2 MB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.3215, allocations: 127.7 kB / 479.3 MB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00107/0.3226, allocations: 355.5 kB / 479.6 MB, free: 80.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002697/0.3253, allocations: 1.224 MB / 480.9 MB, free: 79.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.3277, allocations: 2.725 MB / 483.6 MB, free: 76.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003635/0.3313, allocations: 255.2 kB / 483.8 MB, free: 76.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004196/0.3317, allocations: 300 kB / 484.1 MB, free: 76.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 570 * 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 (685): * Single equations (assignments): 681 * 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.001372/0.3331, allocations: 0.6117 MB / 484.7 MB, free: 75.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006275/0.3337, allocations: 322 kB / 485.1 MB, free: 75.26 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3351, allocations: 0.8654 MB / 485.9 MB, free: 74.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.05e-05/0.3351, allocations: 12 kB / 485.9 MB, free: 74.56 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.3351, allocations: 7.938 kB / 485.9 MB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3351, allocations: 3.703 kB / 485.9 MB, free: 74.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.341, allocations: 3.881 MB / 489.8 MB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.341, allocations: 0 / 489.8 MB, free: 71.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004349/0.3414, allocations: 147.7 kB / 490 MB, free: 71.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005913/0.342, allocations: 194.2 kB / 490.2 MB, free: 71.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.183e-05/0.3421, allocations: 23.84 kB / 490.2 MB, free: 71.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.3437, allocations: 2.469 MB / 492.7 MB, free: 68.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.3437, allocations: 8.031 kB / 492.7 MB, free: 68.58 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.3457, allocations: 1.815 MB / 494.5 MB, free: 66.72 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007442/0.3464, allocations: 393.8 kB / 494.9 MB, free: 66.33 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.3466, allocations: 24.02 kB / 494.9 MB, free: 66.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005047/0.3471, allocations: 20 kB / 494.9 MB, free: 66.29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.3472, allocations: 76.41 kB / 495 MB, free: 66.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.75e-05/0.3473, allocations: 31.98 kB / 495 MB, free: 66.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0014/0.3487, allocations: 1.281 MB / 496.3 MB, free: 64.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3487, allocations: 0 / 496.3 MB, free: 64.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003418/0.3521, allocations: 0.9335 MB / 497.2 MB, free: 63.97 MB / 378.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 (95): * Single equations (assignments): 91 * 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.0003707/0.3525, allocations: 170.9 kB / 497.4 MB, free: 63.79 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/0.3556, allocations: 2.497 MB / 499.9 MB, free: 61.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.3556, allocations: 0 / 499.9 MB, free: 61.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.3562, allocations: 0.5708 MB / 0.4887 GB, free: 60.71 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/0.3578, allocations: 339.8 kB / 0.4891 GB, free: 60.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009657/0.3675, allocations: 6.566 MB / 0.4955 GB, free: 53.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001058/0.3685, allocations: 1.111 MB / 0.4966 GB, free: 52.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001463/0.37, allocations: 442.5 kB / 0.497 GB, free: 52.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007408/0.3707, allocations: 0.4903 MB / 0.4975 GB, free: 51.69 MB / 378.7 MB Notification: Performance of SimCode: time 2.915e-06/0.3707, allocations: 4 kB / 0.4975 GB, free: 51.69 MB / 378.7 MB Notification: Performance of Templates: time 0.04478/0.4155, allocations: 26.29 MB / 0.5231 GB, free: 25.51 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 240] 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","",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.331571036018431]