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.001072/0.001072, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001095/0.001095, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9963/0.9963, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.2637/0.2637, allocations: 32.81 MB / 294.6 MB, free: 1.227 MB / 266.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.362e-06/1.362e-06, allocations: 0 / 376.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.279e-05, allocations: 10.25 kB / 376.5 MB, free: 4.391 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.008761/0.008774, allocations: 11.29 MB / 387.8 MB, free: 9.051 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005786/0.01456, allocations: 4.262 MB / 392 MB, free: 4.777 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008584/0.01542, allocations: 87.56 kB / 392.1 MB, free: 4.691 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003066/0.01848, allocations: 2.92 MB / 395 MB, free: 1.762 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003071/0.02156, allocations: 2.146 MB / 397.2 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001453/0.02301, allocations: 1.123 MB / 398.3 MB, free: 14.48 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005005/0.02801, allocations: 6.108 MB / 404.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.03037, allocations: 3.498 MB / 407.9 MB, free: 4.816 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.03324, allocations: 3.294 MB / 411.2 MB, free: 1.516 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.0356, allocations: 2.732 MB / 413.9 MB, free: 14.78 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.03604, allocations: 372 kB / 414.3 MB, free: 14.41 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001554/0.03759, allocations: 1.346 MB / 415.7 MB, free: 13.07 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001542/0.03913, allocations: 2.337 MB / 418 MB, free: 10.72 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009755/0.04011, allocations: 1.433 MB / 419.4 MB, free: 9.285 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003748/0.04386, allocations: 5.348 MB / 424.8 MB, free: 3.918 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.04386, allocations: 0 / 424.8 MB, free: 3.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.04386, allocations: 4 kB / 424.8 MB, free: 3.914 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.634e-05/0.0439, allocations: 0 / 424.8 MB, free: 3.914 MB / 394.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.005824/0.04972, allocations: 5.856 MB / 430.6 MB, free: 13.99 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.04976, allocations: 8.031 kB / 430.6 MB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006834/0.05659, allocations: 2.191 MB / 432.8 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.05906, allocations: 2.395 MB / 435.2 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.05919, allocations: 258.8 kB / 435.5 MB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00041/0.0596, allocations: 344.3 kB / 435.8 MB, free: 8.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006728/0.06632, allocations: 6.669 MB / 442.5 MB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.962e-05/0.0664, allocations: 55.52 kB / 442.5 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002674/0.06667, allocations: 171.8 kB / 442.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.1539/0.2206, allocations: 2.083 MB / 444.8 MB, free: 91.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008062/0.2286, allocations: 3.139 MB / 447.9 MB, free: 91.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/0.2539, allocations: 50.96 MB / 498.9 MB, free: 51.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005219/0.2591, allocations: 2.63 MB / 0.4898 GB, free: 51.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006722/0.2598, allocations: 0.6691 MB / 0.4904 GB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006242/0.2661, allocations: 6.31 MB / 0.4966 GB, free: 47.64 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.2661, allocations: 58.89 kB / 0.4966 GB, free: 47.58 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 2.986e-06/0.2661, allocations: 0 / 0.4966 GB, free: 47.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.04122/0.3073, allocations: 18.07 MB / 0.5143 GB, free: 42.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/0.3074, allocations: 203.2 kB / 0.5145 GB, free: 41.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003767/0.3111, allocations: 3.845 MB / 0.5182 GB, free: 38.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.3113, allocations: 57.7 kB / 0.5183 GB, free: 38.86 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001206/0.3125, allocations: 3.837 MB / 0.522 GB, free: 35.18 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004521/0.3129, allocations: 0.853 MB / 0.5229 GB, free: 34.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.314, allocations: 1.487 MB / 0.5243 GB, free: 32.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.042e-05/0.314, allocations: 476.8 kB / 0.5248 GB, free: 32.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.3151, allocations: 0.7941 MB / 0.5255 GB, free: 31.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0025/0.3176, allocations: 6.971 MB / 0.5323 GB, free: 21.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004184/0.3218, allocations: 8.419 MB / 0.5406 GB, free: 10.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-05/0.3219, allocations: 40 kB / 0.5406 GB, free: 10.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.009081/0.331, allocations: 6.641 MB / 0.5471 GB, free: 3.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.331, allocations: 68 kB / 0.5472 GB, free: 3.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.626e-05/0.3311, allocations: 144 kB / 0.5473 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004202/0.3353, allocations: 1.773 MB / 0.549 GB, free: 1.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00206/0.3374, allocations: 1.478 MB / 0.5505 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007158/0.3445, allocations: 5.471 MB / 0.5558 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/0.347, allocations: 299.7 kB / 0.5561 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/0.3474, allocations: 352 kB / 0.5564 GB, free: 10.25 MB / 426.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.001152/0.3485, allocations: 0.7189 MB / 0.5571 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004739/0.349, allocations: 425.6 kB / 0.5575 GB, free: 9.102 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004811/0.3538, allocations: 2.588 MB / 0.5601 GB, free: 6.496 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.728e-05/0.3538, allocations: 20 kB / 0.5601 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.3538, allocations: 15.98 kB / 0.5601 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.3539, allocations: 7.969 kB / 0.5601 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01139/0.3652, allocations: 7.577 MB / 0.5675 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.3652, allocations: 4 kB / 0.5675 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005816/0.3658, allocations: 239.6 kB / 0.5677 GB, free: 14.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00425/0.3701, allocations: 1.54 MB / 0.5692 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.3702, allocations: 35.98 kB / 0.5693 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/0.3764, allocations: 4.446 MB / 0.5736 GB, free: 8.402 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.159e-06/0.3764, allocations: 4 kB / 0.5736 GB, free: 8.398 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006308/0.3827, allocations: 3.681 MB / 0.5772 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/0.3833, allocations: 357.3 kB / 0.5776 GB, free: 4.316 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000271/0.3836, allocations: 32 kB / 0.5776 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/0.3844, allocations: 39.98 kB / 0.5776 GB, free: 4.246 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002319/0.3846, allocations: 132.9 kB / 0.5778 GB, free: 4.113 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.63e-05/0.3847, allocations: 40 kB / 0.5778 GB, free: 4.074 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.3863, allocations: 1.547 MB / 0.5793 GB, free: 2.547 MB / 442.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3863, allocations: 0 / 0.5793 GB, free: 2.547 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004012/0.3903, allocations: 1.391 MB / 0.5807 GB, free: 1.156 MB / 442.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.0003709/0.3907, allocations: 182.8 kB / 0.5808 GB, free: 0.9688 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004247/0.3949, allocations: 3.536 MB / 0.5843 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.3949, allocations: 1.562 kB / 0.5843 GB, free: 13.44 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.3961, allocations: 1.064 MB / 0.5853 GB, free: 12.36 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3975, allocations: 448.8 kB / 0.5858 GB, free: 11.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/0.4109, allocations: 8.612 MB / 0.5942 GB, free: 3.199 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001563/0.4124, allocations: 1.412 MB / 0.5956 GB, free: 1.758 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001618/0.414, allocations: 0.5305 MB / 0.5961 GB, free: 1.227 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.4152, allocations: 0.6348 MB / 0.5967 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of SimCode: time 8.51e-07/0.4152, allocations: 0 / 0.5967 GB, free: 0.5898 MB / 458.7 MB Notification: Performance of Templates: time 0.2125/0.6277, allocations: 53.53 MB / 0.649 GB, free: 109.7 MB / 458.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.7318593305535614]