Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008467/0.0008467, allocations: 76.08 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008835/0.0008835, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8705/0.8705, allocations: 173.3 MB / 200.4 MB, free: 9.426 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_4_0_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_0_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.423e-06/1.423e-06, allocations: 0 / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.233e-05, allocations: 6.219 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.00822/0.008232, allocations: 11.78 MB / 330.2 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005101/0.01333, allocations: 4.651 MB / 334.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.01395, allocations: 99.5 kB / 335 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.01751, allocations: 4.295 MB / 339.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.02001, allocations: 2.289 MB / 341.5 MB, free: 15.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.02124, allocations: 1.204 MB / 342.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004047/0.02529, allocations: 6.643 MB / 349.4 MB, free: 7.277 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003035/0.02832, allocations: 4.583 MB / 354 MB, free: 2.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002507/0.03083, allocations: 3.29 MB / 357.3 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.03313, allocations: 3.106 MB / 360.4 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004085/0.03354, allocations: 0.5 MB / 360.9 MB, free: 11.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.0351, allocations: 1.592 MB / 362.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001577/0.03668, allocations: 2.801 MB / 365.3 MB, free: 7.312 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001839/0.03852, allocations: 1.815 MB / 367.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009498/0.04802, allocations: 9.889 MB / 377 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.04803, allocations: 0 / 377 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.04803, allocations: 0 / 377 MB, free: 11.57 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003069/0.04833, allocations: 0 / 377 MB, free: 11.57 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.01175/0.06009, allocations: 6.376 MB / 383.3 MB, free: 5.133 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.06013, allocations: 8.922 kB / 383.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001642/0.06178, allocations: 0.9325 MB / 384.3 MB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01982/0.0816, allocations: 6.504 MB / 390.8 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006836/0.08844, allocations: 3.859 MB / 394.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/0.08863, allocations: 308.3 kB / 394.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001275/0.08991, allocations: 436.2 kB / 395.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.1089, allocations: 12.4 MB / 407.8 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001623/0.1091, allocations: 55.56 kB / 407.8 MB, free: 11.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006878/0.1098, allocations: 187.9 kB / 408 MB, free: 11.62 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002084/0.1119, allocations: 2.035 MB / 410 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.1277, allocations: 10.32 MB / 420.4 MB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2002/0.3279, allocations: 42.05 MB / 462.4 MB, free: 90.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006796/0.3347, allocations: 4.362 MB / 466.8 MB, free: 90.54 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.3363, allocations: 1.845 MB / 468.6 MB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006807/0.3431, allocations: 5.874 MB / 474.5 MB, free: 87.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3431, allocations: 53.94 kB / 474.6 MB, free: 87.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=179): time 4.859e-06/0.3431, allocations: 0 / 474.6 MB, free: 87.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=223): time 0.03548/0.3786, allocations: 20.11 MB / 494.7 MB, free: 69.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.3787, allocations: 205.9 kB / 494.9 MB, free: 69.26 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004376/0.3831, allocations: 5.072 MB / 499.9 MB, free: 64.33 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002243/0.3833, allocations: 57.7 kB / 500 MB, free: 64.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.3844, allocations: 3.673 MB / 0.4919 GB, free: 60.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004597/0.3849, allocations: 0.8587 MB / 0.4927 GB, free: 59.95 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009264/0.3858, allocations: 1.259 MB / 0.4939 GB, free: 58.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.745e-05/0.3858, allocations: 316 kB / 0.4942 GB, free: 58.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/0.3877, allocations: 2.23 MB / 0.4964 GB, free: 56.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.3902, allocations: 6.02 MB / 0.5023 GB, free: 48.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005335/0.3956, allocations: 8.912 MB / 0.511 GB, free: 37.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.454e-05/0.3956, allocations: 40 kB / 0.511 GB, free: 37.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.009386/0.405, allocations: 9.044 MB / 0.5199 GB, free: 28.58 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.4051, allocations: 60 kB / 0.5199 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.904e-05/0.4052, allocations: 136.9 kB / 0.5201 GB, free: 28.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.4072, allocations: 1.206 MB / 0.5212 GB, free: 27.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/0.4096, allocations: 1.411 MB / 0.5226 GB, free: 25.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00623/0.4159, allocations: 7.849 MB / 0.5303 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003567/0.4194, allocations: 399.5 kB / 0.5307 GB, free: 17.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005301/0.42, allocations: 380 kB / 0.531 GB, free: 17.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.002819/0.4228, allocations: 2.473 MB / 0.5334 GB, free: 14.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006945/0.4235, allocations: 433.1 kB / 0.5338 GB, free: 14.14 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004302/0.4278, allocations: 3.865 MB / 0.5376 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.376e-05/0.4278, allocations: 31.83 kB / 0.5377 GB, free: 10.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4278, allocations: 11.94 kB / 0.5377 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4278, allocations: 7.969 kB / 0.5377 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01152/0.4393, allocations: 9.647 MB / 0.5471 GB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.4394, allocations: 4 kB / 0.5471 GB, free: 472 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000808/0.4402, allocations: 327.5 kB / 0.5474 GB, free: 144 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.4421, allocations: 0.9834 MB / 0.5484 GB, free: 15.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001434/0.4422, allocations: 47.81 kB / 0.5484 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007124/0.4494, allocations: 6.529 MB / 0.5548 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.4494, allocations: 11.94 kB / 0.5548 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008073/0.4574, allocations: 6.602 MB / 0.5612 GB, free: 1.773 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001359/0.4588, allocations: 448.9 kB / 0.5617 GB, free: 1.332 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000348/0.4591, allocations: 43.94 kB / 0.5617 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001051/0.4602, allocations: 159.8 kB / 0.5619 GB, free: 1.133 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.4605, allocations: 148.9 kB / 0.562 GB, free: 0.9883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.4606, allocations: 68 kB / 0.5621 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003619/0.4642, allocations: 3.105 MB / 0.5651 GB, free: 13.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4642, allocations: 4.062 kB / 0.5651 GB, free: 13.81 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004895/0.4691, allocations: 1.312 MB / 0.5664 GB, free: 12.5 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.008109/0.4772, allocations: 7.346 MB / 0.5736 GB, free: 5.074 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006814/0.484, allocations: 5.315 MB / 0.5788 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.484, allocations: 0 / 0.5788 GB, free: 15.78 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001881/0.4859, allocations: 1.695 MB / 0.5804 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002775/0.4887, allocations: 0.5764 MB / 0.581 GB, free: 13.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2253/0.714, allocations: 52.62 MB / 0.6324 GB, free: 174.8 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00285/0.7169, allocations: 3.352 MB / 0.6356 GB, free: 173.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002754/0.7196, allocations: 1.95 MB / 0.6375 GB, free: 173.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001739/0.7214, allocations: 2.303 MB / 0.6398 GB, free: 171.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.953e-06/0.7214, allocations: 0 / 0.6398 GB, free: 171.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09/0.8114, allocations: 87.35 MB / 0.7251 GB, free: 85.46 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10/10.81, allocations: 7.156 kB / 0.7251 GB, free: 85.46 MB / 490.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar_analytic/Fourbar_analytic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.116157854907215]