Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.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.0009588/0.0009588, allocations: 80.05 kB / 20.72 MB, free: 3.766 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.0009961/0.0009961, allocations: 169 kB / 24.14 MB, free: 356 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9716/0.9716, allocations: 158.6 MB / 186 MB, free: 2.758 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1599/0.1599, allocations: 32.38 MB / 270.7 MB, free: 14.61 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") translateModel(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 0 / 299.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.699e-05/2.896e-05, allocations: 2.312 kB / 299.1 MB, free: 2.176 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical): time 0.1605/0.1605, allocations: 14.22 MB / 313.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.1726, allocations: 4.905 MB / 318.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004638/0.1772, allocations: 108.6 kB / 318.3 MB, free: 9.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006933/0.1842, allocations: 3.351 MB / 321.7 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009403/0.1936, allocations: 2.724 MB / 324.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00276/0.1963, allocations: 1.127 MB / 325.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.01172/0.2081, allocations: 7.33 MB / 332.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007719/0.2158, allocations: 4.143 MB / 337 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007906/0.2237, allocations: 4.019 MB / 341 MB, free: 4.129 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005455/0.2291, allocations: 3.433 MB / 344.5 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001197/0.2303, allocations: 492 kB / 344.9 MB, free: 212 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00292/0.2332, allocations: 1.514 MB / 346.4 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002822/0.2361, allocations: 3.097 MB / 349.5 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002307/0.2384, allocations: 1.885 MB / 351.4 MB, free: 9.695 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006336/0.2447, allocations: 6.951 MB / 358.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.2447, allocations: 0 / 358.4 MB, free: 2.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2447, allocations: 4 kB / 358.4 MB, free: 2.715 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.781e-05/0.2448, allocations: 0 / 358.4 MB, free: 2.715 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2242 * Number of variables: 2242 Notification: Performance of Generate backend data structure: time 0.006263/0.251, allocations: 6.616 MB / 365 MB, free: 12.03 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2511, allocations: 12.03 kB / 365 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004954/0.256, allocations: 1.823 MB / 366.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003178/0.2592, allocations: 2.854 MB / 369.7 MB, free: 7.277 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.2593, allocations: 320.4 kB / 370 MB, free: 6.961 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005104/0.2599, allocations: 432.2 kB / 370.4 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007453/0.2673, allocations: 7.337 MB / 377.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/0.2674, allocations: 59.91 kB / 377.8 MB, free: 14.19 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003772/0.2678, allocations: 203.8 kB / 378 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002283/0.2701, allocations: 2.853 MB / 380.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006466/0.2766, allocations: 3.936 MB / 384.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03842/0.315, allocations: 43.37 MB / 428.2 MB, free: 10.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005804/0.3208, allocations: 2.571 MB / 430.8 MB, free: 7.707 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.322, allocations: 0.7238 MB / 431.5 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01095/0.333, allocations: 6.671 MB / 438.1 MB, free: 272 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.223e-05/0.333, allocations: 64.5 kB / 438.2 MB, free: 196 kB / 394.7 MB Notification: Performance of pre-optimization done (n=272): time 5.71e-06/0.333, allocations: 0 / 438.2 MB, free: 196 kB / 394.7 MB Notification: Performance of matching and sorting (n=303): time 0.02435/0.3574, allocations: 9.941 MB / 448.2 MB, free: 6.305 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.017e-05/0.3575, allocations: 209.9 kB / 448.4 MB, free: 6.059 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004626/0.3621, allocations: 4.355 MB / 452.7 MB, free: 1.691 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004408/0.3625, allocations: 69.7 kB / 452.8 MB, free: 1.617 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.158/0.5205, allocations: 4.333 MB / 457.1 MB, free: 120.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00189/0.5224, allocations: 1.169 MB / 458.3 MB, free: 120.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002631/0.5251, allocations: 1.666 MB / 459.9 MB, free: 120 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.902e-05/0.5251, allocations: 306.3 kB / 460.2 MB, free: 119.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.5277, allocations: 1.266 MB / 461.5 MB, free: 119.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004687/0.5324, allocations: 6.264 MB / 467.8 MB, free: 113 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00858/0.541, allocations: 8.202 MB / 476 MB, free: 106 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003684/0.5414, allocations: 54.69 kB / 476 MB, free: 106 MB / 410.7 MB Notification: Performance of matching and sorting (n=1175) (initialization): time 0.01296/0.5543, allocations: 6.447 MB / 482.5 MB, free: 104.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.633e-05/0.5544, allocations: 83.34 kB / 482.6 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002084/0.5546, allocations: 181.6 kB / 482.7 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002079/0.5567, allocations: 0.8265 MB / 483.6 MB, free: 104.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004822/0.5615, allocations: 2.084 MB / 485.6 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004115/0.5656, allocations: 4.374 MB / 490 MB, free: 101 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005091/0.5707, allocations: 372.2 kB / 490.4 MB, free: 100.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008913/0.5716, allocations: 454.5 kB / 490.8 MB, free: 100.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 823 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame4.color_x[3],fixedFrame4.color_x[2],fixedFrame4.color_x[1],b3.color[3],b3.color[2],b3.color[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (1108): * Single equations (assignments): 1100 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002113/0.5737, allocations: 0.8161 MB / 491.6 MB, free: 99.46 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006414/0.5744, allocations: 337.8 kB / 492 MB, free: 99.22 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/0.5773, allocations: 2.136 MB / 494.1 MB, free: 97.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-05/0.5773, allocations: 49.95 kB / 494.2 MB, free: 97.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/0.5773, allocations: 5.969 kB / 494.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.721e-05/0.5773, allocations: 11.95 kB / 494.2 MB, free: 97.55 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008949/0.5863, allocations: 6.39 MB / 0.4888 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.5863, allocations: 11.98 kB / 0.4888 GB, free: 92.22 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001496/0.5878, allocations: 0.6661 MB / 0.4895 GB, free: 91.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.5892, allocations: 0.5685 MB / 0.4901 GB, free: 90.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001588/0.5894, allocations: 51.31 kB / 0.4901 GB, free: 90.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002825/0.5922, allocations: 3.451 MB / 0.4935 GB, free: 87.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.5922, allocations: 11.94 kB / 0.4935 GB, free: 87.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004066/0.5963, allocations: 3.106 MB / 0.4965 GB, free: 84.03 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.5979, allocations: 0.72 MB / 0.4972 GB, free: 83.31 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005886/0.5984, allocations: 48 kB / 0.4973 GB, free: 83.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001038/0.5995, allocations: 55.98 kB / 0.4973 GB, free: 83.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003121/0.5998, allocations: 181.4 kB / 0.4975 GB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.5999, allocations: 64.03 kB / 0.4976 GB, free: 82.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001492/0.6014, allocations: 1.603 MB / 0.4991 GB, free: 81.38 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6014, allocations: 0 / 0.4991 GB, free: 81.38 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005392/0.6068, allocations: 1.596 MB / 0.5007 GB, free: 79.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 2 (j1.phi,j1.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 (239): * Single equations (assignments): 231 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004758/0.6073, allocations: 207.2 kB / 0.5009 GB, free: 79.58 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005116/0.6124, allocations: 3.893 MB / 0.5047 GB, free: 75.69 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001774/0.6126, allocations: 116.2 kB / 0.5048 GB, free: 75.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.6137, allocations: 0.9827 MB / 0.5057 GB, free: 74.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.6165, allocations: 0.8798 MB / 0.5066 GB, free: 73.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0145/0.631, allocations: 11.38 MB / 0.5177 GB, free: 62.18 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001739/0.6327, allocations: 1.823 MB / 0.5195 GB, free: 60.32 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002337/0.635, allocations: 0.7178 MB / 0.5202 GB, free: 59.62 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/0.6363, allocations: 0.7394 MB / 0.5209 GB, free: 58.88 MB / 410.7 MB Notification: Performance of SimCode: time 2.585e-06/0.6363, allocations: 0 / 0.5209 GB, free: 58.88 MB / 410.7 MB Notification: Performance of Templates: time 0.06839/0.7047, allocations: 51.67 MB / 0.5714 GB, free: 7.215 MB / 410.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.FourbarVariants.UniversalSpherical_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/FourbarVariants/UniversalSpherical/UniversalSpherical.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.494783732108772]