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.001532/0.001532, allocations: 79.59 kB / 21.18 MB, free: 3.379 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.001524/0.001524, allocations: 161 kB / 24.56 MB, free: 8 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.019/1.019, allocations: 177.1 MB / 205 MB, free: 5.617 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.2953/0.2953, allocations: 32.8 MB / 294.3 MB, free: 1.188 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.463e-06/1.463e-06, allocations: 0 / 376 MB, free: 4.625 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.884e-05/2.031e-05, allocations: 2.312 kB / 376 MB, free: 4.621 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.009846/0.009866, allocations: 12.82 MB / 388.8 MB, free: 7.742 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.01646, allocations: 4.774 MB / 393.6 MB, free: 2.953 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001172/0.01763, allocations: 95.56 kB / 393.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.02188, allocations: 4.272 MB / 398 MB, free: 14.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003619/0.0255, allocations: 2.329 MB / 400.3 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001982/0.02748, allocations: 1.31 MB / 401.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005816/0.0333, allocations: 6.546 MB / 408.2 MB, free: 4.367 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003749/0.03705, allocations: 4.678 MB / 412.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003761/0.04081, allocations: 3.918 MB / 416.8 MB, free: 11.69 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00276/0.04357, allocations: 3.254 MB / 420 MB, free: 8.43 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000564/0.04413, allocations: 0.5 MB / 420.5 MB, free: 7.93 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001992/0.04612, allocations: 1.599 MB / 422.1 MB, free: 6.328 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00154/0.04766, allocations: 2.836 MB / 425 MB, free: 3.484 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0013/0.04896, allocations: 1.772 MB / 426.7 MB, free: 1.707 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.05391, allocations: 6.314 MB / 433 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.82e-06/0.05392, allocations: 0 / 433 MB, free: 11.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.05392, allocations: 0 / 433 MB, free: 11.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.365e-05/0.05399, allocations: 0 / 433 MB, free: 11.37 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.007408/0.0614, allocations: 7.072 MB / 440.1 MB, free: 4.219 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.06144, allocations: 8.031 kB / 440.1 MB, free: 4.211 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008316/0.06976, allocations: 3.27 MB / 443.4 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2132/0.283, allocations: 3.087 MB / 446.5 MB, free: 93.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002965/0.2833, allocations: 370.5 kB / 446.8 MB, free: 93.17 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007484/0.284, allocations: 437 kB / 447.3 MB, free: 93.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/0.2999, allocations: 8.509 MB / 455.8 MB, free: 89.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001665/0.3001, allocations: 49.28 kB / 455.8 MB, free: 89.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005291/0.3006, allocations: 209.5 kB / 456 MB, free: 89.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002926/0.3036, allocations: 2.351 MB / 458.4 MB, free: 89.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01278/0.3163, allocations: 4.679 MB / 463.1 MB, free: 88.82 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04037/0.3567, allocations: 54.75 MB / 0.5057 GB, free: 44.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006321/0.363, allocations: 2.511 MB / 0.5081 GB, free: 44.39 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.3641, allocations: 0.8084 MB / 0.5089 GB, free: 44.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008285/0.3724, allocations: 6.208 MB / 0.515 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.669e-05/0.3724, allocations: 60.39 kB / 0.515 GB, free: 41.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=178): time 4.789e-06/0.3724, allocations: 3.984 kB / 0.515 GB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=226): time 0.03445/0.4069, allocations: 17.93 MB / 0.5326 GB, free: 25.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.407, allocations: 231.6 kB / 0.5328 GB, free: 25.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.4108, allocations: 4.186 MB / 0.5369 GB, free: 21.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.4109, allocations: 65.69 kB / 0.5369 GB, free: 21.32 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.4125, allocations: 4.256 MB / 0.5411 GB, free: 17.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005153/0.413, allocations: 0.9179 MB / 0.542 GB, free: 16.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001232/0.4142, allocations: 1.565 MB / 0.5435 GB, free: 14.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.4143, allocations: 488.6 kB / 0.544 GB, free: 14.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001192/0.4155, allocations: 0.8186 MB / 0.5448 GB, free: 13.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003351/0.4188, allocations: 7.381 MB / 0.552 GB, free: 2.945 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00825/0.4271, allocations: 8.985 MB / 0.5608 GB, free: 7.023 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-05/0.4272, allocations: 47.94 kB / 0.5608 GB, free: 6.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=960) (initialization): time 0.01013/0.4373, allocations: 6.764 MB / 0.5674 GB, free: 208 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.307e-05/0.4374, allocations: 72.94 kB / 0.5675 GB, free: 136 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002082/0.4376, allocations: 160 kB / 0.5676 GB, free: 15.97 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.4394, allocations: 0.8854 MB / 0.5685 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002814/0.4422, allocations: 1.677 MB / 0.5701 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004801/0.447, allocations: 4.173 MB / 0.5742 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003043/0.4501, allocations: 447.5 kB / 0.5746 GB, free: 8.676 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003972/0.4505, allocations: 444 kB / 0.5751 GB, free: 8.242 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 707 * 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 (905): * Single equations (assignments): 901 * 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 {(1,31,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001662/0.4521, allocations: 0.7479 MB / 0.5758 GB, free: 7.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005225/0.4526, allocations: 473.2 kB / 0.5762 GB, free: 7.016 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002946/0.4556, allocations: 1.996 MB / 0.5782 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/0.4556, allocations: 24 kB / 0.5782 GB, free: 4.973 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.4556, allocations: 8 kB / 0.5782 GB, free: 4.965 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/0.4556, allocations: 11.95 kB / 0.5782 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01094/0.4666, allocations: 7.316 MB / 0.5854 GB, free: 13.51 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.4666, allocations: 8 kB / 0.5854 GB, free: 13.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008639/0.4675, allocations: 384.1 kB / 0.5857 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.469, allocations: 0.6667 MB / 0.5864 GB, free: 12.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.4692, allocations: 44 kB / 0.5864 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00386/0.473, allocations: 3.182 MB / 0.5895 GB, free: 9.113 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.473, allocations: 8.031 kB / 0.5896 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005105/0.4781, allocations: 3.462 MB / 0.5929 GB, free: 5.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008772/0.479, allocations: 389.1 kB / 0.5933 GB, free: 5.137 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.4793, allocations: 40 kB / 0.5933 GB, free: 5.098 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009149/0.4802, allocations: 155.8 kB / 0.5935 GB, free: 4.945 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.4805, allocations: 156.7 kB / 0.5936 GB, free: 4.797 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.4806, allocations: 65 kB / 0.5937 GB, free: 4.734 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00257/0.4832, allocations: 1.807 MB / 0.5955 GB, free: 2.922 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4832, allocations: 4.031 kB / 0.5955 GB, free: 2.918 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00522/0.4884, allocations: 1.32 MB / 0.5968 GB, free: 1.598 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (179): * Single equations (assignments): 175 * 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 {(1,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005504/0.489, allocations: 239.4 kB / 0.597 GB, free: 1.355 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.1737/0.6627, allocations: 3.696 MB / 0.6006 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.6627, allocations: 2.906 kB / 0.6006 GB, free: 124.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001242/0.6639, allocations: 0.9858 MB / 0.6016 GB, free: 124.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002306/0.6662, allocations: 488.7 kB / 0.602 GB, free: 124.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/0.6769, allocations: 9.741 MB / 0.6115 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/0.6781, allocations: 1.627 MB / 0.6131 GB, free: 120.5 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002444/0.6805, allocations: 1.846 MB / 0.6149 GB, free: 120.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.681, allocations: 274.1 kB / 0.6152 GB, free: 120.4 MB / 458.7 MB Notification: Performance of SimCode: time 1.372e-06/0.681, allocations: 0 / 0.6152 GB, free: 120.4 MB / 458.7 MB Notification: Performance of Templates: time 0.05573/0.7367, allocations: 39.31 MB / 0.6536 GB, free: 107.7 MB / 458.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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.86729979282245]