Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.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.001486/0.001486, allocations: 80.31 kB / 22.21 MB, free: 2.285 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.001063/0.001063, allocations: 169.9 kB / 25.61 MB, free: 8.859 MB / 18.57 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 0.9153/0.9153, allocations: 177.1 MB / 206 MB, free: 4.5 MB / 186.7 MB " [Timeout remaining time 179] 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.1345/0.1345, allocations: 32.8 MB / 295.4 MB, free: 15.42 MB / 282.7 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 3.938 kB / 377.3 MB, free: 25.61 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.623e-05/1.798e-05, allocations: 2.312 kB / 377.3 MB, free: 25.6 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.007939/0.007957, allocations: 12.5 MB / 389.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006679/0.01464, allocations: 4.721 MB / 394.5 MB, free: 8.309 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001225/0.01586, allocations: 95.56 kB / 394.6 MB, free: 8.215 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00316/0.01902, allocations: 4.201 MB / 398.8 MB, free: 4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003053/0.02207, allocations: 2.333 MB / 401.1 MB, free: 1.656 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001518/0.02359, allocations: 1.31 MB / 402.4 MB, free: 352 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004723/0.02831, allocations: 6.562 MB / 409 MB, free: 9.777 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003957/0.03227, allocations: 4.693 MB / 413.7 MB, free: 5.012 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003806/0.03608, allocations: 3.934 MB / 417.6 MB, free: 1.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00263/0.03871, allocations: 3.258 MB / 420.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004421/0.03915, allocations: 0.5 MB / 421.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002084/0.04123, allocations: 1.588 MB / 423 MB, free: 11.71 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.04282, allocations: 2.836 MB / 425.8 MB, free: 8.871 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00131/0.04413, allocations: 1.788 MB / 427.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004969/0.0491, allocations: 6.31 MB / 433.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.0491, allocations: 0 / 433.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.0491, allocations: 0 / 433.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.04914, allocations: 0 / 433.9 MB, free: 0.7461 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.00687/0.05601, allocations: 6.701 MB / 440.6 MB, free: 9.965 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.05605, allocations: 11.98 kB / 440.6 MB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007447/0.0635, allocations: 2.354 MB / 443 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003325/0.06682, allocations: 2.765 MB / 445.7 MB, free: 4.773 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/0.067, allocations: 372.1 kB / 446.1 MB, free: 4.395 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004834/0.06748, allocations: 432.3 kB / 446.5 MB, free: 3.973 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00864/0.07612, allocations: 7.422 MB / 453.9 MB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-05/0.07622, allocations: 51.56 kB / 454 MB, free: 11.32 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003419/0.07656, allocations: 199.8 kB / 454.2 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001875/0.07843, allocations: 2.18 MB / 456.4 MB, free: 8.941 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007299/0.08573, allocations: 3.457 MB / 459.8 MB, free: 5.469 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2299/0.3156, allocations: 54.11 MB / 0.5019 GB, free: 69.87 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005633/0.3212, allocations: 2.269 MB / 0.5041 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008586/0.3221, allocations: 0.6818 MB / 0.5048 GB, free: 69.61 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007057/0.3291, allocations: 5.782 MB / 0.5104 GB, free: 68.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.3292, allocations: 61.2 kB / 0.5105 GB, free: 68.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 3.407e-06/0.3292, allocations: 0 / 0.5105 GB, free: 68.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.02965/0.3588, allocations: 12.17 MB / 0.5223 GB, free: 62.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.148e-05/0.3589, allocations: 227.6 kB / 0.5226 GB, free: 62.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.3624, allocations: 4.163 MB / 0.5266 GB, free: 59.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.3625, allocations: 61.7 kB / 0.5267 GB, free: 59.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001525/0.364, allocations: 4.288 MB / 0.5309 GB, free: 55.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005223/0.3645, allocations: 0.9337 MB / 0.5318 GB, free: 54.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001185/0.3657, allocations: 1.606 MB / 0.5334 GB, free: 53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.3658, allocations: 480.7 kB / 0.5338 GB, free: 52.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00105/0.3668, allocations: 0.7287 MB / 0.5345 GB, free: 51.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002787/0.3696, allocations: 7.333 MB / 0.5417 GB, free: 41.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004586/0.3742, allocations: 8.766 MB / 0.5503 GB, free: 30.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.376e-05/0.3742, allocations: 44 kB / 0.5503 GB, free: 30.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.00608/0.3803, allocations: 6.118 MB / 0.5563 GB, free: 24.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.725e-05/0.3804, allocations: 76.25 kB / 0.5563 GB, free: 24.11 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-05/0.3805, allocations: 152 kB / 0.5565 GB, free: 23.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00136/0.3818, allocations: 0.6887 MB / 0.5572 GB, free: 23.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002428/0.3843, allocations: 1.618 MB / 0.5587 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003184/0.3874, allocations: 3.871 MB / 0.5625 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002628/0.3901, allocations: 323.7 kB / 0.5628 GB, free: 17.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002732/0.3903, allocations: 384 kB / 0.5632 GB, free: 16.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001258/0.3916, allocations: 0.7552 MB / 0.5639 GB, free: 16.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004313/0.392, allocations: 473.3 kB / 0.5644 GB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3941, allocations: 1.675 MB / 0.566 GB, free: 14.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.726e-05/0.3941, allocations: 24 kB / 0.566 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3942, allocations: 4 kB / 0.566 GB, free: 14.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.3942, allocations: 11.97 kB / 0.5661 GB, free: 14.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007904/0.4021, allocations: 6.749 MB / 0.5726 GB, free: 7.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.4021, allocations: 5.219 kB / 0.5727 GB, free: 7.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/0.4028, allocations: 315.5 kB / 0.573 GB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001184/0.404, allocations: 486.5 kB / 0.5734 GB, free: 6.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.4041, allocations: 43.94 kB / 0.5735 GB, free: 6.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002477/0.4066, allocations: 2.933 MB / 0.5763 GB, free: 3.215 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.4066, allocations: 7.938 kB / 0.5763 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4094, allocations: 3.018 MB / 0.5793 GB, free: 68 kB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.41, allocations: 385.3 kB / 0.5796 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000294/0.4103, allocations: 40 kB / 0.5797 GB, free: 15.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000751/0.4111, allocations: 43.98 kB / 0.5797 GB, free: 15.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/0.4113, allocations: 160.6 kB / 0.5799 GB, free: 15.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.122e-05/0.4114, allocations: 56.02 kB / 0.5799 GB, free: 15.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.413, allocations: 1.67 MB / 0.5816 GB, free: 13.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.413, allocations: 0 / 0.5816 GB, free: 13.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004332/0.4174, allocations: 1.324 MB / 0.5829 GB, free: 12.39 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (revolute.phi,revolute.w) * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004301/0.4178, allocations: 250.4 kB / 0.5831 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004416/0.4222, allocations: 3.448 MB / 0.5865 GB, free: 8.703 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.4222, allocations: 4 kB / 0.5865 GB, free: 8.699 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009358/0.4231, allocations: 0.8996 MB / 0.5873 GB, free: 7.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.4249, allocations: 0.4939 MB / 0.5878 GB, free: 7.309 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01343/0.4383, allocations: 9.681 MB / 0.5973 GB, free: 13.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.4397, allocations: 1.632 MB / 0.5989 GB, free: 11.78 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001847/0.4416, allocations: 0.5879 MB / 0.5994 GB, free: 11.19 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009541/0.4425, allocations: 0.6855 MB / 0.6001 GB, free: 10.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.864e-06/0.4425, allocations: 0 / 0.6001 GB, free: 10.5 MB / 442.7 MB Notification: Performance of Templates: time 0.06052/0.503, allocations: 42.49 MB / 0.6416 GB, free: 0.5938 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.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.798286732751876]