Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009579/0.0009579, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0008865/0.0008865, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.008/1.008, allocations: 177.2 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 34.26 MB / 295.7 MB, free: 0.7031 MB / 266.7 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.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.1.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.1.0_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 378 MB, free: 2.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.741e-05/1.882e-05, allocations: 6.25 kB / 378.1 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.009718/0.009737, allocations: 11.56 MB / 389.6 MB, free: 7.035 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00736/0.0171, allocations: 4.305 MB / 393.9 MB, free: 2.715 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.01829, allocations: 79.62 kB / 394 MB, free: 2.637 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003365/0.02166, allocations: 2.967 MB / 397 MB, free: 15.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.02498, allocations: 2.154 MB / 399.1 MB, free: 13.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001436/0.02642, allocations: 1.115 MB / 400.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005083/0.0315, allocations: 6.108 MB / 406.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003306/0.0348, allocations: 3.498 MB / 409.8 MB, free: 2.715 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003246/0.03805, allocations: 3.286 MB / 413.1 MB, free: 15.42 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/0.0407, allocations: 2.728 MB / 415.9 MB, free: 12.69 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005535/0.04125, allocations: 368 kB / 416.2 MB, free: 12.33 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001774/0.04303, allocations: 1.353 MB / 417.6 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001538/0.04457, allocations: 2.341 MB / 419.9 MB, free: 8.625 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001676/0.04624, allocations: 1.433 MB / 421.3 MB, free: 7.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004917/0.05116, allocations: 5.344 MB / 426.7 MB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.05117, allocations: 0 / 426.7 MB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.05117, allocations: 0 / 426.7 MB, free: 1.824 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002244/0.05139, allocations: 0 / 426.7 MB, free: 1.824 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.00768/0.05907, allocations: 6.254 MB / 432.9 MB, free: 11.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.576e-05/0.05913, allocations: 11.97 kB / 433 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00827/0.0674, allocations: 3.111 MB / 436.1 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003159/0.07056, allocations: 2.68 MB / 438.7 MB, free: 5.637 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000139/0.07069, allocations: 254.8 kB / 439 MB, free: 5.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004335/0.07113, allocations: 352.3 kB / 439.3 MB, free: 5.043 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1649/0.236, allocations: 7.612 MB / 446.9 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001446/0.2361, allocations: 55.98 kB / 447 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003233/0.2364, allocations: 165.7 kB / 447.2 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001775/0.2382, allocations: 2.263 MB / 449.4 MB, free: 87.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008973/0.2472, allocations: 4.224 MB / 453.7 MB, free: 87.46 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02712/0.2743, allocations: 51.67 MB / 0.4935 GB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006677/0.281, allocations: 3.122 MB / 0.4965 GB, free: 46.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001146/0.2821, allocations: 0.8008 MB / 0.4973 GB, free: 46.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008164/0.2903, allocations: 6.803 MB / 0.504 GB, free: 42.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.763e-05/0.2903, allocations: 55.41 kB / 0.504 GB, free: 42.47 MB / 410.7 MB Notification: Performance of pre-optimization done (n=165): time 4.088e-06/0.2903, allocations: 0 / 0.504 GB, free: 42.47 MB / 410.7 MB Notification: Performance of matching and sorting (n=203): time 0.05326/0.3436, allocations: 28.66 MB / 0.532 GB, free: 24.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.3437, allocations: 201.2 kB / 0.5322 GB, free: 23.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003208/0.3469, allocations: 3.861 MB / 0.5359 GB, free: 20.11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.347, allocations: 53.7 kB / 0.536 GB, free: 20.05 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.3483, allocations: 3.815 MB / 0.5397 GB, free: 16.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005177/0.3488, allocations: 0.8442 MB / 0.5406 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001131/0.3499, allocations: 1.453 MB / 0.542 GB, free: 13.97 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.456e-05/0.35, allocations: 480.8 kB / 0.5424 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.3513, allocations: 0.8918 MB / 0.5433 GB, free: 12.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00268/0.3539, allocations: 7.035 MB / 0.5502 GB, free: 2.781 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006475/0.3604, allocations: 8.699 MB / 0.5587 GB, free: 7.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.294e-05/0.3605, allocations: 40 kB / 0.5587 GB, free: 7.297 MB / 426.7 MB Notification: Performance of matching and sorting (n=891) (initialization): time 0.01235/0.3728, allocations: 8.204 MB / 0.5667 GB, free: 15.08 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.708e-05/0.3729, allocations: 68 kB / 0.5668 GB, free: 15.01 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001237/0.373, allocations: 144 kB / 0.5669 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006004/0.379, allocations: 2.903 MB / 0.5698 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00282/0.3818, allocations: 1.532 MB / 0.5712 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009211/0.3911, allocations: 6.298 MB / 0.5774 GB, free: 4.027 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003701/0.3948, allocations: 0.4954 MB / 0.5779 GB, free: 3.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/0.3952, allocations: 408 kB / 0.5783 GB, free: 3.133 MB / 442.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.001337/0.3965, allocations: 0.7156 MB / 0.579 GB, free: 2.41 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005582/0.3971, allocations: 431.4 kB / 0.5794 GB, free: 1.988 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007236/0.4043, allocations: 3.851 MB / 0.5831 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.4043, allocations: 23.94 kB / 0.5832 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-05/0.4044, allocations: 12 kB / 0.5832 GB, free: 14.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.4044, allocations: 7.969 kB / 0.5832 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01436/0.4187, allocations: 8.94 MB / 0.5919 GB, free: 5.094 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.4187, allocations: 4 kB / 0.5919 GB, free: 5.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007099/0.4194, allocations: 275.6 kB / 0.5922 GB, free: 4.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/0.4248, allocations: 2.404 MB / 0.5945 GB, free: 2.41 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/0.425, allocations: 39.98 kB / 0.5946 GB, free: 2.371 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007391/0.4324, allocations: 5.148 MB / 0.5996 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.4324, allocations: 4 kB / 0.5996 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00814/0.4405, allocations: 4.877 MB / 0.6044 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009948/0.4415, allocations: 365.4 kB / 0.6047 GB, free: 7.816 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.4418, allocations: 39.94 kB / 0.6047 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/0.4428, allocations: 207.3 kB / 0.6049 GB, free: 7.578 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.4431, allocations: 133 kB / 0.6051 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001035/0.4432, allocations: 56 kB / 0.6051 GB, free: 7.391 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001958/0.4452, allocations: 1.661 MB / 0.6067 GB, free: 5.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4452, allocations: 4 kB / 0.6067 GB, free: 5.746 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003895/0.4491, allocations: 1.391 MB / 0.6081 GB, free: 4.355 MB / 474.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.0003886/0.4495, allocations: 178.5 kB / 0.6083 GB, free: 4.176 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00523/0.4547, allocations: 3.871 MB / 0.6121 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.4547, allocations: 3.75 kB / 0.6121 GB, free: 324 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1466/0.6013, allocations: 1.226 MB / 0.6133 GB, free: 139.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002007/0.6033, allocations: 437.4 kB / 0.6137 GB, free: 139.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009498/0.6128, allocations: 8.678 MB / 0.6222 GB, free: 136.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009601/0.6138, allocations: 1.411 MB / 0.6235 GB, free: 136.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002174/0.616, allocations: 1.742 MB / 0.6252 GB, free: 136.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004433/0.6164, allocations: 249.4 kB / 0.6255 GB, free: 136.1 MB / 474.7 MB Notification: Performance of SimCode: time 2.555e-06/0.6164, allocations: 0 / 0.6255 GB, free: 136.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05828/0.6747, allocations: 51.51 MB / 0.6758 GB, free: 114.4 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.783135393168777]