Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001085/0.001085, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002303, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007217/0.0007217, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009471/0.001669, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.008/1.008, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1314/1.14, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.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.3349/0.3349, allocations: 32.81 MB / 276.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0307/0.3655, allocations: 12.53 MB / 289.3 MB, free: 8.676 MB / 282.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.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 290.6 MB, free: 7.668 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.069e-05/2.299e-05, allocations: 6.312 kB / 290.6 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.01694/0.01696, allocations: 15.2 MB / 305.8 MB, free: 9.059 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009401/0.02636, allocations: 5.596 MB / 311.4 MB, free: 3.441 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.02784, allocations: 127.4 kB / 311.5 MB, free: 3.316 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.03253, allocations: 5.186 MB / 316.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003891/0.03643, allocations: 2.745 MB / 319.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001969/0.03839, allocations: 1.431 MB / 320.9 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.04592, allocations: 8.579 MB / 329.5 MB, free: 1.328 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005228/0.05115, allocations: 5.573 MB / 335 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005308/0.05645, allocations: 5.44 MB / 340.5 MB, free: 6.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003855/0.06031, allocations: 4.034 MB / 344.5 MB, free: 2.133 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006459/0.06095, allocations: 0.6484 MB / 345.2 MB, free: 1.484 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002414/0.06337, allocations: 1.779 MB / 346.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002006/0.06537, allocations: 3.196 MB / 350.1 MB, free: 12.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001628/0.067, allocations: 1.831 MB / 352 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005505/0.07251, allocations: 6.984 MB / 358.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.07252, allocations: 0 / 358.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.07252, allocations: 4 kB / 358.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001153/0.07264, allocations: 0 / 358.9 MB, free: 3.652 MB / 346.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.008666/0.08131, allocations: 8.755 MB / 367.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.08135, allocations: 12.02 kB / 367.7 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00363/0.08498, allocations: 1.589 MB / 369.3 MB, free: 9.203 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003745/0.08872, allocations: 3.463 MB / 372.8 MB, free: 5.641 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.08892, allocations: 382.2 kB / 373.1 MB, free: 5.266 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005745/0.0895, allocations: 0.5042 MB / 373.6 MB, free: 4.762 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007852/0.09735, allocations: 7.432 MB / 381.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001078/0.09746, allocations: 67.41 kB / 381.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004281/0.09789, allocations: 235.8 kB / 381.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00192/0.09981, allocations: 2.314 MB / 383.7 MB, free: 9.785 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005982/0.1058, allocations: 3.759 MB / 387.4 MB, free: 5.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03403/0.1398, allocations: 43.02 MB / 430.5 MB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006303/0.1461, allocations: 2.678 MB / 433.1 MB, free: 6.832 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008199/0.1469, allocations: 0.6465 MB / 433.8 MB, free: 6.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2195/0.3664, allocations: 6.629 MB / 440.4 MB, free: 122.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.3665, allocations: 65.69 kB / 440.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=229): time 5.23e-06/0.3665, allocations: 4.922 kB / 440.5 MB, free: 122.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=313): time 0.02992/0.3964, allocations: 12.45 MB / 452.9 MB, free: 121.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.3965, allocations: 168.2 kB / 453.1 MB, free: 121.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/0.4003, allocations: 4.422 MB / 457.5 MB, free: 120.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.4005, allocations: 77.06 kB / 457.6 MB, free: 120.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001648/0.4021, allocations: 4.177 MB / 461.8 MB, free: 118 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006322/0.4028, allocations: 1.199 MB / 463 MB, free: 117.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/0.4041, allocations: 1.603 MB / 464.6 MB, free: 116.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 4.211e-05/0.4042, allocations: 305.1 kB / 464.9 MB, free: 116.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001612/0.4058, allocations: 1.138 MB / 466 MB, free: 115.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.4087, allocations: 5.711 MB / 471.7 MB, free: 107.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004887/0.4136, allocations: 7.531 MB / 479.3 MB, free: 98.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.486e-05/0.4137, allocations: 48 kB / 479.3 MB, free: 98.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=1107) (initialization): time 0.007536/0.4212, allocations: 6.35 MB / 485.7 MB, free: 92.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.05e-05/0.4213, allocations: 76 kB / 485.7 MB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000103/0.4214, allocations: 160 kB / 485.9 MB, free: 92.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003384/0.4248, allocations: 1.457 MB / 487.3 MB, free: 90.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003039/0.4278, allocations: 2.043 MB / 489.4 MB, free: 88.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.4333, allocations: 4.685 MB / 494.1 MB, free: 83.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003323/0.4366, allocations: 343.7 kB / 494.4 MB, free: 83.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/0.437, allocations: 412 kB / 494.8 MB, free: 83.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 738 * 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 (1031): * Single equations (assignments): 1027 * 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,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001885/0.4389, allocations: 0.7869 MB / 495.6 MB, free: 82.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/0.4393, allocations: 355.6 kB / 495.9 MB, free: 82.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003705/0.443, allocations: 2.46 MB / 498.4 MB, free: 79.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/0.4431, allocations: 32 kB / 498.4 MB, free: 79.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.4431, allocations: 8 kB / 498.4 MB, free: 79.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.4431, allocations: 11.95 kB / 498.5 MB, free: 79.54 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009985/0.4531, allocations: 8.276 MB / 0.4949 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.628e-05/0.4531, allocations: 16 kB / 0.4949 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/0.4541, allocations: 495.7 kB / 0.4953 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005102/0.4546, allocations: 0.4886 MB / 0.4958 GB, free: 69.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003226/0.4579, allocations: 1.432 MB / 0.4972 GB, free: 68.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.458, allocations: 63.98 kB / 0.4973 GB, free: 68.49 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00434/0.4624, allocations: 3.546 MB / 0.5007 GB, free: 64.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.175e-05/0.4624, allocations: 25.94 kB / 0.5008 GB, free: 64.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.467, allocations: 3.857 MB / 0.5045 GB, free: 60.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004236/0.4675, allocations: 72.02 kB / 0.5046 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.4685, allocations: 64 kB / 0.5047 GB, free: 60.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.4688, allocations: 233.3 kB / 0.5049 GB, free: 60.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001229/0.4689, allocations: 75.98 kB / 0.505 GB, free: 60.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00134/0.4702, allocations: 1.724 MB / 0.5066 GB, free: 58.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4702, allocations: 0 / 0.5066 GB, free: 58.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004865/0.4751, allocations: 1.742 MB / 0.5083 GB, free: 56.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 58 * 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 (251): * Single equations (assignments): 247 * 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,42,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004869/0.4756, allocations: 263.6 kB / 0.5086 GB, free: 56.46 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00422/0.4798, allocations: 3.832 MB / 0.5123 GB, free: 52.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001996/0.48, allocations: 144 kB / 0.5125 GB, free: 52.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009963/0.481, allocations: 1.13 MB / 0.5136 GB, free: 51.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/0.4838, allocations: 1.379 MB / 0.5149 GB, free: 49.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.5002, allocations: 12.3 MB / 0.5269 GB, free: 37.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001911/0.5021, allocations: 1.976 MB / 0.5289 GB, free: 35.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001987/0.5041, allocations: 0.7092 MB / 0.5296 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/0.5053, allocations: 0.8018 MB / 0.5303 GB, free: 33.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.964e-06/0.5053, allocations: 0 / 0.5303 GB, free: 33.88 MB / 426.7 MB Notification: Performance of Templates: time 0.0875/0.5928, allocations: 63.21 MB / 0.5921 GB, free: 3.23 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.FourbarVariants.JointUSP_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/FourbarVariants/JointUSP/JointUSP.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.858630853705108]