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.001733/0.001733, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 14.72 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.002173/0.002173, allocations: 214.8 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.446/1.446, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001792/0.001792, allocations: 54.58 kB / 347.2 MB, free: 9.887 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2774, allocations: 49.16 MB / 396.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01259/0.2899, allocations: 11.82 MB / 408.2 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3021, allocations: 4.642 MB / 412.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003268/0.3054, allocations: 103.6 kB / 412.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009305/0.3147, allocations: 4.081 MB / 417 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008474/0.3232, allocations: 2.21 MB / 419.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003683/0.3269, allocations: 1.119 MB / 420.3 MB, free: 9.387 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.3386, allocations: 5.639 MB / 426 MB, free: 5.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00894/0.3476, allocations: 4.067 MB / 430 MB, free: 1.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006628/0.3542, allocations: 2.201 MB / 432.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007384/0.3616, allocations: 2.893 MB / 435.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002673/0.3643, allocations: 0.4922 MB / 435.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006334/0.3706, allocations: 1.521 MB / 437.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005251/0.3759, allocations: 2.684 MB / 439.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006839/0.3827, allocations: 2.257 MB / 442.1 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01756/0.4003, allocations: 9.761 MB / 451.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.4003, allocations: 0 / 451.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.156e-06/0.4003, allocations: 4 kB / 451.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004352/0.4007, allocations: 0 / 451.8 MB, free: 11.45 MB / 366.1 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.02356/0.4243, allocations: 6.315 MB / 458.2 MB, free: 5.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.865e-05/0.4243, allocations: 11.98 kB / 458.2 MB, free: 5.059 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003427/0.4277, allocations: 0.9325 MB / 459.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03931/0.4671, allocations: 6.055 MB / 465.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01236/0.4794, allocations: 4.745 MB / 469.9 MB, free: 9.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/0.4798, allocations: 308.1 kB / 470.2 MB, free: 8.926 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001866/0.4816, allocations: 447.7 kB / 470.6 MB, free: 8.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02733/0.509, allocations: 12.38 MB / 483 MB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001673/0.5091, allocations: 51.62 kB / 483.1 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005944/0.5097, allocations: 187.9 kB / 483.3 MB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003565/0.5133, allocations: 2.035 MB / 485.3 MB, free: 9.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02416/0.5374, allocations: 10.34 MB / 495.6 MB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06708/0.6045, allocations: 41.66 MB / 0.5247 GB, free: 3.902 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01283/0.6174, allocations: 4.194 MB / 0.5288 GB, free: 15.67 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002891/0.6202, allocations: 1.84 MB / 0.5306 GB, free: 13.82 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01265/0.6329, allocations: 5.647 MB / 0.5361 GB, free: 8.141 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.634e-05/0.633, allocations: 51.56 kB / 0.5362 GB, free: 8.082 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 5.26e-06/0.633, allocations: 0 / 0.5362 GB, free: 8.082 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.06835/0.7013, allocations: 19.43 MB / 0.5551 GB, free: 4.629 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001499/0.7015, allocations: 205.9 kB / 0.5553 GB, free: 4.387 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2099/0.9114, allocations: 4.741 MB / 0.56 GB, free: 143.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.9118, allocations: 57.8 kB / 0.56 GB, free: 143.7 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002499/0.9143, allocations: 3.708 MB / 0.5636 GB, free: 142.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007324/0.9151, allocations: 0.8746 MB / 0.5645 GB, free: 141.8 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.9166, allocations: 1.273 MB / 0.5657 GB, free: 141.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.687e-05/0.9166, allocations: 303.8 kB / 0.566 GB, free: 140.9 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/0.9197, allocations: 2.229 MB / 0.5682 GB, free: 140.1 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004397/0.9241, allocations: 6.027 MB / 0.5741 GB, free: 134.3 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00799/0.932, allocations: 8.924 MB / 0.5828 GB, free: 127.1 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001164/0.9322, allocations: 36.91 kB / 0.5828 GB, free: 127.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01413/0.9463, allocations: 9.047 MB / 0.5917 GB, free: 123.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.246e-05/0.9464, allocations: 62.47 kB / 0.5917 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.9465, allocations: 135.4 kB / 0.5919 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.9496, allocations: 1.214 MB / 0.593 GB, free: 123.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.9533, allocations: 1.413 MB / 0.5944 GB, free: 123.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008985/0.9623, allocations: 7.804 MB / 0.602 GB, free: 119.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004867/0.9672, allocations: 340.1 kB / 0.6024 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008455/0.968, allocations: 374 kB / 0.6027 GB, free: 118.5 MB / 478.1 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.003198/0.9712, allocations: 2.497 MB / 0.6052 GB, free: 116.3 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007422/0.972, allocations: 429.1 kB / 0.6056 GB, free: 115.9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006198/0.9782, allocations: 3.879 MB / 0.6094 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.97e-05/0.9782, allocations: 24 kB / 0.6094 GB, free: 112 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.58e-05/0.9782, allocations: 9.859 kB / 0.6094 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.856e-05/0.9782, allocations: 11.97 kB / 0.6094 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.994, allocations: 9.512 MB / 0.6187 GB, free: 102.4 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.994, allocations: 8 kB / 0.6187 GB, free: 102.4 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.9953, allocations: 323.5 kB / 0.619 GB, free: 102 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002828/0.9981, allocations: 0.9843 MB / 0.62 GB, free: 101 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001502/0.9982, allocations: 47.98 kB / 0.62 GB, free: 101 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007269/1.006, allocations: 6.494 MB / 0.6264 GB, free: 94.39 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/1.006, allocations: 9.078 kB / 0.6264 GB, free: 94.39 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009458/1.015, allocations: 6.616 MB / 0.6328 GB, free: 87.7 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002183/1.017, allocations: 0.6617 MB / 0.6335 GB, free: 87.04 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008109/1.018, allocations: 47.98 kB / 0.6335 GB, free: 86.99 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.02, allocations: 103.9 kB / 0.6336 GB, free: 86.89 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/1.02, allocations: 152.9 kB / 0.6338 GB, free: 86.74 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/1.02, allocations: 60 kB / 0.6338 GB, free: 86.68 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003462/1.023, allocations: 2.848 MB / 0.6366 GB, free: 83.83 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.023, allocations: 0 / 0.6366 GB, free: 83.83 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004778/1.028, allocations: 1.183 MB / 0.6378 GB, free: 82.66 MB / 478.1 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.008683/1.037, allocations: 7.325 MB / 0.6449 GB, free: 75.26 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007134/1.044, allocations: 5.317 MB / 0.6501 GB, free: 69.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.044, allocations: 0 / 0.6501 GB, free: 69.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.046, allocations: 1.708 MB / 0.6518 GB, free: 68.24 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004031/1.05, allocations: 0.5617 MB / 0.6523 GB, free: 67.69 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06229/1.112, allocations: 51.74 MB / 0.7029 GB, free: 10 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.116, allocations: 3.359 MB / 0.7061 GB, free: 6.602 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004231/1.121, allocations: 1.942 MB / 0.708 GB, free: 4.652 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002824/1.123, allocations: 2.296 MB / 0.7103 GB, free: 2.355 MB / 478.1 MB Notification: Performance of SimCode: time 1.513e-06/1.123, allocations: 4 kB / 0.7103 GB, free: 2.352 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7178/1.841, allocations: 85.37 MB / 0.7936 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.49/19.33, allocations: 0 / 0.7936 GB, free: 161.3 MB / 0.5137 GB " [Timeout remaining time 641] (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/jenkins1/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/jenkins1/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: 22.884015968069434]