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.001406/0.001406, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001521/0.001521, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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.255/0.255, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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 0.002081/0.002081, allocations: 67.91 kB / 0.4966 GB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3358/0.3378, allocations: 66.04 MB / 0.5611 GB, free: 4.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01344/0.3513, allocations: 10.45 MB / 0.5713 GB, free: 9.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009054/0.3603, allocations: 4.179 MB / 0.5754 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.3617, allocations: 87.56 kB / 0.5755 GB, free: 5.422 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005179/0.3669, allocations: 2.69 MB / 0.5781 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005303/0.3722, allocations: 2.066 MB / 0.5801 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3745, allocations: 1.006 MB / 0.5811 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.007639/0.3821, allocations: 5.373 MB / 0.5863 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00383/0.3859, allocations: 2.876 MB / 0.5891 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002683/0.3886, allocations: 1.779 MB / 0.5909 GB, free: 5.543 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003715/0.3923, allocations: 2.511 MB / 0.5933 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007535/0.3931, allocations: 368 kB / 0.5937 GB, free: 2.664 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.3956, allocations: 1.295 MB / 0.5949 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002237/0.3978, allocations: 2.24 MB / 0.5971 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002182/0.4, allocations: 1.836 MB / 0.5989 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009011/0.409, allocations: 8.074 MB / 0.6068 GB, free: 5.168 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.409, allocations: 0 / 0.6068 GB, free: 5.168 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.409, allocations: 0 / 0.6068 GB, free: 5.168 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001428/0.4092, allocations: 4 kB / 0.6068 GB, free: 5.164 MB / 446.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.0127/0.4219, allocations: 5.802 MB / 0.6125 GB, free: 15.3 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.4219, allocations: 8.031 kB / 0.6125 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01745/0.4394, allocations: 2.622 MB / 0.6151 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008685/0.4481, allocations: 3.096 MB / 0.6181 GB, free: 9.512 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002594/0.4483, allocations: 262.8 kB / 0.6183 GB, free: 9.254 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001061/0.4494, allocations: 343.9 kB / 0.6187 GB, free: 8.918 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02348/0.4729, allocations: 12.47 MB / 0.6308 GB, free: 11.61 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001586/0.473, allocations: 51.53 kB / 0.6309 GB, free: 11.56 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004669/0.4735, allocations: 167.8 kB / 0.631 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004104/0.4776, allocations: 2.377 MB / 0.6334 GB, free: 9.016 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02435/0.5019, allocations: 10.81 MB / 0.6439 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06552/0.5675, allocations: 45.34 MB / 0.6882 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01613/0.5836, allocations: 5.348 MB / 0.6934 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004403/0.588, allocations: 3.012 MB / 0.6964 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02232/0.6103, allocations: 11.69 MB / 0.7078 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.6104, allocations: 59.86 kB / 0.7078 GB, free: 11.41 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 5.671e-06/0.6104, allocations: 0 / 0.7078 GB, free: 11.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4282/1.039, allocations: 36.15 MB / 0.7431 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.301e-05/1.039, allocations: 215.8 kB / 0.7433 GB, free: 153.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005348/1.044, allocations: 4.053 MB / 0.7473 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006472/1.045, allocations: 61.42 kB / 0.7474 GB, free: 152.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001993/1.047, allocations: 3.539 MB / 0.7508 GB, free: 149.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001105/1.048, allocations: 1.028 MB / 0.7518 GB, free: 149 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/1.05, allocations: 1.431 MB / 0.7532 GB, free: 148.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.734e-05/1.05, allocations: 301.1 kB / 0.7535 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/1.053, allocations: 3.278 MB / 0.7567 GB, free: 146.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005707/1.059, allocations: 7.248 MB / 0.7638 GB, free: 139.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01078/1.07, allocations: 11.23 MB / 0.7748 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001291/1.07, allocations: 38.72 kB / 0.7748 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=917) (initialization): time 0.02471/1.095, allocations: 13.2 MB / 0.7877 GB, free: 113.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.52e-05/1.095, allocations: 68.22 kB / 0.7877 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/1.095, allocations: 136 kB / 0.7879 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009166/1.104, allocations: 3.396 MB / 0.7912 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005561/1.11, allocations: 1.567 MB / 0.7927 GB, free: 108.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/1.131, allocations: 16.89 MB / 0.8092 GB, free: 91.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007131/1.138, allocations: 431.5 kB / 0.8096 GB, free: 91.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.14, allocations: 412 kB / 0.81 GB, free: 90.67 MB / 0.5606 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.005361/1.145, allocations: 2.348 MB / 0.8123 GB, free: 88.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001444/1.146, allocations: 381.5 kB / 0.8127 GB, free: 87.94 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01507/1.162, allocations: 7.919 MB / 0.8204 GB, free: 80 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.712e-05/1.162, allocations: 28 kB / 0.8204 GB, free: 79.97 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.313e-05/1.162, allocations: 12 kB / 0.8205 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.826e-05/1.162, allocations: 15.95 kB / 0.8205 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02865/1.19, allocations: 13.86 MB / 0.834 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.58e-05/1.19, allocations: 4 kB / 0.834 GB, free: 66.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002174/1.193, allocations: 379.4 kB / 0.8344 GB, free: 65.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008751/1.201, allocations: 3.165 MB / 0.8375 GB, free: 62.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005545/1.202, allocations: 44.67 kB / 0.8375 GB, free: 62.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01855/1.22, allocations: 15.5 MB / 0.8526 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.22, allocations: 0 / 0.8526 GB, free: 46.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/1.239, allocations: 12.09 MB / 0.8644 GB, free: 34.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.241, allocations: 341.4 kB / 0.8648 GB, free: 34.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008913/1.241, allocations: 44.47 kB / 0.8648 GB, free: 34.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002305/1.244, allocations: 191.7 kB / 0.865 GB, free: 34.21 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006523/1.244, allocations: 166 kB / 0.8652 GB, free: 34.05 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.245, allocations: 64 kB / 0.8652 GB, free: 33.98 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003124/1.248, allocations: 2.341 MB / 0.8675 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/1.248, allocations: 3.938 kB / 0.8675 GB, free: 31.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007269/1.255, allocations: 1.343 MB / 0.8688 GB, free: 30.32 MB / 0.5606 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.0007042/1.256, allocations: 182.8 kB / 0.869 GB, free: 30.13 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.267, allocations: 7.679 MB / 0.8765 GB, free: 22.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.267, allocations: 4 kB / 0.8765 GB, free: 22.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004638/1.272, allocations: 3.063 MB / 0.8795 GB, free: 19.39 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/1.275, allocations: 444.4 kB / 0.8799 GB, free: 18.96 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01921/1.294, allocations: 12.05 MB / 0.8917 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003886/1.298, allocations: 3.138 MB / 0.8947 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004547/1.302, allocations: 2.131 MB / 0.8968 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/1.303, allocations: 263.3 kB / 0.8971 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of SimCode: time 1.163e-06/1.303, allocations: 0 / 0.8971 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of Templates: time 0.1135/1.417, allocations: 58.98 MB / 0.9547 GB, free: 6.812 MB / 0.6231 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 8.221003398299217]