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.001989/0.001989, allocations: 113.9 kB / 19.13 MB, free: 3.922 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.002569/0.002569, allocations: 212.9 kB / 22.08 MB, free: 0.9727 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.549/1.549, allocations: 227.4 MB / 252.3 MB, free: 100 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.2391/0.2391, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.002486/0.002486, allocations: 77 kB / 490.9 MB, free: 28.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1164, allocations: 62.45 MB / 0.5404 GB, free: 4.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01553/0.1319, allocations: 13.25 MB / 0.5533 GB, free: 6.926 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.1426, allocations: 4.848 MB / 0.558 GB, free: 2.059 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002602/0.1453, allocations: 83.75 kB / 0.5581 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007843/0.1532, allocations: 3.968 MB / 0.562 GB, free: 14 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006306/0.1596, allocations: 2.171 MB / 0.5641 GB, free: 11.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003006/0.1626, allocations: 1.17 MB / 0.5652 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.009398/0.172, allocations: 5.826 MB / 0.5709 GB, free: 4.812 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007539/0.1796, allocations: 5.167 MB / 0.576 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004443/0.1841, allocations: 2.169 MB / 0.5781 GB, free: 13.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00532/0.1894, allocations: 2.964 MB / 0.581 GB, free: 10.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002111/0.1916, allocations: 0.5 MB / 0.5815 GB, free: 9.93 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004539/0.1961, allocations: 1.639 MB / 0.5831 GB, free: 8.289 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004308/0.2005, allocations: 2.634 MB / 0.5857 GB, free: 5.648 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006351/0.2069, allocations: 2.999 MB / 0.5886 GB, free: 2.633 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01474/0.2216, allocations: 9.919 MB / 0.5983 GB, free: 8.676 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.029e-05/0.2217, allocations: 0 / 0.5983 GB, free: 8.676 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2217, allocations: 7.938 kB / 0.5983 GB, free: 8.668 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003373/0.222, allocations: 0 / 0.5983 GB, free: 8.668 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.01793/0.24, allocations: 6.665 MB / 0.6048 GB, free: 1.914 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.2401, allocations: 12.03 kB / 0.6048 GB, free: 1.902 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3119/0.552, allocations: 2.739 MB / 0.6075 GB, free: 54.7 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00978/0.5618, allocations: 3.654 MB / 0.611 GB, free: 53.96 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004795/0.5623, allocations: 349.5 kB / 0.6114 GB, free: 53.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002199/0.5645, allocations: 431 kB / 0.6118 GB, free: 53.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/0.5958, allocations: 13.87 MB / 0.6253 GB, free: 47.61 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003206/0.5962, allocations: 53.42 kB / 0.6254 GB, free: 47.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001557/0.5978, allocations: 200.5 kB / 0.6256 GB, free: 47.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003998/0.6018, allocations: 2.409 MB / 0.6279 GB, free: 47.02 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02317/0.625, allocations: 11.76 MB / 0.6394 GB, free: 39.35 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.06364/0.6887, allocations: 51.62 MB / 0.6898 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0134/0.7021, allocations: 4.739 MB / 0.6944 GB, free: 13.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.7067, allocations: 2.957 MB / 0.6973 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02124/0.728, allocations: 12.97 MB / 0.71 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.7281, allocations: 59.81 kB / 0.7101 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=197): time 4.849e-06/0.7281, allocations: 0 / 0.7101 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.1639/0.892, allocations: 43.55 MB / 0.7526 GB, free: 1.652 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001687/0.8922, allocations: 239.6 kB / 0.7528 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/0.903, allocations: 4.775 MB / 0.7575 GB, free: 12.59 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006907/0.9037, allocations: 63.67 kB / 0.7575 GB, free: 12.52 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003549/0.9073, allocations: 3.991 MB / 0.7614 GB, free: 8.492 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001524/0.9088, allocations: 0.9729 MB / 0.7624 GB, free: 7.512 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002856/0.9117, allocations: 1.524 MB / 0.7639 GB, free: 5.98 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.9118, allocations: 305.1 kB / 0.7642 GB, free: 5.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005674/0.9175, allocations: 3.446 MB / 0.7675 GB, free: 2.227 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009891/0.9274, allocations: 7.707 MB / 0.775 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01754/0.945, allocations: 11.88 MB / 0.7867 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001686/0.9452, allocations: 40 kB / 0.7867 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.03551/0.9808, allocations: 14.51 MB / 0.8009 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001233/0.9809, allocations: 68 kB / 0.8009 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002031/0.9811, allocations: 148 kB / 0.8011 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01379/0.9949, allocations: 4.021 MB / 0.805 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005775/1.001, allocations: 1.63 MB / 0.8066 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03196/1.033, allocations: 19.87 MB / 0.826 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006265/1.039, allocations: 459.4 kB / 0.8264 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.041, allocations: 437.8 kB / 0.8268 GB, free: 1.117 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.005505/1.046, allocations: 2.665 MB / 0.8294 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001141/1.047, allocations: 453 kB / 0.8299 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/1.068, allocations: 8.64 MB / 0.8383 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.264e-05/1.068, allocations: 32 kB / 0.8383 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.567e-05/1.068, allocations: 15.94 kB / 0.8384 GB, free: 5.285 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.542e-05/1.068, allocations: 11.95 kB / 0.8384 GB, free: 5.273 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3816/1.449, allocations: 17.83 MB / 0.8558 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-05/1.45, allocations: 1.219 kB / 0.8558 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002605/1.452, allocations: 401.9 kB / 0.8562 GB, free: 203.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01367/1.466, allocations: 4.075 MB / 0.8601 GB, free: 203 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009529/1.467, allocations: 38.38 kB / 0.8602 GB, free: 203 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02396/1.491, allocations: 18.22 MB / 0.878 GB, free: 195.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/1.491, allocations: 0 / 0.878 GB, free: 195.6 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/1.513, allocations: 13.26 MB / 0.8909 GB, free: 189.6 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/1.514, allocations: 490 kB / 0.8914 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009106/1.515, allocations: 39.72 kB / 0.8914 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002398/1.518, allocations: 217.1 kB / 0.8916 GB, free: 189.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006189/1.518, allocations: 152.5 kB / 0.8918 GB, free: 189.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002099/1.518, allocations: 69.84 kB / 0.8919 GB, free: 189.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.004025/1.522, allocations: 2.973 MB / 0.8948 GB, free: 186.4 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.522, allocations: 0 / 0.8948 GB, free: 186.4 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.006511/1.529, allocations: 1.468 MB / 0.8962 GB, free: 185 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.0007302/1.53, allocations: 218.7 kB / 0.8964 GB, free: 184.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01117/1.541, allocations: 8.291 MB / 0.9045 GB, free: 176.6 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/1.541, allocations: 0 / 0.9045 GB, free: 176.6 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003803/1.545, allocations: 3.124 MB / 0.9075 GB, free: 173.5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/1.548, allocations: 0.5237 MB / 0.9081 GB, free: 173 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.569, allocations: 13.62 MB / 0.9214 GB, free: 159.4 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003806/1.573, allocations: 4.081 MB / 0.9253 GB, free: 155.3 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.574, allocations: 338.9 kB / 0.9257 GB, free: 155 MB / 0.6231 GB Notification: Performance of SimCode: time 1.723e-06/1.574, allocations: 0 / 0.9257 GB, free: 155 MB / 0.6231 GB Notification: Performance of Templates: time 0.1087/1.683, allocations: 101.6 MB / 1.025 GB, free: 53.49 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.25422250898555]