Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001584/0.001584, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.508/1.508, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4168/0.4168, allocations: 32.79 MB / 293.9 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0 / 375.3 MB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.131e-05, allocations: 2.312 kB / 375.3 MB, free: 4.969 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.01748/0.01751, allocations: 11.6 MB / 386.9 MB, free: 9.312 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01203/0.02954, allocations: 4.63 MB / 391.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002675/0.03222, allocations: 95.56 kB / 391.6 MB, free: 4.578 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009706/0.04192, allocations: 4.143 MB / 395.7 MB, free: 432 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007463/0.04939, allocations: 2.317 MB / 398 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003596/0.05298, allocations: 1.31 MB / 399.4 MB, free: 12.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01213/0.06511, allocations: 6.55 MB / 405.9 MB, free: 6.223 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009201/0.07432, allocations: 4.666 MB / 410.6 MB, free: 1.484 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009415/0.08373, allocations: 3.318 MB / 413.9 MB, free: 14.16 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006768/0.0905, allocations: 3.215 MB / 417.1 MB, free: 10.93 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002099/0.0926, allocations: 0.5117 MB / 417.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004786/0.09738, allocations: 1.596 MB / 419.2 MB, free: 8.824 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004595/0.102, allocations: 2.836 MB / 422.1 MB, free: 5.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004903/0.1069, allocations: 1.788 MB / 423.8 MB, free: 4.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01636/0.1232, allocations: 10.13 MB / 434 MB, free: 10.03 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1233, allocations: 4 kB / 434 MB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.1233, allocations: 0 / 434 MB, free: 10.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003936/0.1236, allocations: 0 / 434 MB, free: 10.02 MB / 410.7 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.02134/0.145, allocations: 6.644 MB / 440.6 MB, free: 3.309 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.145, allocations: 8.031 kB / 440.6 MB, free: 3.301 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2101/0.3552, allocations: 3.411 MB / 444 MB, free: 98.2 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008448/0.3636, allocations: 3.592 MB / 447.6 MB, free: 97.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003843/0.364, allocations: 366.7 kB / 448 MB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00178/0.3658, allocations: 434.2 kB / 448.4 MB, free: 97.04 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02315/0.389, allocations: 14.04 MB / 462.4 MB, free: 90.83 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.3891, allocations: 56.78 kB / 462.5 MB, free: 90.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000536/0.3896, allocations: 201 kB / 462.7 MB, free: 90.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003062/0.3927, allocations: 2.415 MB / 465.1 MB, free: 90.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02281/0.4155, allocations: 11.83 MB / 476.9 MB, free: 86.6 MB / 410.7 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.06203/0.4775, allocations: 48.48 MB / 0.5131 GB, free: 45.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.4889, allocations: 4.281 MB / 0.5173 GB, free: 41.58 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003287/0.4921, allocations: 2.808 MB / 0.52 GB, free: 38.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01565/0.5078, allocations: 10.5 MB / 0.5303 GB, free: 28.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.5078, allocations: 55.88 kB / 0.5303 GB, free: 28.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=200): time 5.55e-06/0.5078, allocations: 0 / 0.5303 GB, free: 28.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=252): time 0.1651/0.673, allocations: 50.95 MB / 0.5801 GB, free: 9.266 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001851/0.6732, allocations: 235.6 kB / 0.5803 GB, free: 8.984 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007548/0.6807, allocations: 4.617 MB / 0.5848 GB, free: 4.344 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006166/0.6813, allocations: 65.7 kB / 0.5849 GB, free: 4.273 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003718/0.685, allocations: 3.965 MB / 0.5888 GB, free: 276 kB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001527/0.6866, allocations: 0.9769 MB / 0.5897 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002615/0.6892, allocations: 1.485 MB / 0.5912 GB, free: 13.79 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003118/0.6895, allocations: 305.1 kB / 0.5915 GB, free: 13.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006404/0.6959, allocations: 3.669 MB / 0.595 GB, free: 9.816 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.208/0.9039, allocations: 7.931 MB / 0.6028 GB, free: 127.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01294/0.9168, allocations: 12.27 MB / 0.6148 GB, free: 119.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001084/0.9169, allocations: 43.38 kB / 0.6148 GB, free: 119.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=958) (initialization): time 0.03094/0.9479, allocations: 15.82 MB / 0.6303 GB, free: 114.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.948, allocations: 67.31 kB / 0.6303 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001701/0.9481, allocations: 150 kB / 0.6305 GB, free: 114.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01557/0.9637, allocations: 5.399 MB / 0.6357 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006075/0.9698, allocations: 1.643 MB / 0.6373 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02974/0.9995, allocations: 21.41 MB / 0.6583 GB, free: 104.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006048/1.006, allocations: 0.5397 MB / 0.6588 GB, free: 104.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007703/1.006, allocations: 432.9 kB / 0.6592 GB, free: 104.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 673 * 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 (876): * Single equations (assignments): 872 * 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 {(3,56,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003557/1.01, allocations: 2.658 MB / 0.6618 GB, free: 102.8 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009908/1.011, allocations: 476.8 kB / 0.6622 GB, free: 102.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01942/1.03, allocations: 9.705 MB / 0.6717 GB, free: 93.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-05/1.03, allocations: 28 kB / 0.6717 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/1.03, allocations: 12 kB / 0.6718 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.477e-05/1.03, allocations: 11.95 kB / 0.6718 GB, free: 93.61 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03468/1.065, allocations: 17.96 MB / 0.6893 GB, free: 75.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.103e-05/1.065, allocations: 4 kB / 0.6893 GB, free: 75.76 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/1.067, allocations: 423.4 kB / 0.6897 GB, free: 75.34 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01521/1.082, allocations: 5.437 MB / 0.695 GB, free: 69.91 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000689/1.083, allocations: 45.55 kB / 0.6951 GB, free: 69.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02396/1.107, allocations: 19.86 MB / 0.7145 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/1.107, allocations: 4 kB / 0.7145 GB, free: 50 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02496/1.132, allocations: 14.75 MB / 0.7289 GB, free: 35.37 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001571/1.134, allocations: 401.6 kB / 0.7292 GB, free: 34.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009337/1.135, allocations: 40 kB / 0.7293 GB, free: 34.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002981/1.138, allocations: 306.7 kB / 0.7296 GB, free: 34.65 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008552/1.138, allocations: 166.1 kB / 0.7297 GB, free: 34.48 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002383/1.139, allocations: 72.05 kB / 0.7298 GB, free: 34.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003957/1.143, allocations: 2.713 MB / 0.7325 GB, free: 31.69 MB / 458.7 MB Notification: Performance of sort global known variables: time 8e-08/1.143, allocations: 0 / 0.7325 GB, free: 31.69 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007461/1.15, allocations: 1.599 MB / 0.734 GB, free: 30.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (178): * Single equations (assignments): 174 * 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,51,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007922/1.151, allocations: 242.5 kB / 0.7343 GB, free: 29.87 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01161/1.163, allocations: 8.353 MB / 0.7424 GB, free: 21.54 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.163, allocations: 0 / 0.7424 GB, free: 21.54 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004533/1.167, allocations: 3.099 MB / 0.7454 GB, free: 18.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.17, allocations: 496.4 kB / 0.7459 GB, free: 17.96 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/1.191, allocations: 13.5 MB / 0.7591 GB, free: 4.371 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004196/1.195, allocations: 3.591 MB / 0.7626 GB, free: 0.7695 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005308/1.2, allocations: 2.144 MB / 0.7647 GB, free: 14.62 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/1.201, allocations: 272.4 kB / 0.7649 GB, free: 14.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.833e-06/1.201, allocations: 4 kB / 0.765 GB, free: 14.35 MB / 474.7 MB Notification: Performance of Templates: time 0.2821/1.483, allocations: 63.11 MB / 0.8266 GB, free: 117.8 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.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.346524880034849]