Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001501/0.001501, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001734/0.001734, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.513/1.513, allocations: 230.6 MB / 258.2 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2239/0.2239, allocations: 46.97 MB / 361.6 MB, free: 3.988 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002195/0.002195, allocations: 67.91 kB / 0.4973 GB, free: 7.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3451, allocations: 66.03 MB / 0.5618 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.01159/0.3567, allocations: 8.377 MB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008814/0.3655, allocations: 3.611 MB / 0.5735 GB, free: 8.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001649/0.3671, allocations: 63.69 kB / 0.5736 GB, free: 8.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004516/0.3716, allocations: 2.227 MB / 0.5758 GB, free: 5.793 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0047/0.3763, allocations: 1.658 MB / 0.5774 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.3781, allocations: 0.6979 MB / 0.5781 GB, free: 3.43 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005643/0.3837, allocations: 3.81 MB / 0.5818 GB, free: 15.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002973/0.3867, allocations: 2.319 MB / 0.584 GB, free: 13.24 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.3888, allocations: 1.312 MB / 0.5853 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3913, allocations: 1.865 MB / 0.5872 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000565/0.3919, allocations: 280 kB / 0.5874 GB, free: 9.781 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001945/0.3938, allocations: 1.069 MB / 0.5885 GB, free: 8.711 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001609/0.3954, allocations: 1.62 MB / 0.59 GB, free: 7.086 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001615/0.397, allocations: 1.359 MB / 0.5914 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.404, allocations: 6.253 MB / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.404, allocations: 0 / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.404, allocations: 0 / 0.5975 GB, free: 15.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001316/0.4041, allocations: 0 / 0.5975 GB, free: 15.44 MB / 446.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.008417/0.4125, allocations: 4.19 MB / 0.6016 GB, free: 11.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4126, allocations: 8.031 kB / 0.6016 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008248/0.4208, allocations: 2.022 MB / 0.6036 GB, free: 9.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006654/0.4275, allocations: 2.271 MB / 0.6058 GB, free: 6.855 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/0.4277, allocations: 189.3 kB / 0.606 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001017/0.4287, allocations: 267.9 kB / 0.6062 GB, free: 6.406 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01882/0.4476, allocations: 8.609 MB / 0.6146 GB, free: 13.17 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002106/0.4478, allocations: 35.7 kB / 0.6146 GB, free: 13.13 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009743/0.4487, allocations: 127.9 kB / 0.6148 GB, free: 13.01 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003652/0.4524, allocations: 1.746 MB / 0.6165 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01611/0.4685, allocations: 7.537 MB / 0.6238 GB, free: 3.719 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0449/0.5134, allocations: 32.01 MB / 0.6551 GB, free: 2.762 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006715/0.5201, allocations: 2.509 MB / 0.6575 GB, free: 216 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002369/0.5225, allocations: 1.769 MB / 0.6593 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.5228, allocations: 96.45 kB / 0.6594 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.5228, allocations: 51.27 kB / 0.6594 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=135): time 3.958e-06/0.5228, allocations: 3.938 kB / 0.6594 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=156): time 0.03852/0.5614, allocations: 15.31 MB / 0.6744 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.5615, allocations: 167.2 kB / 0.6745 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004909/0.5664, allocations: 3.267 MB / 0.6777 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003893/0.5668, allocations: 49.7 kB / 0.6778 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00261/0.5694, allocations: 2.767 MB / 0.6805 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.5704, allocations: 0.6397 MB / 0.6811 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002216/0.5726, allocations: 1.115 MB / 0.6822 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.5728, allocations: 301.1 kB / 0.6825 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004103/0.5769, allocations: 2.119 MB / 0.6845 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008021/0.5849, allocations: 5.366 MB / 0.6898 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/0.5975, allocations: 8.031 MB / 0.6976 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/0.5976, allocations: 32 kB / 0.6976 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of matching and sorting (n=697) (initialization): time 0.0182/0.6158, allocations: 8.252 MB / 0.7057 GB, free: 11.49 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.616, allocations: 59.19 kB / 0.7058 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001725/0.6161, allocations: 112 kB / 0.7059 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003533/0.6197, allocations: 1.218 MB / 0.7071 GB, free: 10.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004642/0.6243, allocations: 1.213 MB / 0.7082 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01116/0.6355, allocations: 7.403 MB / 0.7155 GB, free: 1.383 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004653/0.6401, allocations: 311.6 kB / 0.7158 GB, free: 1.078 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/0.6413, allocations: 332 kB / 0.7161 GB, free: 0.7539 MB / 0.545 GB 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.003878/0.6451, allocations: 1.852 MB / 0.7179 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008309/0.646, allocations: 278.4 kB / 0.7182 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/0.6529, allocations: 3.526 MB / 0.7216 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.413e-05/0.653, allocations: 19.98 kB / 0.7216 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/0.653, allocations: 11.94 kB / 0.7216 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.653, allocations: 3.984 kB / 0.7216 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01466/0.6677, allocations: 7.166 MB / 0.7286 GB, free: 3.809 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.6677, allocations: 8 kB / 0.7286 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001178/0.6688, allocations: 223.7 kB / 0.7289 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002982/0.6718, allocations: 1.068 MB / 0.7299 GB, free: 2.512 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002055/0.672, allocations: 24 kB / 0.7299 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.307/0.9791, allocations: 7.058 MB / 0.7368 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9791, allocations: 0 / 0.7368 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007607/0.9867, allocations: 6.244 MB / 0.7429 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.9874, allocations: 251.9 kB / 0.7432 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003621/0.9878, allocations: 23.78 kB / 0.7432 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/0.9889, allocations: 107.9 kB / 0.7433 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003163/0.9892, allocations: 86.64 kB / 0.7434 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.9893, allocations: 45.47 kB / 0.7434 GB, free: 149.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002195/0.9915, allocations: 1.881 MB / 0.7452 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9915, allocations: 0 / 0.7452 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00425/0.9958, allocations: 0.8769 MB / 0.7461 GB, free: 148.7 MB / 0.5606 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.0003981/0.9962, allocations: 161.2 kB / 0.7462 GB, free: 148.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006306/1.002, allocations: 4.933 MB / 0.7511 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/1.002, allocations: 0 / 0.7511 GB, free: 146 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002344/1.005, allocations: 1.738 MB / 0.7528 GB, free: 144.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.007, allocations: 324.2 kB / 0.7531 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.018, allocations: 8.441 MB / 0.7613 GB, free: 136.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/1.02, allocations: 2.335 MB / 0.7636 GB, free: 134.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003029/1.023, allocations: 1.669 MB / 0.7652 GB, free: 132.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005981/1.024, allocations: 199.4 kB / 0.7654 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of SimCode: time 1.202e-06/1.024, allocations: 0 / 0.7654 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05399/1.078, allocations: 36.41 MB / 0.801 GB, free: 96.67 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/CheckConstaintTorqueUniversalJoint/CheckConstaintTorqueUniversalJoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.938580155998352]