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.001244/0.001244, allocations: 84.92 kB / 20.68 MB, free: 1.035 MB / 14.72 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.00134/0.00134, allocations: 164.5 kB / 23.95 MB, free: 4.168 MB / 14.72 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.418/1.418, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] 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.1942/0.1942, allocations: 32.81 MB / 293.5 MB, free: 36 kB / 270.1 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.282e-06/1.282e-06, allocations: 0 / 440.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.598e-05, allocations: 2.281 kB / 440.1 MB, free: 8.145 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.1963/0.1963, allocations: 10.44 MB / 450.5 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008979/0.2053, allocations: 4.189 MB / 454.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.2076, allocations: 86.66 kB / 454.8 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005961/0.2135, allocations: 2.827 MB / 457.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006159/0.2197, allocations: 2.138 MB / 459.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00248/0.2222, allocations: 1.105 MB / 460.9 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.008537/0.2307, allocations: 6.096 MB / 467 MB, free: 9.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006181/0.2369, allocations: 3.382 MB / 470.4 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004868/0.2418, allocations: 2.696 MB / 473.1 MB, free: 5.383 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004468/0.2462, allocations: 2.741 MB / 475.8 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009785/0.2472, allocations: 375.5 kB / 476.2 MB, free: 3.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002779/0.25, allocations: 1.362 MB / 477.5 MB, free: 3.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00172/0.2517, allocations: 2.337 MB / 479.9 MB, free: 1.961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001823/0.2535, allocations: 1.443 MB / 481.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01074/0.2643, allocations: 8.166 MB / 489.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2643, allocations: 0 / 489.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.2643, allocations: 0 / 489.5 MB, free: 8.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000237/0.2645, allocations: 0 / 489.5 MB, free: 8.586 MB / 382.1 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.01306/0.2776, allocations: 5.849 MB / 495.3 MB, free: 2.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2776, allocations: 12.03 kB / 495.3 MB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01793/0.2956, allocations: 2.738 MB / 498.1 MB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007231/0.3028, allocations: 3.083 MB / 0.4894 GB, free: 12.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.303, allocations: 250.8 kB / 0.4897 GB, free: 12.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001022/0.304, allocations: 348.3 kB / 0.49 GB, free: 12.2 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02284/0.3269, allocations: 12.48 MB / 0.5022 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001459/0.327, allocations: 59.53 kB / 0.5022 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004955/0.3275, allocations: 163.8 kB / 0.5024 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004454/0.332, allocations: 2.381 MB / 0.5047 GB, free: 12.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.3559, allocations: 10.85 MB / 0.5153 GB, free: 1.418 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06874/0.4246, allocations: 45.64 MB / 0.5599 GB, free: 2.562 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01675/0.4414, allocations: 5.526 MB / 0.5653 GB, free: 12.99 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004915/0.4463, allocations: 3.009 MB / 0.5682 GB, free: 9.977 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02216/0.4684, allocations: 11.96 MB / 0.5799 GB, free: 13.97 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.724e-05/0.4685, allocations: 51.88 kB / 0.5799 GB, free: 13.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=204): time 5.019e-06/0.4685, allocations: 0 / 0.5799 GB, free: 13.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=265): time 0.1144/0.5829, allocations: 37.24 MB / 0.6163 GB, free: 8.602 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001586/0.5831, allocations: 209.9 kB / 0.6165 GB, free: 8.355 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006816/0.5899, allocations: 4.212 MB / 0.6206 GB, free: 4.152 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004699/0.5904, allocations: 61.7 kB / 0.6207 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002863/0.5932, allocations: 3.501 MB / 0.6241 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.5946, allocations: 1.019 MB / 0.6251 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002649/0.5973, allocations: 1.402 MB / 0.6265 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.5974, allocations: 301.1 kB / 0.6268 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005426/0.6028, allocations: 3.285 MB / 0.63 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009588/0.6124, allocations: 7.27 MB / 0.6371 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2034/0.8158, allocations: 11.23 MB / 0.648 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/0.8159, allocations: 38.53 kB / 0.6481 GB, free: 160.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02827/0.8442, allocations: 13.22 MB / 0.661 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.8443, allocations: 62.88 kB / 0.661 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/0.8445, allocations: 136.6 kB / 0.6612 GB, free: 156.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009375/0.8539, allocations: 3.399 MB / 0.6645 GB, free: 156 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/0.8589, allocations: 1.579 MB / 0.666 GB, free: 155.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01901/0.8779, allocations: 16.92 MB / 0.6826 GB, free: 147.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005456/0.8834, allocations: 0.5069 MB / 0.6831 GB, free: 146.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001006/0.8844, allocations: 415.2 kB / 0.6834 GB, free: 146.3 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * 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 (839): * Single equations (assignments): 835 * 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 {(4,51,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003499/0.8879, allocations: 2.341 MB / 0.6857 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008507/0.8887, allocations: 378.9 kB / 0.6861 GB, free: 144.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0136/0.9023, allocations: 7.925 MB / 0.6938 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-05/0.9024, allocations: 28 kB / 0.6939 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/0.9024, allocations: 15.94 kB / 0.6939 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.21e-05/0.9024, allocations: 18.95 kB / 0.6939 GB, free: 136.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02302/0.9254, allocations: 13.96 MB / 0.7075 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.56e-05/0.9254, allocations: 0 / 0.7075 GB, free: 122.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/0.9272, allocations: 383.4 kB / 0.7079 GB, free: 121.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00848/0.9357, allocations: 3.163 MB / 0.711 GB, free: 118.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003016/0.936, allocations: 47.98 kB / 0.711 GB, free: 118.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01789/0.9539, allocations: 15.52 MB / 0.7262 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.9539, allocations: 4 kB / 0.7262 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01859/0.9725, allocations: 12.09 MB / 0.738 GB, free: 91.2 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000971/0.9735, allocations: 383.4 kB / 0.7384 GB, free: 90.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/0.9744, allocations: 40 kB / 0.7384 GB, free: 90.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002846/0.9773, allocations: 263.5 kB / 0.7386 GB, free: 90.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006982/0.9779, allocations: 160 kB / 0.7388 GB, free: 90.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002806/0.9782, allocations: 67.98 kB / 0.7389 GB, free: 90.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003524/0.9818, allocations: 2.47 MB / 0.7413 GB, free: 87.87 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9818, allocations: 0 / 0.7413 GB, free: 87.87 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.00549/0.9872, allocations: 1.479 MB / 0.7427 GB, free: 86.4 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (197): * Single equations (assignments): 193 * 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 {(5,44,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006316/0.9879, allocations: 195.2 kB / 0.7429 GB, free: 86.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.009852/0.9977, allocations: 7.695 MB / 0.7504 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9977, allocations: 4.125 kB / 0.7504 GB, free: 78.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004218/1.002, allocations: 3.055 MB / 0.7534 GB, free: 75.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003114/1.005, allocations: 454.6 kB / 0.7538 GB, free: 75.04 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01789/1.023, allocations: 11.99 MB / 0.7656 GB, free: 63.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.026, allocations: 3.142 MB / 0.7686 GB, free: 59.85 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003857/1.03, allocations: 2.142 MB / 0.7707 GB, free: 57.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009426/1.031, allocations: 264.4 kB / 0.771 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of SimCode: time 1.102e-06/1.031, allocations: 0 / 0.771 GB, free: 57.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.0757/1.106, allocations: 56 MB / 0.8257 GB, free: 1.93 MB / 0.5294 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUPS2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.194322895258665]