Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.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.001367/0.001367, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 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.001484/0.001484, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.501/1.501, allocations: 230.3 MB / 258 MB, free: 8.238 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.24/0.24, allocations: 46.93 MB / 361.4 MB, free: 4.488 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-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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2")
translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2") [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.002393/0.002393, allocations: 75.88 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3972, allocations: 66.04 MB / 0.5617 GB, free: 4.531 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01678/0.414, allocations: 13.35 MB / 0.5747 GB, free: 7.125 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01057/0.4245, allocations: 4.899 MB / 0.5795 GB, free: 2.215 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.4261, allocations: 99.5 kB / 0.5796 GB, free: 2.117 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.007463/0.4336, allocations: 4.042 MB / 0.5835 GB, free: 14.06 MB / 430.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005296/0.4389, allocations: 2.237 MB / 0.5857 GB, free: 11.82 MB / 430.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.4414, allocations: 1.174 MB / 0.5869 GB, free: 10.64 MB / 430.1 MB
Notification: Performance of NFFlatten.flatten: time 0.008356/0.4497, allocations: 5.834 MB / 0.5925 GB, free: 4.797 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.00533/0.4551, allocations: 3.745 MB / 0.5962 GB, free: 0.9883 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0045/0.4596, allocations: 2.204 MB / 0.5984 GB, free: 14.78 MB / 446.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005714/0.4653, allocations: 3.182 MB / 0.6015 GB, free: 11.59 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001296/0.4666, allocations: 0.5 MB / 0.602 GB, free: 11.09 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003933/0.4705, allocations: 1.693 MB / 0.6036 GB, free: 9.391 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003422/0.4739, allocations: 2.719 MB / 0.6063 GB, free: 6.664 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.003919/0.4778, allocations: 2.995 MB / 0.6092 GB, free: 3.652 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01546/0.4933, allocations: 9.931 MB / 0.6189 GB, free: 9.68 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 1.321e-05/0.4933, allocations: 0 / 0.6189 GB, free: 9.68 MB / 462.1 MB
Notification: Performance of FrontEnd: time 3.306e-06/0.4933, allocations: 4 kB / 0.6189 GB, free: 9.676 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0004921/0.4938, allocations: 0 / 0.6189 GB, free: 9.676 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1932
 * Number of variables: 1932
Notification: Performance of Generate backend data structure: time 0.0215/0.5153, allocations: 6.582 MB / 0.6253 GB, free: 3.023 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.5154, allocations: 8.031 kB / 0.6253 GB, free: 3.016 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01692/0.5323, allocations: 2.743 MB / 0.628 GB, free: 272 kB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01091/0.5432, allocations: 3.575 MB / 0.6315 GB, free: 12.63 MB / 478.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004812/0.5437, allocations: 362.2 kB / 0.6318 GB, free: 12.27 MB / 478.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002256/0.5459, allocations: 423.8 kB / 0.6322 GB, free: 11.86 MB / 478.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.03155/0.5775, allocations: 13.85 MB / 0.6458 GB, free: 13.14 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.5777, allocations: 47.58 kB / 0.6458 GB, free: 13.1 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007405/0.5784, allocations: 207.8 kB / 0.646 GB, free: 12.89 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004068/0.5825, allocations: 2.41 MB / 0.6484 GB, free: 10.48 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02732/0.6098, allocations: 11.77 MB / 0.6599 GB, free: 14.7 MB / 0.4981 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07939/0.6892, allocations: 51.45 MB / 0.7101 GB, free: 9.762 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01378/0.703, allocations: 4.119 MB / 0.7141 GB, free: 5.598 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004976/0.708, allocations: 2.757 MB / 0.7168 GB, free: 2.816 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.02152/0.7295, allocations: 10.81 MB / 0.7274 GB, free: 7.961 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.7295, allocations: 59.8 kB / 0.7274 GB, free: 7.895 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=197): time 4.569e-06/0.7296, allocations: 0 / 0.7274 GB, free: 7.895 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=248): time 0.4005/1.13, allocations: 43.2 MB / 0.7696 GB, free: 134.8 MB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/1.13, allocations: 231.6 kB / 0.7698 GB, free: 134.5 MB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005769/1.136, allocations: 4.777 MB / 0.7745 GB, free: 129.8 MB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006107/1.137, allocations: 65.7 kB / 0.7746 GB, free: 129.7 MB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001693/1.138, allocations: 3.988 MB / 0.7785 GB, free: 126.1 MB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001021/1.139, allocations: 0.9772 MB / 0.7794 GB, free: 125.2 MB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001755/1.141, allocations: 1.52 MB / 0.7809 GB, free: 123.7 MB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 4.1e-05/1.141, allocations: 305.2 kB / 0.7812 GB, free: 123.4 MB / 0.5606 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003979/1.145, allocations: 3.45 MB / 0.7846 GB, free: 119.9 MB / 0.5606 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005865/1.151, allocations: 7.707 MB / 0.7921 GB, free: 110.1 MB / 0.5606 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/1.162, allocations: 11.87 MB / 0.8037 GB, free: 96.16 MB / 0.5606 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/1.162, allocations: 44 kB / 0.8037 GB, free: 96.11 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=967) (initialization): time 0.02737/1.189, allocations: 14.47 MB / 0.8179 GB, free: 81.62 MB / 0.5606 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.189, allocations: 76.23 kB / 0.8179 GB, free: 81.55 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001519/1.189, allocations: 148 kB / 0.8181 GB, free: 81.41 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01149/1.201, allocations: 4.012 MB / 0.822 GB, free: 77.38 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005295/1.206, allocations: 1.643 MB / 0.8236 GB, free: 75.74 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02349/1.23, allocations: 19.75 MB / 0.8429 GB, free: 55.88 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005743/1.235, allocations: 459.4 kB / 0.8433 GB, free: 55.43 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008188/1.236, allocations: 436 kB / 0.8437 GB, free: 55.01 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 679
 * Number of states: 0 ()
 * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (884):
 * Single equations (assignments): 880
 * 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,58,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003365/1.24, allocations: 2.664 MB / 0.8463 GB, free: 52.33 MB / 0.5606 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000757/1.24, allocations: 449 kB / 0.8468 GB, free: 51.89 MB / 0.5606 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01669/1.257, allocations: 8.597 MB / 0.8552 GB, free: 43.27 MB / 0.5606 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.429e-05/1.257, allocations: 26.81 kB / 0.8552 GB, free: 43.25 MB / 0.5606 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.257, allocations: 16 kB / 0.8552 GB, free: 43.23 MB / 0.5606 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.825e-05/1.257, allocations: 11.95 kB / 0.8552 GB, free: 43.22 MB / 0.5606 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03158/1.289, allocations: 17.77 MB / 0.8726 GB, free: 25.44 MB / 0.5606 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.289, allocations: 0 / 0.8726 GB, free: 25.44 MB / 0.5606 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/1.291, allocations: 403.4 kB / 0.873 GB, free: 25.04 MB / 0.5606 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/1.302, allocations: 4.069 MB / 0.8769 GB, free: 20.96 MB / 0.5606 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004237/1.302, allocations: 43.98 kB / 0.877 GB, free: 20.92 MB / 0.5606 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0213/1.323, allocations: 18.12 MB / 0.8947 GB, free: 2.676 MB / 0.5606 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.323, allocations: 8 kB / 0.8947 GB, free: 2.668 MB / 0.5606 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02777/1.351, allocations: 13.23 MB / 0.9076 GB, free: 5.41 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00174/1.353, allocations: 420.8 kB / 0.908 GB, free: 4.996 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001349/1.354, allocations: 36 kB / 0.908 GB, free: 4.961 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003234/1.357, allocations: 215.7 kB / 0.9082 GB, free: 4.75 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008824/1.358, allocations: 154.1 kB / 0.9084 GB, free: 4.602 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002282/1.359, allocations: 72.11 kB / 0.9084 GB, free: 4.535 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 0.005751/1.364, allocations: 2.977 MB / 0.9114 GB, free: 1.562 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1.21e-07/1.364, allocations: 0 / 0.9114 GB, free: 1.562 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.008233/1.373, allocations: 1.469 MB / 0.9128 GB, free: 96 kB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 2 (revolute.phi,revolute.w)
 * 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 (173):
 * Single equations (assignments): 169
 * 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,52,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0009056/1.373, allocations: 214.9 kB / 0.913 GB, free: 15.88 MB / 0.5919 GB
Notification: Performance of simCode: created initialization part: time 0.01548/1.389, allocations: 7.925 MB / 0.9207 GB, free: 7.973 MB / 0.5919 GB
Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.389, allocations: 0 / 0.9207 GB, free: 7.973 MB / 0.5919 GB
Notification: Performance of simCode: created simulation system equations: time 0.005513/1.394, allocations: 2.862 MB / 0.9235 GB, free: 5.094 MB / 0.5919 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/1.398, allocations: 0.5302 MB / 0.924 GB, free: 4.566 MB / 0.5919 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02713/1.425, allocations: 13.14 MB / 0.9369 GB, free: 7.379 MB / 0.6075 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006255/1.432, allocations: 4.102 MB / 0.9409 GB, free: 3.25 MB / 0.6075 GB
Notification: Performance of simCode: alias equations: time 0.005515/1.437, allocations: 2.19 MB / 0.943 GB, free: 1.055 MB / 0.6075 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.438, allocations: 279.4 kB / 0.9433 GB, free: 0.7812 MB / 0.6075 GB
Notification: Performance of SimCode: time 2.375e-06/1.438, allocations: 0 / 0.9433 GB, free: 0.7812 MB / 0.6075 GB
Notification: Performance of Templates: time 0.4541/1.892, allocations: 66.79 MB / 1.009 GB, free: 198.4 MB / 0.6387 GB
"
[Timeout remaining time 658]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.JointUSP2.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.787908958271146]