Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0008498/0.0008498, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.0008924/0.0008924, allocations: 174 kB / 23.95 MB, free: 0.6133 MB / 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 0.8388/0.8388, allocations: 177.1 MB / 204.2 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.488e-05, allocations: 6.219 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.008902/0.008916, allocations: 11.77 MB / 336.3 MB, free: 4.113 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007174/0.01609, allocations: 4.655 MB / 341 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001206/0.0173, allocations: 103.5 kB / 341.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003899/0.02119, allocations: 4.287 MB / 345.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003248/0.02444, allocations: 2.239 MB / 347.6 MB, free: 8.781 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001668/0.02611, allocations: 1.208 MB / 348.8 MB, free: 7.57 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.005126/0.03124, allocations: 6.802 MB / 355.6 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004191/0.03543, allocations: 4.579 MB / 360.2 MB, free: 12.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005568/0.041, allocations: 3.282 MB / 363.5 MB, free: 8.824 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003704/0.0447, allocations: 3.102 MB / 366.6 MB, free: 5.715 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001167/0.04587, allocations: 0.5039 MB / 367.1 MB, free: 5.211 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00235/0.04822, allocations: 1.584 MB / 368.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002353/0.05057, allocations: 2.77 MB / 371.5 MB, free: 0.8477 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002813/0.05338, allocations: 1.804 MB / 373.3 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009362/0.06275, allocations: 9.83 MB / 383.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.06275, allocations: 0 / 383.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.06275, allocations: 3.938 kB / 383.1 MB, free: 5.176 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002863/0.06304, allocations: 4 kB / 383.1 MB, free: 5.172 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01203/0.07507, allocations: 6.35 MB / 389.4 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.07512, allocations: 12.03 kB / 389.5 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001931/0.07705, allocations: 0.9364 MB / 390.4 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01939/0.09644, allocations: 6.508 MB / 396.9 MB, free: 7.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006774/0.1032, allocations: 3.839 MB / 400.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.1034, allocations: 304.3 kB / 401 MB, free: 3.082 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001334/0.1048, allocations: 456.2 kB / 401.5 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/0.1219, allocations: 12.41 MB / 413.9 MB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001217/0.122, allocations: 47.59 kB / 413.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000369/0.1224, allocations: 191.9 kB / 414.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001805/0.1242, allocations: 2.031 MB / 416.2 MB, free: 3.195 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.1398, allocations: 10.34 MB / 426.5 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1839/0.3237, allocations: 42.03 MB / 468.5 MB, free: 84.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006406/0.3301, allocations: 4.362 MB / 472.9 MB, free: 84.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001414/0.3315, allocations: 1.84 MB / 474.7 MB, free: 83.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006122/0.3376, allocations: 5.89 MB / 480.6 MB, free: 80.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.3377, allocations: 50.75 kB / 480.7 MB, free: 80.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.588e-06/0.3377, allocations: 0 / 480.7 MB, free: 80.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03204/0.3697, allocations: 20.01 MB / 0.489 GB, free: 62.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.904e-05/0.3698, allocations: 205.5 kB / 0.4891 GB, free: 62.35 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004036/0.3738, allocations: 5.071 MB / 0.4941 GB, free: 57.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002597/0.3741, allocations: 53.7 kB / 0.4942 GB, free: 57.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/0.3753, allocations: 3.669 MB / 0.4977 GB, free: 53.89 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007607/0.376, allocations: 0.8595 MB / 0.4986 GB, free: 53.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001208/0.3772, allocations: 1.259 MB / 0.4998 GB, free: 51.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.274e-05/0.3773, allocations: 305.1 kB / 0.5001 GB, free: 51.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002294/0.3796, allocations: 2.23 MB / 0.5023 GB, free: 49.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.3822, allocations: 6.034 MB / 0.5082 GB, free: 41.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005514/0.3877, allocations: 8.917 MB / 0.5169 GB, free: 30.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.797e-05/0.3878, allocations: 36 kB / 0.5169 GB, free: 30.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.009704/0.3975, allocations: 9.048 MB / 0.5257 GB, free: 21.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.3975, allocations: 62.34 kB / 0.5258 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-05/0.3976, allocations: 132 kB / 0.5259 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/0.3995, allocations: 1.203 MB / 0.5271 GB, free: 20.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/0.4019, allocations: 1.419 MB / 0.5285 GB, free: 18.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.4079, allocations: 7.844 MB / 0.5362 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003362/0.4113, allocations: 407.4 kB / 0.5365 GB, free: 10.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000498/0.4118, allocations: 380 kB / 0.5369 GB, free: 10.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * 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 (766): * Single equations (assignments): 762 * 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,40,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002432/0.4142, allocations: 2.486 MB / 0.5393 GB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006344/0.4148, allocations: 431.7 kB / 0.5397 GB, free: 7.133 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.4188, allocations: 3.873 MB / 0.5435 GB, free: 3.246 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.088e-05/0.4188, allocations: 24 kB / 0.5435 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/0.4188, allocations: 4 kB / 0.5436 GB, free: 3.219 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.4188, allocations: 11.97 kB / 0.5436 GB, free: 3.207 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/0.4303, allocations: 9.638 MB / 0.553 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.4303, allocations: 6.375 kB / 0.553 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007776/0.4311, allocations: 335.5 kB / 0.5533 GB, free: 9.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001771/0.4329, allocations: 0.9803 MB / 0.5543 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.433, allocations: 51.92 kB / 0.5543 GB, free: 8.109 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006117/0.4391, allocations: 6.547 MB / 0.5607 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.4391, allocations: 7.938 kB / 0.5607 GB, free: 1.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007316/0.4464, allocations: 6.606 MB / 0.5672 GB, free: 10.76 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.4476, allocations: 452.9 kB / 0.5676 GB, free: 10.32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003158/0.4479, allocations: 40 kB / 0.5676 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.4489, allocations: 159.8 kB / 0.5678 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.4492, allocations: 144.9 kB / 0.5679 GB, free: 9.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4493, allocations: 67.98 kB / 0.568 GB, free: 9.914 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003387/0.4527, allocations: 3.101 MB / 0.571 GB, free: 6.812 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.4527, allocations: 0 / 0.571 GB, free: 6.812 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003734/0.4564, allocations: 1.289 MB / 0.5723 GB, free: 5.523 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (173): * Single equations (assignments): 169 * 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,30,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007424/0.4638, allocations: 7.342 MB / 0.5794 GB, free: 14.09 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006003/0.4698, allocations: 5.328 MB / 0.5846 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/0.4698, allocations: 0 / 0.5846 GB, free: 8.785 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002006/0.4718, allocations: 1.711 MB / 0.5863 GB, free: 7.062 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002412/0.4743, allocations: 0.5698 MB / 0.5869 GB, free: 6.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2012/0.6754, allocations: 52.6 MB / 0.6382 GB, free: 166.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002563/0.678, allocations: 3.351 MB / 0.6415 GB, free: 165.5 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002787/0.6808, allocations: 1.955 MB / 0.6434 GB, free: 165.4 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001878/0.6827, allocations: 2.303 MB / 0.6457 GB, free: 163.2 MB / 490.7 MB Notification: Performance of SimCode: time 1.714e-06/0.6827, allocations: 3.719 kB / 0.6457 GB, free: 163.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08665/0.7693, allocations: 87 MB / 0.7306 GB, free: 77.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/11.05, allocations: 7.984 kB / 0.7306 GB, free: 77.14 MB / 490.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.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: 13.25517810229212]