Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.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.001063/0.001063, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.00106/0.00106, allocations: 173 kB / 24.06 MB, free: 456 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 1.009/1.009, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1481/0.1481, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.JointUPS2,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.JointUPS2") translateModel(ModelicaTest.MultiBody.Joints.JointUPS2,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.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.535e-05/1.707e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.00735/0.007367, allocations: 11.36 MB / 359.5 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01512/0.02248, allocations: 4.275 MB / 363.8 MB, free: 9.477 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.02482, allocations: 87.56 kB / 363.8 MB, free: 9.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005668/0.03049, allocations: 2.916 MB / 366.8 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.03584, allocations: 2.185 MB / 368.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001674/0.03752, allocations: 1.134 MB / 370.1 MB, free: 3.133 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005146/0.04266, allocations: 5.814 MB / 375.9 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003737/0.0464, allocations: 3.509 MB / 379.4 MB, free: 9.742 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00389/0.05029, allocations: 3.15 MB / 382.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003224/0.05352, allocations: 2.751 MB / 385.3 MB, free: 3.828 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001224/0.05474, allocations: 368 kB / 385.7 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003242/0.05798, allocations: 1.357 MB / 387 MB, free: 2.109 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003612/0.06159, allocations: 2.376 MB / 389.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002435/0.06403, allocations: 1.456 MB / 390.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007175/0.0712, allocations: 5.41 MB / 396.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.07121, allocations: 3.984 kB / 396.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.07121, allocations: 0 / 396.3 MB, free: 8.832 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002233/0.07144, allocations: 0 / 396.3 MB, free: 8.832 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.009393/0.08083, allocations: 5.882 MB / 402.2 MB, free: 2.883 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.08088, allocations: 8.031 kB / 402.2 MB, free: 2.875 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007275/0.08815, allocations: 2.194 MB / 404.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00474/0.09289, allocations: 2.434 MB / 406.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002136/0.09311, allocations: 254.7 kB / 407 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008627/0.09397, allocations: 352.3 kB / 407.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01192/0.1059, allocations: 6.657 MB / 414 MB, free: 5.812 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001471/0.106, allocations: 51.56 kB / 414.1 MB, free: 5.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003552/0.1064, allocations: 163.8 kB / 414.3 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001865/0.1083, allocations: 2.085 MB / 416.3 MB, free: 3.516 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008358/0.1166, allocations: 3.155 MB / 419.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2394/0.3561, allocations: 50.98 MB / 470.5 MB, free: 59.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006865/0.3629, allocations: 2.617 MB / 473.1 MB, free: 58.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001042/0.364, allocations: 0.6763 MB / 473.8 MB, free: 58.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008669/0.3726, allocations: 6.321 MB / 480.1 MB, free: 57.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/0.3727, allocations: 60.25 kB / 480.1 MB, free: 57.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=165): time 5.411e-06/0.3727, allocations: 0 / 480.1 MB, free: 57.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=203): time 0.04344/0.4161, allocations: 18.1 MB / 498.2 MB, free: 46.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.4162, allocations: 204.5 kB / 498.4 MB, free: 45.86 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003408/0.4196, allocations: 3.869 MB / 0.4905 GB, free: 42.64 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.4198, allocations: 61.06 kB / 0.4906 GB, free: 42.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/0.4212, allocations: 3.846 MB / 0.4944 GB, free: 38.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006557/0.4218, allocations: 0.8569 MB / 0.4952 GB, free: 37.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00111/0.423, allocations: 1.483 MB / 0.4966 GB, free: 36.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.979e-05/0.423, allocations: 480.7 kB / 0.4971 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001105/0.4241, allocations: 0.7941 MB / 0.4979 GB, free: 35.21 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.427, allocations: 6.964 MB / 0.5047 GB, free: 25.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006467/0.4335, allocations: 8.432 MB / 0.5129 GB, free: 14.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001497/0.4336, allocations: 40 kB / 0.5129 GB, free: 14.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01207/0.4457, allocations: 6.637 MB / 0.5194 GB, free: 8.098 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.34e-05/0.4458, allocations: 68 kB / 0.5195 GB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.4459, allocations: 147.9 kB / 0.5196 GB, free: 7.887 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004572/0.4505, allocations: 1.767 MB / 0.5214 GB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003139/0.4537, allocations: 1.474 MB / 0.5228 GB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00711/0.4608, allocations: 5.496 MB / 0.5282 GB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/0.4648, allocations: 295.8 kB / 0.5284 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/0.4655, allocations: 354.4 kB / 0.5288 GB, free: 14.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 659 * Number of states: 0 () * Number of discrete variables: 36 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (825): * Single equations (assignments): 821 * 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,41,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001607/0.4671, allocations: 0.707 MB / 0.5295 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007831/0.4678, allocations: 433.5 kB / 0.5299 GB, free: 13.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005086/0.4729, allocations: 2.58 MB / 0.5324 GB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.219e-05/0.473, allocations: 27.98 kB / 0.5324 GB, free: 10.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.473, allocations: 12 kB / 0.5324 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.461e-05/0.473, allocations: 7.969 kB / 0.5325 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.014/0.487, allocations: 7.602 MB / 0.5399 GB, free: 2.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.721e-05/0.487, allocations: 4 kB / 0.5399 GB, free: 2.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007767/0.4878, allocations: 243.8 kB / 0.5401 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004605/0.4924, allocations: 1.545 MB / 0.5416 GB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003046/0.4927, allocations: 36 kB / 0.5417 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/0.4991, allocations: 4.45 MB / 0.546 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4991, allocations: 0 / 0.546 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006757/0.5058, allocations: 3.68 MB / 0.5496 GB, free: 8.797 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/0.5075, allocations: 0.5909 MB / 0.5502 GB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.5079, allocations: 35.98 kB / 0.5502 GB, free: 8.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008769/0.5088, allocations: 35.98 kB / 0.5502 GB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000365/0.5092, allocations: 137 kB / 0.5504 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/0.5093, allocations: 43.94 kB / 0.5504 GB, free: 7.953 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.5112, allocations: 1.564 MB / 0.5519 GB, free: 6.41 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5112, allocations: 0 / 0.5519 GB, free: 6.41 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006377/0.5176, allocations: 1.433 MB / 0.5533 GB, free: 4.977 MB / 410.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 (147): * Single equations (assignments): 143 * 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,35,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005604/0.5181, allocations: 191.9 kB / 0.5535 GB, free: 4.789 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006128/0.5243, allocations: 3.533 MB / 0.557 GB, free: 1.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.5243, allocations: 4.062 kB / 0.557 GB, free: 1.266 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00165/0.5259, allocations: 1.056 MB / 0.558 GB, free: 196 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/0.5285, allocations: 455.5 kB / 0.5584 GB, free: 15.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01416/0.5426, allocations: 8.645 MB / 0.5669 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001679/0.5443, allocations: 1.409 MB / 0.5683 GB, free: 5.562 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001651/0.546, allocations: 0.5338 MB / 0.5688 GB, free: 5.027 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009639/0.5469, allocations: 0.627 MB / 0.5694 GB, free: 4.398 MB / 426.7 MB Notification: Performance of SimCode: time 1.833e-06/0.5469, allocations: 0 / 0.5694 GB, free: 4.398 MB / 426.7 MB Notification: Performance of Templates: time 0.2282/0.7751, allocations: 54.12 MB / 0.6223 GB, free: 176.5 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.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.894728910177946]