Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009794/0.0009792, allocations: 97.22 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 176.3 kB / 16.57 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.4 MB / 222.7 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3257/0.3257, allocations: 43.54 MB / 314.5 MB, free: 8.75 MB / 254.1 MB 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.0005801/0.0005802, allocations: 12 kB / 383.9 MB, free: 8.035 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1452, allocations: 58.86 MB / 442.8 MB, free: 13.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.2241/0.3693, allocations: 41.26 MB / 484 MB, free: 25.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01901/0.3883, allocations: 10.52 MB / 494.5 MB, free: 18.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008478/0.3969, allocations: 206.2 kB / 494.7 MB, free: 18.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006052/0.4029, allocations: 2.024 MB / 496.8 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01561/0.4186, allocations: 5.899 MB / 0.4909 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003242/0.4218, allocations: 0.959 MB / 0.4918 GB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02139/0.4432, allocations: 14.85 MB / 0.5063 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009952/0.4532, allocations: 6.245 MB / 0.5124 GB, free: 7.336 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002681/0.456, allocations: 1.398 MB / 0.5138 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.4588, allocations: 1.893 MB / 0.5156 GB, free: 5.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001006/0.4598, allocations: 200 kB / 0.5158 GB, free: 5.188 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002296/0.4621, allocations: 1.17 MB / 0.517 GB, free: 4.016 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001497/0.4637, allocations: 2.112 MB / 0.519 GB, free: 1.898 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009047/0.4646, allocations: 1.096 MB / 0.5201 GB, free: 0.793 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006985/0.4716, allocations: 7.904 MB / 0.5278 GB, free: 8.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.4716, allocations: 0 / 0.5278 GB, free: 8.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.4716, allocations: 4 kB / 0.5278 GB, free: 8.867 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002139/0.4718, allocations: 0 / 0.5278 GB, free: 8.867 MB / 398.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.01206/0.4839, allocations: 5.747 MB / 0.5334 GB, free: 3.047 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.4839, allocations: 8.031 kB / 0.5334 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08169/0.5656, allocations: 8.665 MB / 0.5419 GB, free: 10.36 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01006/0.5757, allocations: 4.129 MB / 0.5459 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.5761, allocations: 345.8 kB / 0.5463 GB, free: 5.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001606/0.5777, allocations: 439.6 kB / 0.5467 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02762/0.6054, allocations: 13.97 MB / 0.5603 GB, free: 6.566 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/0.6056, allocations: 59.45 kB / 0.5604 GB, free: 6.508 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00056/0.6061, allocations: 199.8 kB / 0.5606 GB, free: 6.312 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0035/0.6096, allocations: 2.41 MB / 0.5629 GB, free: 3.902 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02545/0.6351, allocations: 11.82 MB / 0.5745 GB, free: 8.062 MB / 446.1 MB 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.06932/0.7045, allocations: 51.69 MB / 0.6249 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2363/0.9409, allocations: 4.673 MB / 0.6295 GB, free: 136.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01834/0.9593, allocations: 12.49 MB / 0.6417 GB, free: 132.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.835e-05/0.9593, allocations: 57.41 kB / 0.6418 GB, free: 132.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=191): time 4.258e-06/0.9594, allocations: 0 / 0.6418 GB, free: 132.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=242): time 0.1389/1.098, allocations: 42.69 MB / 0.6834 GB, free: 121.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.778e-05/1.098, allocations: 239 kB / 0.6837 GB, free: 120.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/1.105, allocations: 5.039 MB / 0.6886 GB, free: 117.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004685/1.105, allocations: 61.7 kB / 0.6887 GB, free: 117.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001901/1.107, allocations: 3.908 MB / 0.6925 GB, free: 113.6 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.108, allocations: 0.9116 MB / 0.6934 GB, free: 112.7 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003521/1.108, allocations: 144 kB / 0.6935 GB, free: 112.6 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00027/1.109, allocations: 0.6078 MB / 0.6941 GB, free: 112 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.113, allocations: 3.231 MB / 0.6972 GB, free: 108.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00506/1.118, allocations: 7.487 MB / 0.7046 GB, free: 99.13 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006254/1.124, allocations: 4.764 MB / 0.7092 GB, free: 94.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.689e-05/1.124, allocations: 45.78 kB / 0.7093 GB, free: 94.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=940) (initialization): time 0.025/1.149, allocations: 13.79 MB / 0.7227 GB, free: 80.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.203e-05/1.149, allocations: 68 kB / 0.7228 GB, free: 80.45 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001521/1.149, allocations: 156 kB / 0.7229 GB, free: 80.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01023/1.159, allocations: 3.803 MB / 0.7267 GB, free: 76.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005318/1.165, allocations: 1.602 MB / 0.7282 GB, free: 74.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/1.186, allocations: 18.58 MB / 0.7464 GB, free: 56.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005904/1.192, allocations: 450.7 kB / 0.7468 GB, free: 55.72 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009715/1.193, allocations: 432 kB / 0.7472 GB, free: 55.3 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004052/1.197, allocations: 2.665 MB / 0.7498 GB, free: 52.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008386/1.198, allocations: 434.4 kB / 0.7502 GB, free: 52.19 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01502/1.213, allocations: 8.122 MB / 0.7582 GB, free: 44.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-05/1.213, allocations: 24 kB / 0.7582 GB, free: 44.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/1.213, allocations: 12 kB / 0.7582 GB, free: 44.01 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.452e-05/1.214, allocations: 15.95 kB / 0.7582 GB, free: 44 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/1.242, allocations: 17.51 MB / 0.7753 GB, free: 26.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.242, allocations: 8 kB / 0.7753 GB, free: 26.42 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001835/1.244, allocations: 394.9 kB / 0.7757 GB, free: 26.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01037/1.254, allocations: 3.835 MB / 0.7794 GB, free: 22.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004814/1.255, allocations: 39.98 kB / 0.7795 GB, free: 22.15 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01985/1.275, allocations: 17.02 MB / 0.7961 GB, free: 4.988 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.275, allocations: 4.094 kB / 0.7961 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/1.297, allocations: 12.62 MB / 0.8084 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003005/1.3, allocations: 0.9483 MB / 0.8094 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009652/1.301, allocations: 36 kB / 0.8094 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002546/1.304, allocations: 203.7 kB / 0.8096 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005865/1.304, allocations: 146.3 kB / 0.8097 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002167/1.305, allocations: 67.89 kB / 0.8098 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.2353/1.54, allocations: 3.18 MB / 0.8129 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7.11e-07/1.54, allocations: 3.844 kB / 0.8129 GB, free: 138.7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007849/1.548, allocations: 1.465 MB / 0.8143 GB, free: 138.7 MB / 0.4981 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008744/1.549, allocations: 214.4 kB / 0.8145 GB, free: 138.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01169/1.56, allocations: 7.852 MB / 0.8222 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/1.56, allocations: 7.031 kB / 0.8222 GB, free: 138.1 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/1.565, allocations: 2.966 MB / 0.8251 GB, free: 137.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.568, allocations: 0.4905 MB / 0.8256 GB, free: 137.8 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02338/1.591, allocations: 14.81 MB / 0.84 GB, free: 130.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006216/1.597, allocations: 4.215 MB / 0.8442 GB, free: 129 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007344/1.605, allocations: 2.178 MB / 0.8463 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.606, allocations: 286.7 kB / 0.8466 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.392e-06/1.606, allocations: 0 / 0.8466 GB, free: 128.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.09817/1.704, allocations: 59.39 MB / 0.9046 GB, free: 92.98 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.JointUSP2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches