Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002004/0.002004, allocations: 99.53 kB / 20.97 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002029/0.002029, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.564/1.564, allocations: 177 MB / 204.5 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3437/0.3437, allocations: 34.25 MB / 295.2 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") translateModel(ModelicaTest.MultiBody.FourbarVariants.JointUSP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.203e-06/1.203e-06, allocations: 0 / 377.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.714e-05/2.834e-05, allocations: 2.312 kB / 377.2 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.JointUSP): time 0.02173/0.02176, allocations: 15.33 MB / 392.5 MB, free: 3.523 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01323/0.035, allocations: 5.354 MB / 397.9 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003123/0.03812, allocations: 131.3 kB / 398 MB, free: 14.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01206/0.05019, allocations: 5.502 MB / 403.5 MB, free: 8.504 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008335/0.05852, allocations: 2.764 MB / 406.3 MB, free: 5.727 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003737/0.06226, allocations: 1.567 MB / 407.8 MB, free: 4.156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01422/0.07648, allocations: 9.355 MB / 417.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009544/0.08602, allocations: 6.142 MB / 423.3 MB, free: 4.551 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007767/0.09379, allocations: 4.276 MB / 427.6 MB, free: 272 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007645/0.1014, allocations: 4.268 MB / 431.9 MB, free: 11.98 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001515/0.103, allocations: 0.6523 MB / 432.5 MB, free: 11.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003729/0.1067, allocations: 1.728 MB / 434.3 MB, free: 9.602 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004938/0.1116, allocations: 3.62 MB / 437.9 MB, free: 5.973 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004408/0.116, allocations: 2.271 MB / 440.2 MB, free: 3.695 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1852/0.3012, allocations: 12.24 MB / 452.4 MB, free: 67.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.3012, allocations: 5.031 kB / 452.4 MB, free: 67.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.3012, allocations: 0 / 452.4 MB, free: 67.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004528/0.3017, allocations: 0 / 452.4 MB, free: 67.21 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.02333/0.325, allocations: 9.334 MB / 461.7 MB, free: 64.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.325, allocations: 13.06 kB / 461.7 MB, free: 64.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01606/0.3411, allocations: 3.763 MB / 465.5 MB, free: 63.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/0.3537, allocations: 4.504 MB / 470 MB, free: 62.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003109/0.354, allocations: 385.2 kB / 470.4 MB, free: 62.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002087/0.3561, allocations: 0.5024 MB / 470.9 MB, free: 62.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02628/0.3824, allocations: 10.16 MB / 481.1 MB, free: 57.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002497/0.3826, allocations: 68.36 kB / 481.1 MB, free: 57.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008644/0.3835, allocations: 237.8 kB / 481.4 MB, free: 57.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004101/0.3876, allocations: 2.545 MB / 483.9 MB, free: 56.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02082/0.4084, allocations: 5.704 MB / 489.6 MB, free: 55.95 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07672/0.4852, allocations: 69.71 MB / 0.5462 GB, free: 14.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01792/0.5031, allocations: 4.099 MB / 0.5502 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004731/0.5078, allocations: 1.137 MB / 0.5513 GB, free: 9.078 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03185/0.5397, allocations: 7.042 MB / 0.5582 GB, free: 2.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/0.5398, allocations: 70.77 kB / 0.5583 GB, free: 1.996 MB / 426.7 MB Notification: Performance of pre-optimization done (n=248): time 1.04e-05/0.5398, allocations: 0 / 0.5583 GB, free: 1.996 MB / 426.7 MB Notification: Performance of matching and sorting (n=343): time 0.14/0.6798, allocations: 28.36 MB / 0.586 GB, free: 5.836 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.68, allocations: 243.9 kB / 0.5862 GB, free: 5.547 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01162/0.6916, allocations: 6.239 MB / 0.5923 GB, free: 15.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009264/0.6926, allocations: 77.7 kB / 0.5924 GB, free: 15.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005429/0.698, allocations: 5.029 MB / 0.5973 GB, free: 10.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002699/0.7007, allocations: 1.444 MB / 0.5987 GB, free: 8.809 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004451/0.7051, allocations: 2.221 MB / 0.6008 GB, free: 6.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.7054, allocations: 486.5 kB / 0.6013 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004008/0.7094, allocations: 1.446 MB / 0.6027 GB, free: 4.645 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1957/0.9051, allocations: 8.58 MB / 0.6111 GB, free: 131.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.9166, allocations: 11.36 MB / 0.6222 GB, free: 122.7 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002469/0.9168, allocations: 47.12 kB / 0.6222 GB, free: 122.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=1128) (initialization): time 0.02609/0.9429, allocations: 10.46 MB / 0.6324 GB, free: 121.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.9431, allocations: 76.22 kB / 0.6325 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/0.9433, allocations: 159.8 kB / 0.6327 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01576/0.959, allocations: 3.248 MB / 0.6358 GB, free: 121.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007519/0.9665, allocations: 1.892 MB / 0.6377 GB, free: 121.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02128/0.9878, allocations: 9.027 MB / 0.6465 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008059/0.9959, allocations: 0.5946 MB / 0.6471 GB, free: 119 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/0.9975, allocations: 481.5 kB / 0.6475 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.00333/1.001, allocations: 0.9406 MB / 0.6485 GB, free: 118.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001331/1.002, allocations: 0.5989 MB / 0.6491 GB, free: 118.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01617/1.018, allocations: 5.578 MB / 0.6545 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.997e-05/1.018, allocations: 41.47 kB / 0.6545 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.018, allocations: 15.16 kB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.863e-05/1.018, allocations: 15.14 kB / 0.6546 GB, free: 117.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03796/1.056, allocations: 14.73 MB / 0.669 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-05/1.056, allocations: 4 kB / 0.669 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.059, allocations: 0.4953 MB / 0.6694 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0135/1.072, allocations: 2.842 MB / 0.6722 GB, free: 106.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007606/1.073, allocations: 66.11 kB / 0.6723 GB, free: 106.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01625/1.089, allocations: 7.333 MB / 0.6794 GB, free: 99.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/1.089, allocations: 11.94 kB / 0.6795 GB, free: 99.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01855/1.108, allocations: 7.371 MB / 0.6867 GB, free: 91.85 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001868/1.11, allocations: 0.5261 MB / 0.6872 GB, free: 91.33 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008783/1.111, allocations: 67.42 kB / 0.6872 GB, free: 91.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003061/1.114, allocations: 299.5 kB / 0.6875 GB, free: 90.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007802/1.114, allocations: 242.1 kB / 0.6877 GB, free: 90.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.115, allocations: 91.98 kB / 0.6878 GB, free: 90.65 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004405/1.119, allocations: 2.654 MB / 0.6904 GB, free: 88.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.8e-07/1.119, allocations: 4.031 kB / 0.6904 GB, free: 88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009501/1.129, allocations: 1.963 MB / 0.6923 GB, free: 86.05 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.001055/1.13, allocations: 277.9 kB / 0.6926 GB, free: 85.79 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01148/1.141, allocations: 5.899 MB / 0.6984 GB, free: 79.87 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.298e-05/1.141, allocations: 0.9375 kB / 0.6984 GB, free: 79.87 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003425/1.145, allocations: 2.07 MB / 0.7004 GB, free: 77.78 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.149, allocations: 0.6766 MB / 0.7011 GB, free: 77.14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02135/1.171, allocations: 12.9 MB / 0.7137 GB, free: 64.02 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.175, allocations: 3.96 MB / 0.7175 GB, free: 60.03 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004765/1.18, allocations: 2.125 MB / 0.7196 GB, free: 57.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001204/1.181, allocations: 336.4 kB / 0.7199 GB, free: 57.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.453e-06/1.181, allocations: 0 / 0.7199 GB, free: 57.57 MB / 474.7 MB Notification: Performance of Templates: time 0.2952/1.476, allocations: 74.23 MB / 0.7924 GB, free: 138.7 MB / 490.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.JointUSP.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.885781639022753]