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.001821/0.001821, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.00211/0.00211, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.436/1.436, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.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.2112/0.2112, allocations: 34.27 MB / 295.5 MB, free: 14.62 MB / 286.1 MB " [Timeout remaining time 180] 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.002023/0.002023, allocations: 67.88 kB / 443.2 MB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3117, allocations: 65.99 MB / 0.4972 GB, free: 29.87 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009495/0.3212, allocations: 11.59 MB / 0.5085 GB, free: 22.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00757/0.3288, allocations: 4.615 MB / 0.513 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001503/0.3303, allocations: 98.81 kB / 0.5131 GB, free: 19.34 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006209/0.3365, allocations: 3.879 MB / 0.5169 GB, free: 17.69 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00519/0.3417, allocations: 2.239 MB / 0.5191 GB, free: 16.63 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.3445, allocations: 1.186 MB / 0.5203 GB, free: 16.14 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00927/0.3538, allocations: 5.821 MB / 0.526 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006239/0.36, allocations: 4.016 MB / 0.5299 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00489/0.3649, allocations: 2.209 MB / 0.532 GB, free: 11.14 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006255/0.3712, allocations: 2.988 MB / 0.535 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001479/0.3727, allocations: 0.4986 MB / 0.5354 GB, free: 10.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00331/0.376, allocations: 1.534 MB / 0.5369 GB, free: 9.469 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002372/0.3783, allocations: 2.712 MB / 0.5396 GB, free: 7.844 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002584/0.3809, allocations: 2.241 MB / 0.5418 GB, free: 6.312 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.3914, allocations: 9.97 MB / 0.5515 GB, free: 14.04 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.3914, allocations: 4 kB / 0.5515 GB, free: 14.04 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3914, allocations: 0 / 0.5515 GB, free: 14.04 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002215/0.3917, allocations: 0 / 0.5515 GB, free: 14.04 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.01644/0.4081, allocations: 6.59 MB / 0.558 GB, free: 7.379 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.4081, allocations: 16.03 kB / 0.558 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.4262, allocations: 2.848 MB / 0.5608 GB, free: 4.508 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01037/0.4366, allocations: 3.591 MB / 0.5643 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004783/0.4371, allocations: 375.9 kB / 0.5646 GB, free: 488 kB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/0.4388, allocations: 435.8 kB / 0.565 GB, free: 52 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02858/0.4674, allocations: 13.98 MB / 0.5787 GB, free: 1.191 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00018/0.4675, allocations: 55.52 kB / 0.5787 GB, free: 1.137 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007888/0.4683, allocations: 199.8 kB / 0.5789 GB, free: 0.9414 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003951/0.4723, allocations: 2.41 MB / 0.5813 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0262/0.4985, allocations: 11.78 MB / 0.5928 GB, free: 2.742 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.07022/0.5687, allocations: 47.75 MB / 0.6394 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01376/0.5825, allocations: 4.315 MB / 0.6436 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004412/0.5869, allocations: 2.758 MB / 0.6463 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01979/0.6067, allocations: 10.22 MB / 0.6563 GB, free: 336 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.6067, allocations: 55.81 kB / 0.6564 GB, free: 272 kB / 0.545 GB Notification: Performance of pre-optimization done (n=197): time 5e-06/0.6067, allocations: 4 kB / 0.6564 GB, free: 268 kB / 0.545 GB Notification: Performance of matching and sorting (n=248): time 0.4375/1.044, allocations: 44.66 MB / 0.7 GB, free: 145.3 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.044, allocations: 235.2 kB / 0.7002 GB, free: 145 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005988/1.05, allocations: 4.497 MB / 0.7046 GB, free: 143.4 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0005644/1.051, allocations: 62.58 kB / 0.7046 GB, free: 143.4 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002501/1.053, allocations: 4.026 MB / 0.7086 GB, free: 140.6 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001094/1.054, allocations: 0.9792 MB / 0.7095 GB, free: 139.9 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002375/1.057, allocations: 1.508 MB / 0.711 GB, free: 139.2 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 5.767e-05/1.057, allocations: 307.3 kB / 0.7113 GB, free: 138.9 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005638/1.063, allocations: 3.445 MB / 0.7147 GB, free: 137.7 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007885/1.07, allocations: 7.761 MB / 0.7222 GB, free: 130.7 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01501/1.085, allocations: 11.87 MB / 0.7338 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002602/1.086, allocations: 42.59 kB / 0.7339 GB, free: 121.7 MB / 0.5763 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.03233/1.118, allocations: 14.4 MB / 0.7479 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002862/1.118, allocations: 75.88 kB / 0.748 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003383/1.119, allocations: 156.4 kB / 0.7482 GB, free: 116.8 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01186/1.13, allocations: 4.014 MB / 0.7521 GB, free: 116.1 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005514/1.136, allocations: 1.64 MB / 0.7537 GB, free: 115.9 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02415/1.16, allocations: 19.5 MB / 0.7727 GB, free: 97.69 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006748/1.167, allocations: 485.7 kB / 0.7732 GB, free: 97.21 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001396/1.168, allocations: 436 kB / 0.7736 GB, free: 96.79 MB / 0.5763 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.00556/1.174, allocations: 2.661 MB / 0.7762 GB, free: 94.12 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/1.175, allocations: 405.3 kB / 0.7766 GB, free: 93.72 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01694/1.192, allocations: 8.566 MB / 0.785 GB, free: 85.13 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-05/1.192, allocations: 28 kB / 0.785 GB, free: 85.11 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.843e-05/1.192, allocations: 12 kB / 0.785 GB, free: 85.09 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.436e-05/1.192, allocations: 15.95 kB / 0.785 GB, free: 85.08 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03259/1.225, allocations: 16.18 MB / 0.8008 GB, free: 68.93 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/1.225, allocations: 0 / 0.8008 GB, free: 68.93 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00204/1.227, allocations: 395.4 kB / 0.8012 GB, free: 68.54 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01114/1.238, allocations: 4.075 MB / 0.8052 GB, free: 64.45 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005323/1.238, allocations: 43.98 kB / 0.8052 GB, free: 64.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02185/1.26, allocations: 17.9 MB / 0.8227 GB, free: 46.41 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/1.26, allocations: 4.031 kB / 0.8227 GB, free: 46.41 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02342/1.284, allocations: 13.18 MB / 0.8356 GB, free: 33.2 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/1.285, allocations: 361.2 kB / 0.8359 GB, free: 32.85 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001517/1.287, allocations: 36 kB / 0.8359 GB, free: 32.81 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003231/1.29, allocations: 223.6 kB / 0.8362 GB, free: 32.59 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008342/1.291, allocations: 166.1 kB / 0.8363 GB, free: 32.43 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000385/1.291, allocations: 63.98 kB / 0.8364 GB, free: 32.37 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.004886/1.296, allocations: 2.609 MB / 0.8389 GB, free: 29.75 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.81e-07/1.296, allocations: 0 / 0.8389 GB, free: 29.75 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.008808/1.305, allocations: 1.46 MB / 0.8404 GB, free: 28.29 MB / 0.5763 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.0009463/1.306, allocations: 214.3 kB / 0.8406 GB, free: 28.08 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.319, allocations: 7.906 MB / 0.8483 GB, free: 20.2 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.319, allocations: 0 / 0.8483 GB, free: 20.2 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.004284/1.323, allocations: 2.873 MB / 0.8511 GB, free: 17.3 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004545/1.328, allocations: 463.1 kB / 0.8515 GB, free: 16.86 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02438/1.352, allocations: 13.11 MB / 0.8643 GB, free: 3.699 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008465/1.361, allocations: 3.579 MB / 0.8678 GB, free: 96 kB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006513/1.367, allocations: 2.129 MB / 0.8699 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.369, allocations: 260.5 kB / 0.8701 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.182e-06/1.369, allocations: 0 / 0.8701 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.1155/1.484, allocations: 57.5 MB / 0.9263 GB, free: 4.605 MB / 0.6388 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins1/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: 8.245827520964667]