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.001839/0.001839, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002324/0.002324, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.519/1.519, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2438/0.2438, allocations: 46.94 MB / 360.8 MB, free: 3.938 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.002352/0.002352, allocations: 83.88 kB / 0.4966 GB, free: 7.047 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.385, allocations: 66.09 MB / 0.5612 GB, free: 3.977 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01574/0.4008, allocations: 11.58 MB / 0.5725 GB, free: 8.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.412, allocations: 4.629 MB / 0.577 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002359/0.4143, allocations: 95.56 kB / 0.5771 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00912/0.4235, allocations: 3.867 MB / 0.5809 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007942/0.4314, allocations: 2.245 MB / 0.5831 GB, free: 13.48 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.4352, allocations: 1.182 MB / 0.5842 GB, free: 12.29 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01035/0.4456, allocations: 5.818 MB / 0.5899 GB, free: 6.465 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006377/0.4519, allocations: 4.017 MB / 0.5938 GB, free: 2.383 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003632/0.4556, allocations: 2.2 MB / 0.596 GB, free: 180 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004628/0.4602, allocations: 2.991 MB / 0.5989 GB, free: 13.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.4613, allocations: 0.5077 MB / 0.5994 GB, free: 12.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003038/0.4644, allocations: 1.533 MB / 0.6009 GB, free: 11.13 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002933/0.4673, allocations: 2.708 MB / 0.6035 GB, free: 8.418 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.4702, allocations: 2.241 MB / 0.6057 GB, free: 6.164 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.483, allocations: 9.97 MB / 0.6155 GB, free: 12.15 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.483, allocations: 0 / 0.6155 GB, free: 12.15 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.483, allocations: 0 / 0.6155 GB, free: 12.15 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002874/0.4833, allocations: 0 / 0.6155 GB, free: 12.15 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.02085/0.5041, allocations: 6.59 MB / 0.6219 GB, free: 5.492 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5042, allocations: 12.03 kB / 0.6219 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01833/0.5225, allocations: 2.747 MB / 0.6246 GB, free: 2.727 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01035/0.5329, allocations: 3.591 MB / 0.6281 GB, free: 15.08 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004453/0.5333, allocations: 379.9 kB / 0.6285 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001781/0.5351, allocations: 427.8 kB / 0.6289 GB, free: 14.27 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02814/0.5632, allocations: 13.96 MB / 0.6425 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001932/0.5634, allocations: 51.58 kB / 0.6425 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006982/0.5641, allocations: 203.8 kB / 0.6427 GB, free: 15.19 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004289/0.5684, allocations: 2.406 MB / 0.6451 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0277/0.5961, allocations: 11.75 MB / 0.6566 GB, free: 1.016 MB / 494.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.07712/0.6732, allocations: 47.61 MB / 0.7031 GB, free: 132 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/0.687, allocations: 4.104 MB / 0.7071 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0046/0.6916, allocations: 2.753 MB / 0.7098 GB, free: 9.203 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02315/0.7147, allocations: 10.18 MB / 0.7197 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.374e-05/0.7148, allocations: 51.88 kB / 0.7197 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 6.492e-06/0.7148, allocations: 0 / 0.7197 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4629/1.178, allocations: 43.31 MB / 0.762 GB, free: 141 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.238e-05/1.178, allocations: 235.6 kB / 0.7623 GB, free: 140.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007241/1.185, allocations: 4.493 MB / 0.7666 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0008752/1.186, allocations: 61.7 kB / 0.7667 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002448/1.188, allocations: 4.029 MB / 0.7706 GB, free: 132.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.19, allocations: 0.9749 MB / 0.7716 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002309/1.192, allocations: 1.508 MB / 0.7731 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.518e-05/1.192, allocations: 305.1 kB / 0.7734 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004075/1.196, allocations: 3.434 MB / 0.7767 GB, free: 126.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005181/1.201, allocations: 7.753 MB / 0.7843 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009919/1.211, allocations: 11.87 MB / 0.7959 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001042/1.211, allocations: 44 kB / 0.7959 GB, free: 102.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02751/1.239, allocations: 14.39 MB / 0.81 GB, free: 88.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001681/1.239, allocations: 71.94 kB / 0.81 GB, free: 88.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000216/1.239, allocations: 148 kB / 0.8102 GB, free: 87.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/1.25, allocations: 4.028 MB / 0.8141 GB, free: 83.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005036/1.256, allocations: 1.626 MB / 0.8157 GB, free: 82.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.279, allocations: 19.51 MB / 0.8347 GB, free: 62.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006273/1.285, allocations: 455.5 kB / 0.8352 GB, free: 62.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/1.286, allocations: 439.9 kB / 0.8356 GB, free: 61.81 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 (880): * Single equations (assignments): 876 * 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.006038/1.292, allocations: 2.655 MB / 0.8382 GB, free: 59.14 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001234/1.294, allocations: 405.3 kB / 0.8386 GB, free: 58.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01744/1.311, allocations: 8.566 MB / 0.8469 GB, free: 50.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.481e-05/1.311, allocations: 31.94 kB / 0.847 GB, free: 50.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.576e-05/1.311, allocations: 12 kB / 0.847 GB, free: 50.11 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/1.311, allocations: 11.95 kB / 0.847 GB, free: 50.1 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0317/1.343, allocations: 16.15 MB / 0.8628 GB, free: 33.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-05/1.343, allocations: 0 / 0.8628 GB, free: 33.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/1.345, allocations: 399.4 kB / 0.8631 GB, free: 33.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01128/1.356, allocations: 4.073 MB / 0.8671 GB, free: 29.48 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004162/1.357, allocations: 39.98 kB / 0.8672 GB, free: 29.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02096/1.378, allocations: 17.91 MB / 0.8847 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/1.378, allocations: 0 / 0.8847 GB, free: 11.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.4, allocations: 13.18 MB / 0.8975 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.402, allocations: 367.1 kB / 0.8979 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001565/1.403, allocations: 40 kB / 0.8979 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/1.406, allocations: 215.7 kB / 0.8981 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/1.407, allocations: 166 kB / 0.8983 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003336/1.408, allocations: 64 kB / 0.8983 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00548/1.413, allocations: 2.609 MB / 0.9009 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/1.413, allocations: 3.938 kB / 0.9009 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.006861/1.42, allocations: 1.464 MB / 0.9023 GB, free: 9.301 MB / 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.0007756/1.421, allocations: 206.2 kB / 0.9025 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.01386/1.435, allocations: 7.907 MB / 0.9102 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.435, allocations: 0 / 0.9102 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.005242/1.44, allocations: 2.866 MB / 0.913 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004359/1.444, allocations: 469.9 kB / 0.9135 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0286/1.473, allocations: 13.1 MB / 0.9263 GB, free: 0.7266 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009046/1.482, allocations: 3.583 MB / 0.9298 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.006721/1.489, allocations: 2.117 MB / 0.9318 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001661/1.49, allocations: 263.4 kB / 0.9321 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.293e-06/1.49, allocations: 4 kB / 0.9321 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.3759/1.866, allocations: 63.19 MB / 0.9938 GB, free: 211.9 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.1.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.704803567379713]