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.001013/0.001013, allocations: 83.62 kB / 21.43 MB, free: 3.133 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.004522/0.004522, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 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.883/0.883, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.07e-05, allocations: 2.281 kB / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.1324/0.1324, allocations: 11.82 MB / 310.3 MB, free: 9.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005941/0.1384, allocations: 4.652 MB / 314.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007483/0.1391, allocations: 103.2 kB / 315 MB, free: 6.223 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004152/0.1433, allocations: 4.29 MB / 319.3 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002847/0.1461, allocations: 2.287 MB / 321.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001482/0.1476, allocations: 1.21 MB / 322.8 MB, free: 2.246 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.004762/0.1524, allocations: 6.307 MB / 329.1 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003226/0.1556, allocations: 4.59 MB / 333.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002572/0.1581, allocations: 3.302 MB / 337 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/0.1604, allocations: 3.114 MB / 340.1 MB, free: 4.906 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.1608, allocations: 0.5078 MB / 340.6 MB, free: 4.398 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.1623, allocations: 1.584 MB / 342.2 MB, free: 2.809 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.1637, allocations: 2.817 MB / 345 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.1649, allocations: 1.82 MB / 346.8 MB, free: 14.16 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005628/0.1705, allocations: 9.916 MB / 356.8 MB, free: 4.215 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1705, allocations: 4 kB / 356.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1705, allocations: 0 / 356.8 MB, free: 4.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.88e-05/0.1706, allocations: 0 / 356.8 MB, free: 4.211 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.006435/0.177, allocations: 6.389 MB / 363.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.177, allocations: 15.98 kB / 363.2 MB, free: 13.74 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008047/0.1778, allocations: 0.9325 MB / 364.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01847/0.1963, allocations: 6.516 MB / 370.6 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004722/0.201, allocations: 4.195 MB / 374.8 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001504/0.2012, allocations: 308.3 kB / 375.1 MB, free: 1.715 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.2017, allocations: 444.4 kB / 375.5 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/0.2132, allocations: 12.4 MB / 387.9 MB, free: 4.125 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-05/0.2133, allocations: 47.64 kB / 388 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003259/0.2136, allocations: 203.8 kB / 388.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/0.2153, allocations: 2.035 MB / 390.2 MB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01142/0.2267, allocations: 10.33 MB / 400.6 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.2564, allocations: 42.17 MB / 442.7 MB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006752/0.2632, allocations: 4.35 MB / 447.1 MB, free: 7.793 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001571/0.2647, allocations: 1.847 MB / 448.9 MB, free: 5.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006151/0.2709, allocations: 5.949 MB / 454.9 MB, free: 15.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2709, allocations: 55.44 kB / 454.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=179): time 3.166e-06/0.2709, allocations: 4 kB / 454.9 MB, free: 15.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=223): time 0.1761/0.447, allocations: 20.3 MB / 475.2 MB, free: 135.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.4471, allocations: 203.4 kB / 475.4 MB, free: 135.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005676/0.4528, allocations: 5.182 MB / 480.6 MB, free: 133.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002165/0.453, allocations: 57.14 kB / 480.7 MB, free: 133.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001417/0.4544, allocations: 3.676 MB / 484.3 MB, free: 130.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005086/0.4549, allocations: 0.8565 MB / 485.2 MB, free: 130.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001169/0.4561, allocations: 1.263 MB / 486.5 MB, free: 129.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 2.919e-05/0.4561, allocations: 302.5 kB / 486.8 MB, free: 129.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/0.4585, allocations: 2.229 MB / 489 MB, free: 128.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003487/0.462, allocations: 6.032 MB / 495 MB, free: 122.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005774/0.4678, allocations: 8.918 MB / 0.4921 GB, free: 115.6 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.099e-05/0.4678, allocations: 35.69 kB / 0.4922 GB, free: 115.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.00857/0.4764, allocations: 9.05 MB / 0.501 GB, free: 112.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.136e-05/0.4764, allocations: 61.72 kB / 0.5011 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.997e-05/0.4765, allocations: 135.5 kB / 0.5012 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/0.4784, allocations: 1.206 MB / 0.5024 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002004/0.4804, allocations: 1.413 MB / 0.5037 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.4868, allocations: 7.842 MB / 0.5114 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/0.49, allocations: 411.3 kB / 0.5118 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002841/0.4903, allocations: 383.8 kB / 0.5122 GB, free: 102.9 MB / 426.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.002754/0.4931, allocations: 2.488 MB / 0.5146 GB, free: 100.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004273/0.4935, allocations: 437.6 kB / 0.515 GB, free: 99.93 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/0.4974, allocations: 3.873 MB / 0.5188 GB, free: 96.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.769e-05/0.4974, allocations: 24 kB / 0.5188 GB, free: 96.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/0.4974, allocations: 8 kB / 0.5188 GB, free: 96.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.111e-05/0.4974, allocations: 11.97 kB / 0.5188 GB, free: 96 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009868/0.5073, allocations: 9.675 MB / 0.5283 GB, free: 86.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.5073, allocations: 8 kB / 0.5283 GB, free: 86.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007005/0.508, allocations: 323.5 kB / 0.5286 GB, free: 85.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.5096, allocations: 0.9805 MB / 0.5296 GB, free: 84.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.11e-05/0.5097, allocations: 48.73 kB / 0.5296 GB, free: 84.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004986/0.5147, allocations: 6.533 MB / 0.536 GB, free: 78.26 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.5147, allocations: 11.94 kB / 0.536 GB, free: 78.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/0.5203, allocations: 6.598 MB / 0.5424 GB, free: 71.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001011/0.5214, allocations: 0.7351 MB / 0.5432 GB, free: 70.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.5216, allocations: 36.88 kB / 0.5432 GB, free: 70.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009774/0.5226, allocations: 175.3 kB / 0.5434 GB, free: 70.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001786/0.5228, allocations: 144.9 kB / 0.5435 GB, free: 70.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.361e-05/0.5229, allocations: 67.92 kB / 0.5436 GB, free: 70.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002562/0.5254, allocations: 3.184 MB / 0.5467 GB, free: 67.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5254, allocations: 0 / 0.5467 GB, free: 67.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003555/0.529, allocations: 1.312 MB / 0.548 GB, free: 65.92 MB / 426.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.005973/0.535, allocations: 7.345 MB / 0.5551 GB, free: 58.49 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005038/0.54, allocations: 5.316 MB / 0.5603 GB, free: 53.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.54, allocations: 448 / 0.5603 GB, free: 53.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.5413, allocations: 1.697 MB / 0.562 GB, free: 51.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001885/0.5432, allocations: 0.5694 MB / 0.5625 GB, free: 50.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0461/0.5893, allocations: 53.1 MB / 0.6144 GB, free: 7.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1432/0.7325, allocations: 3.357 MB / 0.6177 GB, free: 142.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004259/0.7368, allocations: 1.957 MB / 0.6196 GB, free: 142.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002297/0.7391, allocations: 2.307 MB / 0.6218 GB, free: 142.5 MB / 442.7 MB Notification: Performance of SimCode: time 8.61e-07/0.7391, allocations: 0 / 0.6218 GB, free: 142.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08468/0.8237, allocations: 88 MB / 0.7078 GB, free: 73.81 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.78, allocations: 11.97 kB / 0.7078 GB, free: 73.8 MB / 442.7 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 14.065664272755384]