Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.001994/0.001994, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.00213/0.00213, allocations: 165.6 kB / 24.27 MB, free: 152 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.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 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.3529/0.3529, allocations: 34.25 MB / 295.3 MB, free: 0.6836 MB / 266.7 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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 377.3 MB, free: 3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.615e-05/2.79e-05, allocations: 5.688 kB / 377.3 MB, free: 2.996 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02117/0.0212, allocations: 15.33 MB / 392.6 MB, free: 3.59 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.03392, allocations: 5.358 MB / 398 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002297/0.03622, allocations: 131.3 kB / 398.1 MB, free: 14.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.04762, allocations: 5.491 MB / 403.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007481/0.0551, allocations: 2.764 MB / 406.3 MB, free: 5.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003474/0.05857, allocations: 1.571 MB / 407.9 MB, free: 4.227 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0137/0.07227, allocations: 9.348 MB / 417.3 MB, free: 10.86 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009076/0.08135, allocations: 6.146 MB / 423.4 MB, free: 4.625 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007698/0.08905, allocations: 4.273 MB / 427.7 MB, free: 352 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007951/0.097, allocations: 4.26 MB / 431.9 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001867/0.09887, allocations: 0.6523 MB / 432.6 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004397/0.1033, allocations: 1.74 MB / 434.3 MB, free: 9.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005293/0.1086, allocations: 3.616 MB / 438 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005362/0.1139, allocations: 2.271 MB / 440.2 MB, free: 3.777 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1799/0.2938, allocations: 12.24 MB / 452.5 MB, free: 67.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2938, allocations: 0 / 452.5 MB, free: 67.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2938, allocations: 0 / 452.5 MB, free: 67.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004532/0.2943, allocations: 1.312 kB / 452.5 MB, free: 67.24 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: 2166 * Number of variables: 2166 Notification: Performance of Generate backend data structure: time 0.02423/0.3185, allocations: 9.334 MB / 461.8 MB, free: 64.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/0.3186, allocations: 12 kB / 461.8 MB, free: 64.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01665/0.3352, allocations: 3.771 MB / 465.6 MB, free: 63.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01219/0.3474, allocations: 4.503 MB / 470.1 MB, free: 62.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002921/0.3477, allocations: 380.6 kB / 470.5 MB, free: 62.71 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002045/0.3497, allocations: 0.5061 MB / 471 MB, free: 62.58 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02461/0.3744, allocations: 10.16 MB / 481.1 MB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002361/0.3746, allocations: 67.59 kB / 481.2 MB, free: 57.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006944/0.3753, allocations: 236 kB / 481.4 MB, free: 57.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003916/0.3792, allocations: 2.543 MB / 484 MB, free: 56.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.4, allocations: 5.703 MB / 489.7 MB, free: 55.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07355/0.4736, allocations: 69.71 MB / 0.5463 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01769/0.4912, allocations: 4.11 MB / 0.5503 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003339/0.4946, allocations: 1.129 MB / 0.5514 GB, free: 9.109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02423/0.5188, allocations: 7.046 MB / 0.5583 GB, free: 2.102 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.36e-05/0.5189, allocations: 61.47 kB / 0.5583 GB, free: 2.035 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 6.893e-06/0.5189, allocations: 0 / 0.5583 GB, free: 2.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.1269/0.6458, allocations: 28.36 MB / 0.586 GB, free: 5.867 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/0.646, allocations: 243.9 kB / 0.5863 GB, free: 5.578 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01296/0.659, allocations: 6.235 MB / 0.5923 GB, free: 15.35 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008688/0.6598, allocations: 77.7 kB / 0.5924 GB, free: 15.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005388/0.6652, allocations: 5.028 MB / 0.5973 GB, free: 10.28 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002499/0.6677, allocations: 1.452 MB / 0.5987 GB, free: 8.844 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004205/0.6719, allocations: 2.218 MB / 0.6009 GB, free: 6.605 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.6722, allocations: 486.2 kB / 0.6014 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003724/0.6759, allocations: 1.45 MB / 0.6028 GB, free: 4.672 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2292/0.9051, allocations: 8.574 MB / 0.6112 GB, free: 131.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01273/0.9178, allocations: 11.36 MB / 0.6223 GB, free: 122.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002648/0.9181, allocations: 49.38 kB / 0.6223 GB, free: 122.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.0275/0.9456, allocations: 10.47 MB / 0.6325 GB, free: 121.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.9457, allocations: 71.31 kB / 0.6326 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/0.946, allocations: 164.1 kB / 0.6327 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01619/0.9622, allocations: 3.247 MB / 0.6359 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007378/0.9695, allocations: 1.89 MB / 0.6378 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02247/0.992, allocations: 9.03 MB / 0.6466 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008807/1.001, allocations: 0.5846 MB / 0.6472 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/1.003, allocations: 488.7 kB / 0.6476 GB, free: 119 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 720 * Number of states: 0 () * Number of discrete variables: 46 (jointUSP.prismatic.positiveBranch,body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.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],ground_rod.color[3],ground_rod.color[2],ground_rod.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1027): * Single equations (assignments): 1023 * 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,77,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00602/1.009, allocations: 0.9354 MB / 0.6485 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001717/1.011, allocations: 0.6016 MB / 0.6491 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01681/1.028, allocations: 5.579 MB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.321e-05/1.028, allocations: 41.39 kB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.634e-05/1.028, allocations: 18.78 kB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.984e-05/1.028, allocations: 18.86 kB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03633/1.064, allocations: 14.72 MB / 0.669 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-05/1.064, allocations: 11.33 kB / 0.669 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002376/1.066, allocations: 0.4953 MB / 0.6695 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01373/1.08, allocations: 2.843 MB / 0.6723 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001006/1.081, allocations: 65.25 kB / 0.6724 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01624/1.097, allocations: 7.328 MB / 0.6795 GB, free: 99.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.28e-05/1.097, allocations: 19.06 kB / 0.6795 GB, free: 99.37 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/1.117, allocations: 7.365 MB / 0.6867 GB, free: 91.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001955/1.119, allocations: 0.5234 MB / 0.6872 GB, free: 91.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00144/1.121, allocations: 70.64 kB / 0.6873 GB, free: 91.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003879/1.125, allocations: 299.5 kB / 0.6876 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000963/1.126, allocations: 242.1 kB / 0.6878 GB, free: 90.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004185/1.126, allocations: 91.98 kB / 0.6879 GB, free: 90.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006443/1.132, allocations: 2.654 MB / 0.6905 GB, free: 88.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.132, allocations: 0 / 0.6905 GB, free: 88.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009265/1.142, allocations: 1.967 MB / 0.6924 GB, free: 86.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (261): * Single equations (assignments): 257 * 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,64,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001083/1.143, allocations: 279.5 kB / 0.6927 GB, free: 85.82 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01127/1.154, allocations: 5.895 MB / 0.6984 GB, free: 79.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/1.154, allocations: 0 / 0.6984 GB, free: 79.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00363/1.158, allocations: 2.071 MB / 0.7005 GB, free: 77.81 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004464/1.162, allocations: 0.6862 MB / 0.7011 GB, free: 77.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.184, allocations: 12.89 MB / 0.7137 GB, free: 64.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00637/1.191, allocations: 3.953 MB / 0.7176 GB, free: 60.08 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005585/1.196, allocations: 2.121 MB / 0.7197 GB, free: 57.95 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001481/1.198, allocations: 344.4 kB / 0.72 GB, free: 57.61 MB / 474.7 MB Notification: Performance of SimCode: time 1.613e-06/1.198, allocations: 0 / 0.72 GB, free: 57.61 MB / 474.7 MB Notification: Performance of Templates: time 0.2861/1.484, allocations: 74.24 MB / 0.7925 GB, free: 138.8 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.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.69408623909112]