Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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.0008672/0.0008672, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001231/0.002099, allocations: 445.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.001284/0.001284, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001926/0.00321, allocations: 463.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9733/0.9733, allocations: 158.6 MB / 171.1 MB, free: 2.578 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1884/1.162, allocations: 49.49 MB / 220.6 MB, free: 1.441 MB / 218.7 MB " [Timeout remaining time 179] 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(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 221.8 MB, free: 184 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.074e-05, allocations: 10.25 kB / 221.8 MB, free: 172 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01363/0.01366, allocations: 12.9 MB / 234.7 MB, free: 3.203 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008477/0.02214, allocations: 4.954 MB / 239.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.02343, allocations: 107.4 kB / 239.8 MB, free: 14.13 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004039/0.02747, allocations: 4.244 MB / 244 MB, free: 9.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0033/0.03077, allocations: 2.263 MB / 246.3 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001836/0.03261, allocations: 1.134 MB / 247.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.004772/0.03738, allocations: 5.888 MB / 253.3 MB, free: 0.5586 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003654/0.04103, allocations: 4.329 MB / 257.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003613/0.04464, allocations: 3.88 MB / 261.5 MB, free: 8.242 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.04736, allocations: 3.051 MB / 264.6 MB, free: 5.184 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004624/0.04782, allocations: 0.5 MB / 265.1 MB, free: 4.684 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001953/0.04977, allocations: 1.634 MB / 266.7 MB, free: 3.047 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001657/0.05143, allocations: 2.498 MB / 269.2 MB, free: 0.543 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.05269, allocations: 1.445 MB / 270.7 MB, free: 15.09 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005455/0.05815, allocations: 5.664 MB / 276.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.598e-05/0.05816, allocations: 0 / 276.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.05816, allocations: 0 / 276.3 MB, free: 9.41 MB / 282.7 MB Notification: Performance of Transformations before backend: time 7.268e-05/0.05824, allocations: 4 kB / 276.3 MB, free: 9.406 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.00725/0.06549, allocations: 6.868 MB / 283.2 MB, free: 2.457 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.06553, allocations: 8.031 kB / 283.2 MB, free: 2.449 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003385/0.06891, allocations: 1.409 MB / 284.6 MB, free: 1.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1513/0.2202, allocations: 2.635 MB / 287.3 MB, free: 26.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002531/0.2205, allocations: 306.3 kB / 287.6 MB, free: 26.75 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008787/0.2214, allocations: 444.2 kB / 288 MB, free: 26.75 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01188/0.2332, allocations: 5.97 MB / 294 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002248/0.2335, allocations: 48.34 kB / 294 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003901/0.2339, allocations: 191.3 kB / 294.2 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002016/0.2359, allocations: 1.833 MB / 296 MB, free: 24.62 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0075/0.2434, allocations: 3.061 MB / 299.1 MB, free: 24.46 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03385/0.2772, allocations: 34.25 MB / 333.3 MB, free: 0.7422 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004302/0.2815, allocations: 2.019 MB / 335.4 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.2821, allocations: 416.8 kB / 335.8 MB, free: 168 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006218/0.2883, allocations: 4.005 MB / 339.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/0.2883, allocations: 55.56 kB / 339.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of pre-optimization done (n=165): time 5.32e-06/0.2883, allocations: 0 / 339.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=207): time 0.0186/0.3069, allocations: 6.793 MB / 346.6 MB, free: 5.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.396e-05/0.307, allocations: 153.8 kB / 346.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003657/0.3107, allocations: 3.559 MB / 350.3 MB, free: 2.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.3109, allocations: 56.28 kB / 350.4 MB, free: 2.531 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001804/0.3127, allocations: 3.42 MB / 353.8 MB, free: 15.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006542/0.3133, allocations: 0.8123 MB / 354.6 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001061/0.3144, allocations: 1.266 MB / 355.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.3145, allocations: 301.1 kB / 356.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.3159, allocations: 0.7915 MB / 357 MB, free: 12.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/0.3193, allocations: 4.617 MB / 361.6 MB, free: 6.008 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006304/0.3256, allocations: 5.961 MB / 367.5 MB, free: 14.68 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001732/0.3258, allocations: 40 kB / 367.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of matching and sorting (n=866) (initialization): time 0.008283/0.3341, allocations: 4.469 MB / 372 MB, free: 10.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.255e-05/0.3341, allocations: 65 kB / 372.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001223/0.3343, allocations: 136 kB / 372.2 MB, free: 9.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.3353, allocations: 443.8 kB / 372.7 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.3385, allocations: 1.646 MB / 374.3 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002508/0.341, allocations: 2.475 MB / 376.8 MB, free: 5.336 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/0.3446, allocations: 287.7 kB / 377.1 MB, free: 5.055 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/0.3451, allocations: 340 kB / 377.4 MB, free: 4.723 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 46 (jointSSP.prismatic.positiveBranch,b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],jointSSP.rod2Color[3],jointSSP.rod2Color[2],jointSSP.rod2Color[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[1],b3.color[3],b3.color[2],b3.color[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (823): * Single equations (assignments): 819 * 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,19,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001823/0.3469, allocations: 0.6487 MB / 378.1 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006714/0.3476, allocations: 259.7 kB / 378.3 MB, free: 3.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.3492, allocations: 1.096 MB / 379.4 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.299e-05/0.3493, allocations: 24 kB / 379.4 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.3493, allocations: 4 kB / 379.4 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.217e-05/0.3493, allocations: 7.969 kB / 379.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007936/0.3572, allocations: 5.171 MB / 384.6 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.3572, allocations: 13 kB / 384.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000792/0.358, allocations: 345 kB / 385 MB, free: 13.65 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.3591, allocations: 0.4924 MB / 385.5 MB, free: 13.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009598/0.3601, allocations: 434.6 kB / 385.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.3601, allocations: 44 kB / 385.9 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/0.3618, allocations: 1.739 MB / 387.7 MB, free: 10.87 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.151e-05/0.3618, allocations: 19.92 kB / 387.7 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00238/0.3642, allocations: 2.238 MB / 389.9 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005431/0.3647, allocations: 44 kB / 390 MB, free: 8.422 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007632/0.3655, allocations: 51.03 kB / 390 MB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.3657, allocations: 152.4 kB / 390.2 MB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-05/0.3658, allocations: 53.2 kB / 390.2 MB, free: 8.176 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001393/0.3671, allocations: 1.356 MB / 391.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3671, allocations: 0 / 391.6 MB, free: 6.969 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004215/0.3714, allocations: 1.219 MB / 392.8 MB, free: 5.75 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * 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 (172): * Single equations (assignments): 168 * 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,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005649/0.3719, allocations: 258.4 kB / 393 MB, free: 5.5 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004225/0.3762, allocations: 2.722 MB / 395.8 MB, free: 2.855 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0002741/0.3764, allocations: 114.8 kB / 395.9 MB, free: 2.738 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.3774, allocations: 0.6463 MB / 396.5 MB, free: 2.094 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/0.3811, allocations: 1.061 MB / 397.6 MB, free: 1.039 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/0.3988, allocations: 9.246 MB / 406.8 MB, free: 7.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00196/0.4007, allocations: 1.515 MB / 408.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00192/0.4026, allocations: 0.5543 MB / 408.9 MB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/0.4038, allocations: 0.6222 MB / 409.5 MB, free: 4.898 MB / 362.7 MB Notification: Performance of SimCode: time 3.066e-06/0.4038, allocations: 1.422 kB / 409.5 MB, free: 4.898 MB / 362.7 MB Notification: Performance of Templates: time 0.1914/0.5952, allocations: 36.93 MB / 446.4 MB, free: 121.7 MB / 378.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.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.070265661925077]