Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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.001218/0.001218, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001036/0.001036, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.9919/0.9919, allocations: 177.1 MB / 206.1 MB, free: 4.48 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.1626/0.1626, allocations: 32.79 MB / 295.4 MB, free: 15.36 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.JointUPS2,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.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_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18e-05/1.314e-05, allocations: 6.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.00687/0.006883, allocations: 11.27 MB / 388.5 MB, free: 14.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004982/0.01186, allocations: 4.275 MB / 392.8 MB, free: 9.965 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007298/0.01259, allocations: 87.56 kB / 392.9 MB, free: 9.879 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002223/0.01482, allocations: 2.916 MB / 395.8 MB, free: 6.953 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.01719, allocations: 2.154 MB / 398 MB, free: 4.789 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.01842, allocations: 1.119 MB / 399.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004281/0.0227, allocations: 6.112 MB / 405.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.02632, allocations: 3.494 MB / 408.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008054/0.03438, allocations: 3.306 MB / 412 MB, free: 6.684 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00554/0.03992, allocations: 2.728 MB / 414.7 MB, free: 3.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001194/0.04111, allocations: 372 kB / 415.1 MB, free: 3.586 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.04388, allocations: 1.346 MB / 416.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002617/0.0465, allocations: 2.341 MB / 418.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003009/0.0495, allocations: 1.433 MB / 420.2 MB, free: 14.45 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009477/0.05898, allocations: 5.344 MB / 425.6 MB, free: 9.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.05899, allocations: 3.984 kB / 425.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.05899, allocations: 0 / 425.6 MB, free: 9.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.00023/0.05922, allocations: 0 / 425.6 MB, free: 9.086 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: 1695 * Number of variables: 1695 Notification: Performance of Generate backend data structure: time 0.008991/0.06821, allocations: 5.856 MB / 431.4 MB, free: 3.164 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.06826, allocations: 15.98 kB / 431.4 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007708/0.07597, allocations: 2.183 MB / 433.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003693/0.07966, allocations: 2.391 MB / 436 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.07981, allocations: 258.7 kB / 436.3 MB, free: 14.26 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005692/0.08038, allocations: 348.3 kB / 436.6 MB, free: 13.92 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00855/0.08893, allocations: 6.657 MB / 443.3 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/0.08903, allocations: 59.45 kB / 443.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003168/0.08934, allocations: 167.8 kB / 443.5 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/0.09106, allocations: 2.081 MB / 445.6 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00716/0.09822, allocations: 3.155 MB / 448.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2271/0.3253, allocations: 50.95 MB / 499.7 MB, free: 74.69 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006569/0.3318, allocations: 2.619 MB / 0.4905 GB, free: 74.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/0.3326, allocations: 0.6769 MB / 0.4912 GB, free: 74.49 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007557/0.3402, allocations: 6.302 MB / 0.4973 GB, free: 73.13 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.389e-05/0.3402, allocations: 51.36 kB / 0.4974 GB, free: 73.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 3.777e-06/0.3402, allocations: 0.7812 kB / 0.4974 GB, free: 73.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.04131/0.3815, allocations: 18.08 MB / 0.515 GB, free: 62.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.3816, allocations: 201.1 kB / 0.5152 GB, free: 62.59 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.3843, allocations: 3.841 MB / 0.519 GB, free: 59.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001664/0.3845, allocations: 57.7 kB / 0.519 GB, free: 59.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001231/0.3857, allocations: 3.843 MB / 0.5228 GB, free: 56.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005528/0.3863, allocations: 0.8452 MB / 0.5236 GB, free: 55.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001089/0.3873, allocations: 1.482 MB / 0.5251 GB, free: 54.16 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.083e-05/0.3874, allocations: 480.7 kB / 0.5255 GB, free: 53.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.3885, allocations: 0.7979 MB / 0.5263 GB, free: 52.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002484/0.391, allocations: 6.962 MB / 0.5331 GB, free: 43.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/0.3958, allocations: 8.421 MB / 0.5413 GB, free: 32.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.202e-05/0.3959, allocations: 44 kB / 0.5414 GB, free: 32.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009297/0.4052, allocations: 6.653 MB / 0.5479 GB, free: 25.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.4052, allocations: 71.5 kB / 0.5479 GB, free: 25.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.907e-05/0.4053, allocations: 144 kB / 0.5481 GB, free: 25.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004531/0.4098, allocations: 1.759 MB / 0.5498 GB, free: 23.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002228/0.4121, allocations: 1.482 MB / 0.5512 GB, free: 22.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.4185, allocations: 5.484 MB / 0.5566 GB, free: 16.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/0.422, allocations: 299.7 kB / 0.5569 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000559/0.4225, allocations: 352 kB / 0.5572 GB, free: 16.18 MB / 410.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.001562/0.4241, allocations: 0.703 MB / 0.5579 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007532/0.4248, allocations: 433.5 kB / 0.5583 GB, free: 15.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/0.4296, allocations: 2.58 MB / 0.5608 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.067e-05/0.4297, allocations: 24 kB / 0.5608 GB, free: 12.42 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4297, allocations: 8 kB / 0.5609 GB, free: 12.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4297, allocations: 11.91 kB / 0.5609 GB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.4414, allocations: 7.583 MB / 0.5683 GB, free: 4.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/0.4414, allocations: 4 kB / 0.5683 GB, free: 4.727 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/0.4421, allocations: 239.6 kB / 0.5685 GB, free: 4.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004286/0.4464, allocations: 1.544 MB / 0.57 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001569/0.4465, allocations: 32 kB / 0.57 GB, free: 2.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005946/0.4525, allocations: 4.444 MB / 0.5744 GB, free: 14.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.4525, allocations: 4.031 kB / 0.5744 GB, free: 14.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/0.4595, allocations: 3.673 MB / 0.578 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009861/0.4605, allocations: 353.4 kB / 0.5783 GB, free: 10.28 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002918/0.4608, allocations: 32 kB / 0.5783 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008711/0.4616, allocations: 36 kB / 0.5784 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00031/0.462, allocations: 132.9 kB / 0.5785 GB, free: 10.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.4621, allocations: 43.98 kB / 0.5785 GB, free: 10.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001778/0.4638, allocations: 1.543 MB / 0.5801 GB, free: 8.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.4638, allocations: 0 / 0.5801 GB, free: 8.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004384/0.4682, allocations: 1.391 MB / 0.5814 GB, free: 7.125 MB / 426.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.0004046/0.4686, allocations: 194.6 kB / 0.5816 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.4734, allocations: 3.53 MB / 0.585 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4734, allocations: 0 / 0.585 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/0.475, allocations: 1.069 MB / 0.5861 GB, free: 2.32 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/0.4771, allocations: 461.2 kB / 0.5865 GB, free: 1.887 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/0.4892, allocations: 8.602 MB / 0.5949 GB, free: 9.184 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/0.4907, allocations: 1.409 MB / 0.5963 GB, free: 7.746 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001641/0.4923, allocations: 0.5305 MB / 0.5968 GB, free: 7.215 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009628/0.4933, allocations: 0.6309 MB / 0.5974 GB, free: 6.582 MB / 442.7 MB Notification: Performance of SimCode: time 2.205e-06/0.4933, allocations: 0 / 0.5974 GB, free: 6.582 MB / 442.7 MB Notification: Performance of Templates: time 0.07088/0.5642, allocations: 54.71 MB / 0.6509 GB, free: 244 kB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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.8579192738980055]