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.0008771/0.0008771, allocations: 87.62 kB / 21.44 MB, free: 3.121 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.003781/0.003781, allocations: 159.9 kB / 24.7 MB, free: 9.434 MB / 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 0.9096/0.9096, allocations: 177.1 MB / 205 MB, free: 5.711 MB / 186.7 MB " [Timeout remaining time 179] 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.2591/0.2591, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.723e-06/1.723e-06, allocations: 0 / 440.9 MB, free: 3.738 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.698e-05/2.87e-05, allocations: 9.312 kB / 440.9 MB, free: 3.73 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1969/0.197, allocations: 11.59 MB / 452.5 MB, free: 40.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00554/0.2025, allocations: 4.624 MB / 457.1 MB, free: 37.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000889/0.2034, allocations: 94.78 kB / 457.2 MB, free: 37.41 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.2065, allocations: 4.08 MB / 461.3 MB, free: 35.68 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.2091, allocations: 2.304 MB / 463.6 MB, free: 34.57 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001399/0.2105, allocations: 1.296 MB / 464.9 MB, free: 34.01 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003808/0.2143, allocations: 6.549 MB / 471.4 MB, free: 31.56 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002815/0.2171, allocations: 4.524 MB / 475.9 MB, free: 29.57 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.2195, allocations: 3.328 MB / 479.3 MB, free: 28.09 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002296/0.2218, allocations: 3.207 MB / 482.5 MB, free: 27.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005422/0.2224, allocations: 0.5084 MB / 483 MB, free: 27.21 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002055/0.2244, allocations: 1.598 MB / 484.6 MB, free: 26.93 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001907/0.2263, allocations: 2.836 MB / 487.4 MB, free: 25.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001654/0.228, allocations: 1.79 MB / 489.2 MB, free: 24.79 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01058/0.2386, allocations: 10.09 MB / 499.3 MB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.2386, allocations: 0 / 499.3 MB, free: 20.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2386, allocations: 0 / 499.3 MB, free: 20.39 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002334/0.2388, allocations: 0 / 499.3 MB, free: 20.39 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.01131/0.2501, allocations: 6.632 MB / 0.4941 GB, free: 15.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.2502, allocations: 9.312 kB / 0.4941 GB, free: 15.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009277/0.2594, allocations: 2.815 MB / 0.4968 GB, free: 14.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005152/0.2646, allocations: 3.572 MB / 0.5003 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002111/0.2648, allocations: 375.7 kB / 0.5007 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006124/0.2654, allocations: 430.3 kB / 0.5011 GB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01467/0.2801, allocations: 13.97 MB / 0.5147 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.2802, allocations: 63.47 kB / 0.5148 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004039/0.2806, allocations: 195.8 kB / 0.515 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002341/0.2829, allocations: 2.41 MB / 0.5173 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.2994, allocations: 11.76 MB / 0.5288 GB, free: 14.83 MB / 442.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.04788/0.3473, allocations: 48.22 MB / 0.5759 GB, free: 13.38 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007317/0.3546, allocations: 4.301 MB / 0.5801 GB, free: 9.035 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/0.3573, allocations: 2.757 MB / 0.5828 GB, free: 6.262 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.3697, allocations: 10.31 MB / 0.5928 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.3697, allocations: 55.81 kB / 0.5929 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=197): time 7.033e-06/0.3697, allocations: 4 kB / 0.5929 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.2907/0.6604, allocations: 44.75 MB / 0.6366 GB, free: 156.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.6605, allocations: 236.1 kB / 0.6368 GB, free: 155.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005072/0.6655, allocations: 4.665 MB / 0.6414 GB, free: 154.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005028/0.666, allocations: 61.95 kB / 0.6414 GB, free: 154.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001141/0.6672, allocations: 3.987 MB / 0.6453 GB, free: 152.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005965/0.6678, allocations: 0.9689 MB / 0.6463 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001301/0.6691, allocations: 1.486 MB / 0.6477 GB, free: 150.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.694e-05/0.6691, allocations: 304.4 kB / 0.648 GB, free: 150.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002846/0.672, allocations: 3.441 MB / 0.6514 GB, free: 149.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003748/0.6757, allocations: 7.745 MB / 0.6589 GB, free: 142.4 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007001/0.6827, allocations: 11.86 MB / 0.6705 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.91e-05/0.6827, allocations: 43.53 kB / 0.6706 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.01668/0.6994, allocations: 14.4 MB / 0.6846 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-05/0.6995, allocations: 69.56 kB / 0.6847 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/0.6997, allocations: 152.1 kB / 0.6848 GB, free: 128.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007104/0.7068, allocations: 4.017 MB / 0.6888 GB, free: 127.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002806/0.7096, allocations: 1.627 MB / 0.6904 GB, free: 127.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01712/0.7267, allocations: 19.53 MB / 0.7094 GB, free: 117 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/0.7313, allocations: 494.6 kB / 0.7099 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/0.7317, allocations: 434 kB / 0.7103 GB, free: 116.2 MB / 0.5261 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.003967/0.7357, allocations: 2.649 MB / 0.7129 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006017/0.7363, allocations: 414.1 kB / 0.7133 GB, free: 113.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009548/0.7458, allocations: 8.567 MB / 0.7217 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/0.7459, allocations: 24 kB / 0.7217 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.7459, allocations: 15.94 kB / 0.7217 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/0.7459, allocations: 15.95 kB / 0.7217 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01793/0.7638, allocations: 16.23 MB / 0.7376 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.7638, allocations: 2.938 kB / 0.7376 GB, free: 89.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.7649, allocations: 403.4 kB / 0.738 GB, free: 88.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006407/0.7714, allocations: 4.068 MB / 0.7419 GB, free: 84.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002534/0.7716, allocations: 36 kB / 0.742 GB, free: 84.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01463/0.7862, allocations: 17.92 MB / 0.7595 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.7862, allocations: 4.031 kB / 0.7595 GB, free: 66.86 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.8004, allocations: 13.17 MB / 0.7723 GB, free: 53.65 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001523/0.8019, allocations: 393.1 kB / 0.7727 GB, free: 53.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003754/0.8023, allocations: 39.83 kB / 0.7727 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.8036, allocations: 251.6 kB / 0.773 GB, free: 52.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004593/0.8041, allocations: 166 kB / 0.7731 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001399/0.8042, allocations: 67.47 kB / 0.7732 GB, free: 52.76 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00311/0.8073, allocations: 2.738 MB / 0.7759 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8073, allocations: 0 / 0.7759 GB, free: 50.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005314/0.8127, allocations: 1.566 MB / 0.7774 GB, free: 48.45 MB / 0.5261 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.0005624/0.8132, allocations: 238.5 kB / 0.7776 GB, free: 48.21 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007887/0.8211, allocations: 7.903 MB / 0.7853 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.8211, allocations: 0 / 0.7853 GB, free: 40.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00252/0.8236, allocations: 2.861 MB / 0.7881 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001933/0.8256, allocations: 466.5 kB / 0.7886 GB, free: 37.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/0.842, allocations: 13.64 MB / 0.8019 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/0.8449, allocations: 3.569 MB / 0.8054 GB, free: 19.76 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/0.846, allocations: 324.4 kB / 0.8057 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of SimCode: time 2.244e-06/0.846, allocations: 0 / 0.8057 GB, free: 19.44 MB / 0.5261 GB Notification: Performance of Templates: time 0.3219/1.168, allocations: 102.6 MB / 0.9059 GB, free: 130.9 MB / 0.5417 GB " [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: 10.821307091973722]