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.001309/0.001309, allocations: 105.4 kB / 19.8 MB, free: 2.516 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.001505/0.001505, allocations: 211.8 kB / 23 MB, free: 5.605 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.557/1.557, allocations: 230.2 MB / 256.2 MB, free: 8.535 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.2441/0.2441, allocations: 46.91 MB / 359.4 MB, free: 4.871 MB / 286.1 MB " [Timeout remaining time 180] 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.002268/0.002268, allocations: 83.86 kB / 0.4947 GB, free: 8.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4214, allocations: 65.99 MB / 0.5591 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01849/0.4399, allocations: 13.34 MB / 0.5721 GB, free: 7.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.4526, allocations: 4.899 MB / 0.5769 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003094/0.4557, allocations: 79.81 kB / 0.577 GB, free: 2.664 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008774/0.4645, allocations: 4.038 MB / 0.5809 GB, free: 14.61 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007752/0.4723, allocations: 2.226 MB / 0.5831 GB, free: 12.38 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.476, allocations: 1.184 MB / 0.5843 GB, free: 11.2 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0106/0.4866, allocations: 5.822 MB / 0.5899 GB, free: 5.363 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007599/0.4942, allocations: 3.744 MB / 0.5936 GB, free: 1.555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006398/0.5006, allocations: 2.177 MB / 0.5957 GB, free: 15.37 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006363/0.5069, allocations: 3.186 MB / 0.5988 GB, free: 12.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002144/0.5091, allocations: 0.5 MB / 0.5993 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004809/0.5139, allocations: 1.685 MB / 0.601 GB, free: 9.988 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004689/0.5186, allocations: 2.715 MB / 0.6036 GB, free: 7.266 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007063/0.5257, allocations: 3.007 MB / 0.6066 GB, free: 4.242 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01705/0.5427, allocations: 9.927 MB / 0.6162 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.706e-06/0.5427, allocations: 3.938 kB / 0.6163 GB, free: 10.27 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5427, allocations: 0 / 0.6163 GB, free: 10.27 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004161/0.5431, allocations: 0 / 0.6163 GB, free: 10.27 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.02095/0.5641, allocations: 6.66 MB / 0.6228 GB, free: 3.523 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.5641, allocations: 8.031 kB / 0.6228 GB, free: 3.516 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01718/0.5813, allocations: 2.739 MB / 0.6254 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008988/0.5903, allocations: 3.659 MB / 0.629 GB, free: 13.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003961/0.5907, allocations: 354.2 kB / 0.6293 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001795/0.5925, allocations: 435.8 kB / 0.6298 GB, free: 12.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03685/0.6293, allocations: 13.85 MB / 0.6433 GB, free: 13.56 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002743/0.6296, allocations: 55.58 kB / 0.6433 GB, free: 13.51 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00171/0.6313, allocations: 195.8 kB / 0.6435 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005908/0.6372, allocations: 2.418 MB / 0.6459 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/0.6749, allocations: 11.75 MB / 0.6574 GB, free: 15.12 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.08101/0.756, allocations: 51.63 MB / 0.7078 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01288/0.7688, allocations: 4.559 MB / 0.7122 GB, free: 5.309 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004538/0.7734, allocations: 2.751 MB / 0.7149 GB, free: 2.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02126/0.7946, allocations: 12.96 MB / 0.7276 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.389e-05/0.7947, allocations: 51.88 kB / 0.7276 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 4.939e-06/0.7947, allocations: 0 / 0.7276 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4493/1.244, allocations: 43.51 MB / 0.7701 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/1.244, allocations: 227.6 kB / 0.7703 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005177/1.249, allocations: 4.781 MB / 0.775 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006346/1.25, allocations: 61.7 kB / 0.7751 GB, free: 126.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00158/1.252, allocations: 3.998 MB / 0.779 GB, free: 123.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008672/1.252, allocations: 0.9732 MB / 0.7799 GB, free: 122.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001836/1.254, allocations: 1.52 MB / 0.7814 GB, free: 120.7 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.303e-05/1.254, allocations: 305.1 kB / 0.7817 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003843/1.258, allocations: 3.446 MB / 0.7851 GB, free: 116.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005137/1.263, allocations: 7.71 MB / 0.7926 GB, free: 107.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/1.273, allocations: 11.88 MB / 0.8042 GB, free: 93.17 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-05/1.273, allocations: 48 kB / 0.8042 GB, free: 93.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02649/1.3, allocations: 14.47 MB / 0.8184 GB, free: 78.64 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.509e-05/1.3, allocations: 68 kB / 0.8184 GB, free: 78.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.3, allocations: 152 kB / 0.8186 GB, free: 78.43 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01088/1.311, allocations: 4.014 MB / 0.8225 GB, free: 74.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005148/1.316, allocations: 1.638 MB / 0.8241 GB, free: 72.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02492/1.341, allocations: 19.86 MB / 0.8435 GB, free: 52.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005901/1.347, allocations: 459.4 kB / 0.8439 GB, free: 52.31 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001288/1.348, allocations: 439.9 kB / 0.8443 GB, free: 51.88 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.004762/1.353, allocations: 2.656 MB / 0.8469 GB, free: 49.21 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/1.354, allocations: 460.9 kB / 0.8474 GB, free: 48.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.369, allocations: 8.593 MB / 0.8558 GB, free: 40.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-05/1.369, allocations: 28 kB / 0.8558 GB, free: 40.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.74e-05/1.369, allocations: 12 kB / 0.8558 GB, free: 40.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.563e-05/1.369, allocations: 11.95 kB / 0.8558 GB, free: 40.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02769/1.397, allocations: 17.8 MB / 0.8732 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/1.397, allocations: 7.938 kB / 0.8732 GB, free: 22.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002034/1.399, allocations: 395.4 kB / 0.8736 GB, free: 21.88 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01083/1.41, allocations: 4.073 MB / 0.8776 GB, free: 17.8 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005164/1.41, allocations: 47.75 kB / 0.8776 GB, free: 17.75 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/1.431, allocations: 18.22 MB / 0.8954 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/1.431, allocations: 0 / 0.8954 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0263/1.458, allocations: 13.22 MB / 0.9083 GB, free: 2.141 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.459, allocations: 493.9 kB / 0.9088 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008052/1.46, allocations: 39.98 kB / 0.9088 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/1.462, allocations: 215.7 kB / 0.909 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006776/1.463, allocations: 157.8 kB / 0.9092 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002275/1.463, allocations: 63.98 kB / 0.9092 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004668/1.468, allocations: 2.975 MB / 0.9121 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.468, allocations: 0 / 0.9121 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005937/1.474, allocations: 1.469 MB / 0.9136 GB, free: 12.74 MB / 0.5919 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.0006193/1.474, allocations: 218.5 kB / 0.9138 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01309/1.488, allocations: 7.926 MB / 0.9215 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/1.488, allocations: 0 / 0.9215 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004704/1.492, allocations: 2.861 MB / 0.9243 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00315/1.495, allocations: 0.53 MB / 0.9248 GB, free: 1.199 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.518, allocations: 13.15 MB / 0.9377 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004946/1.523, allocations: 4.099 MB / 0.9417 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004914/1.528, allocations: 2.194 MB / 0.9438 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008513/1.529, allocations: 279.4 kB / 0.9441 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of SimCode: time 1.192e-06/1.529, allocations: 4 kB / 0.9441 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of Templates: time 0.4176/1.946, allocations: 63.81 MB / 1.006 GB, free: 198.2 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: 8.608774113468826]