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.001783/0.001783, allocations: 118 kB / 18.46 MB, free: 4.613 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.001796/0.001796, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.559/1.559, allocations: 227.4 MB / 251.6 MB, free: 296 kB / 190.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.2516/0.2516, allocations: 46.17 MB / 351.1 MB, free: 14.34 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.002291/0.002291, allocations: 86.89 kB / 490.2 MB, free: 28.19 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1414, allocations: 62.45 MB / 0.5397 GB, free: 4.395 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01697/0.1584, allocations: 13.25 MB / 0.5526 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01164/0.1701, allocations: 4.856 MB / 0.5574 GB, free: 2.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/0.1726, allocations: 79.81 kB / 0.5574 GB, free: 2.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007921/0.1806, allocations: 3.972 MB / 0.5613 GB, free: 14.14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006016/0.1866, allocations: 2.163 MB / 0.5634 GB, free: 11.96 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0028/0.1895, allocations: 1.178 MB / 0.5646 GB, free: 10.79 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.008763/0.1982, allocations: 5.82 MB / 0.5703 GB, free: 4.957 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006916/0.2052, allocations: 5.174 MB / 0.5753 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.2095, allocations: 2.161 MB / 0.5774 GB, free: 13.55 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00538/0.2149, allocations: 2.96 MB / 0.5803 GB, free: 10.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001424/0.2164, allocations: 0.5 MB / 0.5808 GB, free: 10.08 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00395/0.2203, allocations: 1.642 MB / 0.5824 GB, free: 8.434 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002985/0.2233, allocations: 2.638 MB / 0.585 GB, free: 5.789 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004685/0.228, allocations: 2.999 MB / 0.5879 GB, free: 2.773 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01265/0.2407, allocations: 9.92 MB / 0.5976 GB, free: 8.812 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.186e-06/0.2407, allocations: 3.984 kB / 0.5976 GB, free: 8.809 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2408, allocations: 3.938 kB / 0.5976 GB, free: 8.805 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002667/0.241, allocations: 4 kB / 0.5976 GB, free: 8.801 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.01555/0.2566, allocations: 6.661 MB / 0.6041 GB, free: 2.055 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2566, allocations: 12.03 kB / 0.6041 GB, free: 2.043 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.288/0.5447, allocations: 2.736 MB / 0.6068 GB, free: 55.19 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01023/0.5549, allocations: 3.657 MB / 0.6104 GB, free: 54.1 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004909/0.5555, allocations: 352.5 kB / 0.6107 GB, free: 53.96 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002136/0.5576, allocations: 428.6 kB / 0.6111 GB, free: 53.85 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03435/0.592, allocations: 13.86 MB / 0.6247 GB, free: 47.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002454/0.5923, allocations: 56.53 kB / 0.6247 GB, free: 47.71 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000758/0.593, allocations: 201.1 kB / 0.6249 GB, free: 47.61 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003583/0.5966, allocations: 2.404 MB / 0.6273 GB, free: 47.16 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02198/0.6186, allocations: 11.76 MB / 0.6387 GB, free: 39.66 MB / 462.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.06324/0.6819, allocations: 51.62 MB / 0.6892 GB, free: 2.984 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01397/0.6959, allocations: 4.743 MB / 0.6938 GB, free: 14.09 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004577/0.7005, allocations: 2.952 MB / 0.6967 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02133/0.7219, allocations: 12.96 MB / 0.7093 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.11e-05/0.722, allocations: 67.75 kB / 0.7094 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 5.811e-06/0.722, allocations: 0 / 0.7094 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1597/0.8817, allocations: 43.54 MB / 0.7519 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.8819, allocations: 235.6 kB / 0.7521 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007688/0.8896, allocations: 4.778 MB / 0.7568 GB, free: 12.88 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007837/0.8904, allocations: 71.7 kB / 0.7569 GB, free: 12.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003652/0.8941, allocations: 3.987 MB / 0.7608 GB, free: 8.773 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001742/0.8958, allocations: 0.9729 MB / 0.7617 GB, free: 7.793 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002654/0.8985, allocations: 1.516 MB / 0.7632 GB, free: 6.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.8986, allocations: 309.1 kB / 0.7635 GB, free: 5.965 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/0.9044, allocations: 3.442 MB / 0.7669 GB, free: 2.516 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01055/0.915, allocations: 7.723 MB / 0.7744 GB, free: 8.695 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01864/0.9337, allocations: 11.87 MB / 0.786 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001694/0.9339, allocations: 40 kB / 0.786 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.036/0.9699, allocations: 14.51 MB / 0.8002 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002863/0.9702, allocations: 68 kB / 0.8003 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003432/0.9706, allocations: 148 kB / 0.8004 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01342/0.984, allocations: 4.017 MB / 0.8043 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006348/0.9904, allocations: 1.634 MB / 0.8059 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0344/1.025, allocations: 19.86 MB / 0.8253 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006945/1.032, allocations: 459.4 kB / 0.8258 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001888/1.034, allocations: 440 kB / 0.8262 GB, free: 1.398 MB / 0.6075 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.007243/1.041, allocations: 2.657 MB / 0.8288 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001781/1.043, allocations: 449 kB / 0.8292 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02162/1.064, allocations: 8.656 MB / 0.8377 GB, free: 5.609 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.224e-05/1.065, allocations: 28 kB / 0.8377 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-05/1.065, allocations: 12 kB / 0.8377 GB, free: 5.57 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.986e-05/1.065, allocations: 11.95 kB / 0.8377 GB, free: 5.559 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.374/1.439, allocations: 17.83 MB / 0.8551 GB, free: 204.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.508e-05/1.439, allocations: 1.406 kB / 0.8551 GB, free: 204.1 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002395/1.441, allocations: 405 kB / 0.8555 GB, free: 204 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01306/1.454, allocations: 4.071 MB / 0.8595 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006501/1.455, allocations: 39.44 kB / 0.8595 GB, free: 203.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/1.478, allocations: 18.22 MB / 0.8773 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/1.478, allocations: 3.812 kB / 0.8773 GB, free: 196 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/1.5, allocations: 13.27 MB / 0.8903 GB, free: 190 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001613/1.502, allocations: 491.9 kB / 0.8907 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009597/1.503, allocations: 43.75 kB / 0.8908 GB, free: 189.9 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002242/1.505, allocations: 217.1 kB / 0.891 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006456/1.506, allocations: 149.2 kB / 0.8911 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002008/1.506, allocations: 62.09 kB / 0.8912 GB, free: 189.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004197/1.51, allocations: 2.979 MB / 0.8941 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/1.51, allocations: 0 / 0.8941 GB, free: 186.8 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00656/1.517, allocations: 1.473 MB / 0.8955 GB, free: 185.4 MB / 0.6231 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.0008126/1.517, allocations: 218 kB / 0.8957 GB, free: 185.2 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01062/1.528, allocations: 8.292 MB / 0.9038 GB, free: 177 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.528, allocations: 0 / 0.9038 GB, free: 177 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003685/1.532, allocations: 3.121 MB / 0.9069 GB, free: 173.9 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003243/1.535, allocations: 0.5273 MB / 0.9074 GB, free: 173.4 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.552, allocations: 13.04 MB / 0.9201 GB, free: 160.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003515/1.556, allocations: 4.094 MB / 0.9241 GB, free: 156.3 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.004218/1.56, allocations: 2.189 MB / 0.9263 GB, free: 154.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008744/1.561, allocations: 287.4 kB / 0.9265 GB, free: 153.8 MB / 0.6231 GB Notification: Performance of SimCode: time 1.212e-06/1.561, allocations: 0 / 0.9265 GB, free: 153.8 MB / 0.6231 GB Notification: Performance of Templates: time 0.09525/1.656, allocations: 60.89 MB / 0.986 GB, free: 93.17 MB / 0.6231 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.09576644655317]