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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 107.2 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00223/0.00223, allocations: 192.4 kB / 22.98 MB, free: 5.062 MB / 14.72 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.803/1.803, allocations: 207.6 MB / 233.7 MB, free: 10 MB / 190.1 MB " [Timeout remaining time 178] 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.2439/0.2439, allocations: 44.23 MB / 330.2 MB, free: 9.547 MB / 270.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002353/0.002353, allocations: 79.89 kB / 468 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1506, allocations: 61.03 MB / 0.5166 GB, free: 6.848 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01687/0.1675, allocations: 12.1 MB / 0.5284 GB, free: 10.69 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01182/0.1793, allocations: 4.423 MB / 0.5327 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.1822, allocations: 87.56 kB / 0.5328 GB, free: 6.168 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006372/0.1886, allocations: 2.815 MB / 0.5356 GB, free: 3.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006775/0.1954, allocations: 2.093 MB / 0.5376 GB, free: 1.242 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.1983, allocations: 1.018 MB / 0.5386 GB, free: 228 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.2947/0.493, allocations: 5.139 MB / 0.5436 GB, free: 10.8 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004427/0.4974, allocations: 2.624 MB / 0.5462 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.5015, allocations: 1.794 MB / 0.5479 GB, free: 10.48 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005925/0.5074, allocations: 2.662 MB / 0.5505 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001946/0.5094, allocations: 369.1 kB / 0.5509 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004623/0.514, allocations: 1.456 MB / 0.5523 GB, free: 10.22 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005326/0.5193, allocations: 2.272 MB / 0.5545 GB, free: 9.656 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007308/0.5266, allocations: 2.502 MB / 0.557 GB, free: 7.918 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0176/0.5442, allocations: 8.114 MB / 0.5649 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.5443, allocations: 0 / 0.5649 GB, free: 5.074 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5443, allocations: 0 / 0.5649 GB, free: 5.074 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000406/0.5447, allocations: 1.312 kB / 0.5649 GB, free: 5.074 MB / 414.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.02199/0.5666, allocations: 5.825 MB / 0.5706 GB, free: 1.207 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.5667, allocations: 9.875 kB / 0.5706 GB, free: 1.207 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01742/0.5841, allocations: 2.633 MB / 0.5732 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01084/0.595, allocations: 3.241 MB / 0.5763 GB, free: 14.14 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.5952, allocations: 262.6 kB / 0.5766 GB, free: 14.06 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001993/0.5972, allocations: 349.2 kB / 0.5769 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02852/0.6257, allocations: 12.37 MB / 0.589 GB, free: 5.457 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000201/0.6259, allocations: 54.91 kB / 0.589 GB, free: 5.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006734/0.6266, allocations: 166 kB / 0.5892 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004228/0.6308, allocations: 2.378 MB / 0.5915 GB, free: 2.961 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02626/0.6571, allocations: 10.84 MB / 0.6021 GB, free: 8.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08042/0.7375, allocations: 48.59 MB / 0.6496 GB, free: 6.699 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01593/0.7534, allocations: 5.352 MB / 0.6548 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004784/0.7582, allocations: 3.014 MB / 0.6577 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02544/0.7837, allocations: 12.39 MB / 0.6698 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.796e-05/0.7837, allocations: 71.73 kB / 0.6699 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=204): time 4.428e-06/0.7837, allocations: 0 / 0.6699 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of matching and sorting (n=265): time 0.1136/0.8973, allocations: 36.1 MB / 0.7051 GB, free: 13.76 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001831/0.8975, allocations: 209.9 kB / 0.7053 GB, free: 13.51 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007912/0.9054, allocations: 4.402 MB / 0.7096 GB, free: 9.086 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0009512/0.9064, allocations: 65.7 kB / 0.7097 GB, free: 9.016 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003185/0.9096, allocations: 3.512 MB / 0.7131 GB, free: 5.523 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/0.9115, allocations: 1.025 MB / 0.7141 GB, free: 4.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002649/0.9142, allocations: 1.437 MB / 0.7155 GB, free: 3.066 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.9143, allocations: 305.1 kB / 0.7158 GB, free: 2.766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005559/0.9199, allocations: 3.282 MB / 0.719 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009996/0.9299, allocations: 7.206 MB / 0.7261 GB, free: 6.367 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/0.9454, allocations: 11.23 MB / 0.737 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.314e-05/0.9455, allocations: 40 kB / 0.7371 GB, free: 9.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.03001/0.9755, allocations: 13.27 MB / 0.75 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.9756, allocations: 67.94 kB / 0.7501 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001872/0.9758, allocations: 136 kB / 0.7502 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/0.9873, allocations: 3.401 MB / 0.7536 GB, free: 8.328 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006625/0.9939, allocations: 1.575 MB / 0.7551 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3155/1.309, allocations: 17.44 MB / 0.7721 GB, free: 187.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008159/1.318, allocations: 434.1 kB / 0.7725 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002164/1.32, allocations: 418.7 kB / 0.7729 GB, free: 187.6 MB / 0.5919 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 (841): * Single equations (assignments): 837 * 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,50,60.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006882/1.327, allocations: 2.344 MB / 0.7752 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001216/1.328, allocations: 425.6 kB / 0.7756 GB, free: 186.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.346, allocations: 7.966 MB / 0.7834 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.982e-05/1.346, allocations: 31.5 kB / 0.7834 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-05/1.346, allocations: 11.19 kB / 0.7834 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.169e-05/1.346, allocations: 15.23 kB / 0.7835 GB, free: 184.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03165/1.378, allocations: 15.33 MB / 0.7984 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.601e-05/1.378, allocations: 0 / 0.7984 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002236/1.38, allocations: 384.5 kB / 0.7988 GB, free: 179 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009241/1.39, allocations: 3.167 MB / 0.8019 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008736/1.39, allocations: 46.66 kB / 0.8019 GB, free: 178.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02012/1.411, allocations: 15.72 MB / 0.8173 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.411, allocations: 4 kB / 0.8173 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/1.43, allocations: 12.13 MB / 0.8291 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003452/1.433, allocations: 0.8928 MB / 0.83 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.435, allocations: 43.94 kB / 0.83 GB, free: 156.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00287/1.438, allocations: 191.7 kB / 0.8302 GB, free: 156.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006182/1.438, allocations: 161.1 kB / 0.8304 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002067/1.438, allocations: 72.09 kB / 0.8305 GB, free: 156.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.004267/1.443, allocations: 2.749 MB / 0.8331 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.443, allocations: 0 / 0.8331 GB, free: 153.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009367/1.452, allocations: 1.367 MB / 0.8345 GB, free: 152.4 MB / 0.5919 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.001002/1.453, allocations: 177.4 kB / 0.8346 GB, free: 152.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01244/1.466, allocations: 7.848 MB / 0.8423 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/1.466, allocations: 4 kB / 0.8423 GB, free: 144.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004722/1.47, allocations: 3.064 MB / 0.8453 GB, free: 141.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004224/1.475, allocations: 0.4911 MB / 0.8458 GB, free: 141 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0205/1.495, allocations: 12.16 MB / 0.8577 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004042/1.499, allocations: 3.675 MB / 0.8612 GB, free: 125.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.004836/1.504, allocations: 2.18 MB / 0.8634 GB, free: 122.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.505, allocations: 283.4 kB / 0.8636 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/1.505, allocations: 0 / 0.8636 GB, free: 122.6 MB / 0.5919 GB Notification: Performance of Templates: time 0.0987/1.604, allocations: 62.79 MB / 0.925 GB, free: 60.02 MB / 0.5919 GB " [Timeout remaining time 658] 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 8.961319674737751]