Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 115.9 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001486/0.001486, allocations: 213.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.574/1.574, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2322/0.2322, allocations: 46.93 MB / 360.8 MB, free: 4.258 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002132/0.002132, allocations: 71.89 kB / 0.4967 GB, free: 7.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3711/0.3732, allocations: 66.03 MB / 0.5611 GB, free: 4.398 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01638/0.3896, allocations: 13.34 MB / 0.5742 GB, free: 6.992 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01133/0.4009, allocations: 4.903 MB / 0.5789 GB, free: 2.078 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.403, allocations: 99.56 kB / 0.579 GB, free: 1.98 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008431/0.4115, allocations: 4.042 MB / 0.583 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00702/0.4185, allocations: 2.233 MB / 0.5852 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003257/0.4217, allocations: 1.182 MB / 0.5863 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01122/0.433, allocations: 5.826 MB / 0.592 GB, free: 4.664 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00682/0.4398, allocations: 4.036 MB / 0.596 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.4445, allocations: 2.208 MB / 0.5981 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.4508, allocations: 3.182 MB / 0.6012 GB, free: 11.16 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001741/0.4525, allocations: 0.5 MB / 0.6017 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003888/0.4564, allocations: 1.693 MB / 0.6034 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003714/0.4601, allocations: 2.711 MB / 0.606 GB, free: 6.242 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005273/0.4654, allocations: 2.999 MB / 0.6089 GB, free: 3.227 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01497/0.4803, allocations: 9.923 MB / 0.6186 GB, free: 9.262 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.09e-05/0.4804, allocations: 0 / 0.6186 GB, free: 9.262 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.746e-06/0.4804, allocations: 8 kB / 0.6186 GB, free: 9.254 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004223/0.4808, allocations: 0 / 0.6186 GB, free: 9.254 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.0215/0.5023, allocations: 6.59 MB / 0.6251 GB, free: 2.594 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.5023, allocations: 8.031 kB / 0.6251 GB, free: 2.586 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01762/0.52, allocations: 2.743 MB / 0.6278 GB, free: 15.83 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009545/0.5295, allocations: 3.579 MB / 0.6313 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004071/0.5299, allocations: 379.9 kB / 0.6316 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001581/0.5315, allocations: 427.8 kB / 0.632 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02784/0.5593, allocations: 13.85 MB / 0.6455 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001526/0.5595, allocations: 51.58 kB / 0.6456 GB, free: 12.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006491/0.5601, allocations: 203.8 kB / 0.6458 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003846/0.564, allocations: 2.406 MB / 0.6481 GB, free: 10.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02603/0.59, allocations: 11.77 MB / 0.6596 GB, free: 14.24 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.07241/0.6624, allocations: 51.46 MB / 0.7099 GB, free: 9.305 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01274/0.6752, allocations: 4.121 MB / 0.7139 GB, free: 5.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004471/0.6796, allocations: 2.753 MB / 0.7166 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02288/0.7025, allocations: 10.81 MB / 0.7272 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.312e-05/0.7026, allocations: 59.81 kB / 0.7272 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=197): time 4.859e-06/0.7026, allocations: 0 / 0.7272 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=248): time 0.4952/1.198, allocations: 43.21 MB / 0.7694 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.028e-05/1.198, allocations: 227.6 kB / 0.7696 GB, free: 133.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005669/1.204, allocations: 4.777 MB / 0.7743 GB, free: 129.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005915/1.204, allocations: 61.7 kB / 0.7744 GB, free: 129.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.001934/1.206, allocations: 4.004 MB / 0.7783 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009653/1.207, allocations: 0.9733 MB / 0.7792 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001721/1.209, allocations: 1.52 MB / 0.7807 GB, free: 123.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 6.474e-05/1.209, allocations: 305.1 kB / 0.781 GB, free: 122.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/1.213, allocations: 3.446 MB / 0.7844 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005441/1.218, allocations: 7.715 MB / 0.7919 GB, free: 109.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.229, allocations: 11.87 MB / 0.8035 GB, free: 95.56 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.123e-05/1.229, allocations: 44 kB / 0.8035 GB, free: 95.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=967) (initialization): time 0.02602/1.255, allocations: 14.46 MB / 0.8176 GB, free: 81.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.071e-05/1.255, allocations: 72 kB / 0.8177 GB, free: 80.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/1.255, allocations: 148 kB / 0.8179 GB, free: 80.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01108/1.266, allocations: 4.028 MB / 0.8218 GB, free: 76.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00521/1.271, allocations: 1.63 MB / 0.8234 GB, free: 75.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02403/1.295, allocations: 19.75 MB / 0.8427 GB, free: 55.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007709/1.303, allocations: 459.4 kB / 0.8431 GB, free: 54.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001564/1.305, allocations: 436 kB / 0.8435 GB, free: 54.43 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.005448/1.31, allocations: 2.664 MB / 0.8461 GB, free: 51.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/1.311, allocations: 449 kB / 0.8466 GB, free: 51.31 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01709/1.328, allocations: 8.601 MB / 0.8549 GB, free: 42.69 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.122e-05/1.328, allocations: 29.97 kB / 0.855 GB, free: 42.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/1.328, allocations: 12 kB / 0.855 GB, free: 42.65 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.04e-05/1.329, allocations: 7.969 kB / 0.855 GB, free: 42.64 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03284/1.361, allocations: 17.77 MB / 0.8724 GB, free: 24.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.954e-05/1.361, allocations: 0 / 0.8724 GB, free: 24.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/1.364, allocations: 407.4 kB / 0.8727 GB, free: 24.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/1.375, allocations: 4.073 MB / 0.8767 GB, free: 20.38 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000642/1.376, allocations: 40 kB / 0.8768 GB, free: 20.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02232/1.398, allocations: 18.11 MB / 0.8944 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/1.398, allocations: 11.95 kB / 0.8945 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02755/1.425, allocations: 13.23 MB / 0.9074 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.427, allocations: 412.8 kB / 0.9078 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001727/1.429, allocations: 36 kB / 0.9078 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002898/1.432, allocations: 219.7 kB / 0.908 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007378/1.433, allocations: 158.1 kB / 0.9082 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002548/1.433, allocations: 60 kB / 0.9082 GB, free: 3.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.006129/1.439, allocations: 2.977 MB / 0.9111 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/1.439, allocations: 0 / 0.9111 GB, free: 0.9805 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.007389/1.446, allocations: 1.476 MB / 0.9126 GB, free: 15.5 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.0008149/1.447, allocations: 214.4 kB / 0.9128 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01504/1.462, allocations: 7.922 MB / 0.9205 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.462, allocations: 4.875 kB / 0.9205 GB, free: 7.387 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005267/1.468, allocations: 2.861 MB / 0.9233 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003778/1.471, allocations: 0.5232 MB / 0.9238 GB, free: 3.988 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02709/1.498, allocations: 13.16 MB / 0.9367 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006754/1.505, allocations: 4.087 MB / 0.9407 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005532/1.511, allocations: 2.194 MB / 0.9428 GB, free: 484 kB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/1.512, allocations: 287.4 kB / 0.9431 GB, free: 196 kB / 0.6075 GB Notification: Performance of SimCode: time 1.172e-06/1.512, allocations: 0 / 0.9431 GB, free: 196 kB / 0.6075 GB Notification: Performance of Templates: time 0.4411/1.953, allocations: 66.8 MB / 1.008 GB, free: 197.9 MB / 0.6387 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.028549532173201]