Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00136/0.00136, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001625/0.001625, allocations: 203.3 kB / 25.13 MB, free: 3.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 230.4 MB / 258.7 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2437/0.2437, allocations: 46.93 MB / 362 MB, free: 4.246 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 83.86 kB / 0.4978 GB, free: 7.395 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3435, allocations: 66.08 MB / 0.5623 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS2): time 0.01463/0.3581, allocations: 11.92 MB / 0.574 GB, free: 8.301 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009226/0.3673, allocations: 4.416 MB / 0.5783 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.3689, allocations: 87.56 kB / 0.5784 GB, free: 3.793 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00536/0.3742, allocations: 2.791 MB / 0.5811 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.3796, allocations: 2.074 MB / 0.5831 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002301/0.3819, allocations: 1.002 MB / 0.5841 GB, free: 13.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008093/0.39, allocations: 5.384 MB / 0.5894 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004374/0.3943, allocations: 2.888 MB / 0.5922 GB, free: 5.566 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002966/0.3973, allocations: 1.776 MB / 0.5939 GB, free: 3.785 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004221/0.4015, allocations: 2.644 MB / 0.5965 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009941/0.4025, allocations: 368 kB / 0.5968 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002846/0.4054, allocations: 1.311 MB / 0.5981 GB, free: 15.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002715/0.4081, allocations: 2.24 MB / 0.6003 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003848/0.4119, allocations: 2.481 MB / 0.6027 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01165/0.4236, allocations: 8.072 MB / 0.6106 GB, free: 2.617 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.4236, allocations: 4 kB / 0.6106 GB, free: 2.613 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4236, allocations: 0 / 0.6106 GB, free: 2.613 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002688/0.4239, allocations: 0 / 0.6106 GB, free: 2.613 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.01494/0.4388, allocations: 5.798 MB / 0.6163 GB, free: 12.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.4388, allocations: 12.03 kB / 0.6163 GB, free: 12.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01546/0.4543, allocations: 2.622 MB / 0.6189 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007724/0.462, allocations: 3.084 MB / 0.6219 GB, free: 6.973 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002472/0.4623, allocations: 262.8 kB / 0.6221 GB, free: 6.715 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0012/0.4635, allocations: 343.9 kB / 0.6224 GB, free: 6.379 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02341/0.4869, allocations: 12.46 MB / 0.6346 GB, free: 9.082 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001563/0.487, allocations: 55.53 kB / 0.6347 GB, free: 9.027 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005355/0.4876, allocations: 171.8 kB / 0.6348 GB, free: 8.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003976/0.4916, allocations: 2.377 MB / 0.6372 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.024/0.5155, allocations: 10.83 MB / 0.6477 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07249/0.588, allocations: 48.42 MB / 0.695 GB, free: 9.828 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/0.6041, allocations: 5.355 MB / 0.7002 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00472/0.6088, allocations: 3.012 MB / 0.7032 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/0.6301, allocations: 12.38 MB / 0.7153 GB, free: 4.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.6301, allocations: 51.88 kB / 0.7153 GB, free: 4.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=204): time 6.102e-06/0.6301, allocations: 0 / 0.7153 GB, free: 4.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=265): time 0.4158/1.046, allocations: 36.19 MB / 0.7507 GB, free: 152.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/1.046, allocations: 217.2 kB / 0.7509 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005101/1.051, allocations: 4.372 MB / 0.7551 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005537/1.052, allocations: 65.11 kB / 0.7552 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/1.053, allocations: 3.509 MB / 0.7586 GB, free: 147.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000955/1.054, allocations: 1.027 MB / 0.7596 GB, free: 147 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001585/1.056, allocations: 1.436 MB / 0.761 GB, free: 145.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/1.056, allocations: 301.1 kB / 0.7613 GB, free: 145.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003746/1.06, allocations: 3.283 MB / 0.7645 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005051/1.065, allocations: 7.256 MB / 0.7716 GB, free: 133.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01026/1.075, allocations: 11.24 MB / 0.7826 GB, free: 120.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001031/1.075, allocations: 40 kB / 0.7826 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of matching and sorting (n=919) (initialization): time 0.02299/1.098, allocations: 13.27 MB / 0.7956 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.832e-05/1.098, allocations: 64 kB / 0.7956 GB, free: 106.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000122/1.098, allocations: 136 kB / 0.7958 GB, free: 106.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009426/1.108, allocations: 3.393 MB / 0.7991 GB, free: 103.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005326/1.113, allocations: 1.575 MB / 0.8006 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02053/1.133, allocations: 17.44 MB / 0.8177 GB, free: 84.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/1.139, allocations: 431.5 kB / 0.8181 GB, free: 83.71 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001267/1.14, allocations: 411.8 kB / 0.8185 GB, free: 83.32 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 (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.004611/1.145, allocations: 2.352 MB / 0.8208 GB, free: 80.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001221/1.146, allocations: 421.2 kB / 0.8212 GB, free: 80.54 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01431/1.16, allocations: 7.971 MB / 0.8289 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.317e-05/1.161, allocations: 34.09 kB / 0.829 GB, free: 72.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.673e-05/1.161, allocations: 12 kB / 0.829 GB, free: 72.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.572e-05/1.161, allocations: 11.95 kB / 0.829 GB, free: 72.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02568/1.186, allocations: 15.32 MB / 0.844 GB, free: 57.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-05/1.186, allocations: 7 kB / 0.844 GB, free: 57.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002/1.188, allocations: 387.4 kB / 0.8443 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008473/1.197, allocations: 3.161 MB / 0.8474 GB, free: 53.62 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005737/1.197, allocations: 43.44 kB / 0.8475 GB, free: 53.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01951/1.217, allocations: 15.71 MB / 0.8628 GB, free: 37.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.217, allocations: 0 / 0.8628 GB, free: 37.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02041/1.237, allocations: 12.13 MB / 0.8746 GB, free: 25.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001254/1.239, allocations: 401 kB / 0.875 GB, free: 25.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001221/1.24, allocations: 40 kB / 0.8751 GB, free: 25.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002669/1.242, allocations: 191.7 kB / 0.8753 GB, free: 24.93 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007616/1.243, allocations: 162.4 kB / 0.8754 GB, free: 24.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003149/1.243, allocations: 63.98 kB / 0.8755 GB, free: 24.7 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004298/1.248, allocations: 2.729 MB / 0.8781 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.21e-07/1.248, allocations: 0 / 0.8781 GB, free: 21.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006401/1.254, allocations: 1.352 MB / 0.8795 GB, free: 20.62 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.0007363/1.255, allocations: 182.1 kB / 0.8796 GB, free: 20.43 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01142/1.266, allocations: 7.842 MB / 0.8873 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.266, allocations: 4 kB / 0.8873 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004777/1.271, allocations: 3.068 MB / 0.8903 GB, free: 9.523 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003714/1.275, allocations: 498.7 kB / 0.8908 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/1.296, allocations: 12.12 MB / 0.9026 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005909/1.302, allocations: 3.67 MB / 0.9062 GB, free: 9.176 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006235/1.308, allocations: 2.18 MB / 0.9083 GB, free: 6.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/1.31, allocations: 283.4 kB / 0.9086 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of SimCode: time 1.643e-06/1.31, allocations: 0 / 0.9086 GB, free: 6.711 MB / 0.5762 GB Notification: Performance of Templates: time 0.1152/1.425, allocations: 62.57 MB / 0.9697 GB, free: 8.453 MB / 0.6387 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUPS2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUPS2/JointUPS2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.548078157939017]