Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001758/0.001758, allocations: 105.1 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.002763/0.002763, allocations: 213.9 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.607/1.607, allocations: 230.3 MB / 258 MB, free: 8.254 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.244/0.244, allocations: 46.89 MB / 361.3 MB, free: 4.453 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002736/0.002736, allocations: 75.88 kB / 0.4971 GB, free: 7.582 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4484, allocations: 66.03 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01764/0.4661, allocations: 13.33 MB / 0.5746 GB, free: 7.219 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01181/0.4779, allocations: 4.899 MB / 0.5794 GB, free: 2.309 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00326/0.4811, allocations: 95.56 kB / 0.5794 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009587/0.4907, allocations: 4.05 MB / 0.5834 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007981/0.4987, allocations: 2.233 MB / 0.5856 GB, free: 11.91 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003824/0.5025, allocations: 1.178 MB / 0.5867 GB, free: 10.73 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.5134, allocations: 5.833 MB / 0.5924 GB, free: 4.887 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00811/0.5215, allocations: 3.75 MB / 0.5961 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005531/0.5271, allocations: 2.208 MB / 0.5982 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00663/0.5337, allocations: 3.178 MB / 0.6013 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002149/0.5359, allocations: 0.5 MB / 0.6018 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.5408, allocations: 1.693 MB / 0.6035 GB, free: 9.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004578/0.5454, allocations: 2.711 MB / 0.6061 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006565/0.552, allocations: 3.007 MB / 0.6091 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01841/0.5704, allocations: 9.927 MB / 0.6188 GB, free: 9.766 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.5704, allocations: 0 / 0.6188 GB, free: 9.766 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5704, allocations: 0 / 0.6188 GB, free: 9.766 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000615/0.571, allocations: 0 / 0.6188 GB, free: 9.766 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.02829/0.5993, allocations: 6.582 MB / 0.6252 GB, free: 3.113 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.5994, allocations: 12.02 kB / 0.6252 GB, free: 3.102 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02081/0.6202, allocations: 2.747 MB / 0.6279 GB, free: 356 kB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01172/0.6319, allocations: 3.579 MB / 0.6314 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005578/0.6325, allocations: 346.2 kB / 0.6317 GB, free: 12.36 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002459/0.6349, allocations: 427.8 kB / 0.6321 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03392/0.6688, allocations: 13.86 MB / 0.6457 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001733/0.669, allocations: 55.56 kB / 0.6457 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005979/0.6696, allocations: 203.8 kB / 0.6459 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/0.6738, allocations: 2.406 MB / 0.6483 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0287/0.7025, allocations: 11.76 MB / 0.6597 GB, free: 14.78 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.0823/0.7848, allocations: 51.46 MB / 0.71 GB, free: 9.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01338/0.7982, allocations: 4.119 MB / 0.714 GB, free: 5.684 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004747/0.803, allocations: 2.749 MB / 0.7167 GB, free: 2.91 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02182/0.8248, allocations: 10.81 MB / 0.7273 GB, free: 8.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.885e-05/0.8249, allocations: 55.88 kB / 0.7273 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 4.338e-06/0.8249, allocations: 0 / 0.7273 GB, free: 7.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4959/1.321, allocations: 43.21 MB / 0.7695 GB, free: 134.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/1.321, allocations: 235.6 kB / 0.7697 GB, free: 134.6 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005764/1.327, allocations: 4.779 MB / 0.7744 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006407/1.327, allocations: 61.7 kB / 0.7745 GB, free: 129.9 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001802/1.329, allocations: 3.995 MB / 0.7784 GB, free: 126.3 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001086/1.33, allocations: 0.9698 MB / 0.7793 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001849/1.332, allocations: 1.516 MB / 0.7808 GB, free: 123.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.774e-05/1.332, allocations: 309.1 kB / 0.7811 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004035/1.336, allocations: 3.446 MB / 0.7844 GB, free: 120 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005567/1.342, allocations: 7.707 MB / 0.792 GB, free: 110.2 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/1.353, allocations: 11.88 MB / 0.8036 GB, free: 96.28 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001202/1.353, allocations: 44 kB / 0.8036 GB, free: 96.24 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.0317/1.385, allocations: 14.47 MB / 0.8177 GB, free: 81.76 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.039e-05/1.385, allocations: 74.19 kB / 0.8178 GB, free: 81.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/1.385, allocations: 152.9 kB / 0.818 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01204/1.397, allocations: 4.016 MB / 0.8219 GB, free: 77.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005531/1.403, allocations: 1.63 MB / 0.8235 GB, free: 75.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0247/1.427, allocations: 19.75 MB / 0.8428 GB, free: 56.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006821/1.434, allocations: 459.5 kB / 0.8432 GB, free: 55.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/1.436, allocations: 439.8 kB / 0.8436 GB, free: 55.14 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.005849/1.442, allocations: 2.658 MB / 0.8462 GB, free: 52.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001489/1.443, allocations: 455.1 kB / 0.8467 GB, free: 52.03 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/1.462, allocations: 8.597 MB / 0.855 GB, free: 43.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.093e-05/1.462, allocations: 28 kB / 0.8551 GB, free: 43.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.32e-05/1.462, allocations: 12 kB / 0.8551 GB, free: 43.37 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-05/1.462, allocations: 15.89 kB / 0.8551 GB, free: 43.36 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03649/1.498, allocations: 17.77 MB / 0.8725 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.995e-05/1.498, allocations: 3.938 kB / 0.8725 GB, free: 25.57 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002196/1.501, allocations: 399.4 kB / 0.8728 GB, free: 25.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0119/1.512, allocations: 4.073 MB / 0.8768 GB, free: 21.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007032/1.513, allocations: 47.98 kB / 0.8769 GB, free: 21.05 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/1.537, allocations: 18.11 MB / 0.8945 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.217e-06/1.537, allocations: 7.969 kB / 0.8946 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02977/1.566, allocations: 13.23 MB / 0.9075 GB, free: 5.543 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.568, allocations: 420.8 kB / 0.9079 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001495/1.569, allocations: 36 kB / 0.9079 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003478/1.573, allocations: 215.7 kB / 0.9081 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/1.574, allocations: 154.1 kB / 0.9083 GB, free: 4.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005843/1.575, allocations: 67.97 kB / 0.9083 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.007401/1.582, allocations: 2.977 MB / 0.9112 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.582, allocations: 4 kB / 0.9112 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.01023/1.592, allocations: 1.469 MB / 0.9127 GB, free: 228 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.001228/1.593, allocations: 218.1 kB / 0.9129 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.61, allocations: 7.922 MB / 0.9206 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/1.61, allocations: 0 / 0.9206 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005939/1.616, allocations: 2.861 MB / 0.9234 GB, free: 5.227 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004878/1.621, allocations: 0.5147 MB / 0.9239 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/1.655, allocations: 13.16 MB / 0.9368 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007052/1.662, allocations: 4.099 MB / 0.9408 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006018/1.668, allocations: 2.19 MB / 0.9429 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.67, allocations: 279.4 kB / 0.9432 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of SimCode: time 1.843e-06/1.67, allocations: 0 / 0.9432 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of Templates: time 0.4214/2.091, allocations: 66.79 MB / 1.008 GB, free: 198.5 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.11513031926006]