Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.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.0008352/0.0008352, 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.003349/0.003349, 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.7967/0.7967, 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.Fourbar1,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249e-05/1.371e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.1386/0.1386, allocations: 13.88 MB / 312.3 MB, free: 7.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.008115/0.1467, allocations: 4.974 MB / 317.3 MB, free: 4.641 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.1481, allocations: 131.3 kB / 317.4 MB, free: 4.598 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004241/0.1524, allocations: 4.557 MB / 322 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003958/0.1563, allocations: 2.712 MB / 324.7 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001659/0.158, allocations: 1.297 MB / 326 MB, free: 15.79 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007396/0.1654, allocations: 8.481 MB / 334.5 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004264/0.1697, allocations: 5.081 MB / 339.6 MB, free: 5.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.1737, allocations: 3.839 MB / 343.4 MB, free: 1.609 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.1768, allocations: 3.784 MB / 347.2 MB, free: 13.82 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000483/0.1773, allocations: 0.5195 MB / 347.7 MB, free: 13.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001548/0.1789, allocations: 1.459 MB / 349.2 MB, free: 11.84 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001586/0.1805, allocations: 3.241 MB / 352.4 MB, free: 8.586 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.1821, allocations: 2.115 MB / 354.5 MB, free: 6.465 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006299/0.1884, allocations: 10.82 MB / 365.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1884, allocations: 0 / 365.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1884, allocations: 0 / 365.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.835e-05/0.1885, allocations: 0 / 365.3 MB, free: 11.61 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2058 * Number of variables: 2058 Notification: Performance of Generate backend data structure: time 0.009419/0.1979, allocations: 8.191 MB / 373.5 MB, free: 3.344 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/0.1979, allocations: 11.98 kB / 373.5 MB, free: 3.332 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009289/0.1989, allocations: 1.086 MB / 374.6 MB, free: 2.234 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02656/0.2254, allocations: 9.058 MB / 383.7 MB, free: 9.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007321/0.2328, allocations: 5.495 MB / 389.2 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/0.2329, allocations: 337.1 kB / 389.5 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006335/0.2336, allocations: 468 kB / 390 MB, free: 2.785 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.015/0.2485, allocations: 14.55 MB / 404.5 MB, free: 3.281 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001157/0.2487, allocations: 79.41 kB / 404.6 MB, free: 3.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003771/0.249, allocations: 211.8 kB / 404.8 MB, free: 2.996 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002773/0.2518, allocations: 2.833 MB / 407.6 MB, free: 160 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01534/0.2672, allocations: 12.96 MB / 420.6 MB, free: 3.176 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1884/0.4556, allocations: 55.83 MB / 476.4 MB, free: 102.8 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.4662, allocations: 7.046 MB / 483.5 MB, free: 102.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003639/0.4698, allocations: 4.547 MB / 488 MB, free: 101.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01125/0.4811, allocations: 11.93 MB / 499.9 MB, free: 96.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.4811, allocations: 71.92 kB / 0.4883 GB, free: 96.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=326): time 4.298e-06/0.4811, allocations: 0 / 0.4883 GB, free: 96.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=572): time 1.084/1.565, allocations: 413.8 MB / 0.8924 GB, free: 129.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.941e-05/1.565, allocations: 265.7 kB / 0.8927 GB, free: 128.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006361/1.572, allocations: 6.443 MB / 0.899 GB, free: 122.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001655/1.573, allocations: 109.7 kB / 0.8991 GB, free: 122.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/1.575, allocations: 4.138 MB / 0.9031 GB, free: 119.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00233/1.577, allocations: 2.06 MB / 0.9051 GB, free: 117.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002752/1.58, allocations: 2.061 MB / 0.9071 GB, free: 115.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 3.202e-05/1.58, allocations: 313 kB / 0.9074 GB, free: 115.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009268/1.589, allocations: 10.87 MB / 0.9181 GB, free: 104.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/1.6, allocations: 15.07 MB / 0.9328 GB, free: 87.28 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02208/1.622, allocations: 27.12 MB / 0.9593 GB, free: 58.34 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001485/1.622, allocations: 36 kB / 0.9593 GB, free: 58.31 MB / 474.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.337/1.959, allocations: 140.1 MB / 1.096 GB, free: 94.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.852e-05/1.959, allocations: 60.94 kB / 1.096 GB, free: 94.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.162e-05/1.959, allocations: 140 kB / 1.096 GB, free: 94.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04544/2.005, allocations: 34.55 MB / 1.13 GB, free: 60.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/2.008, allocations: 1.479 MB / 1.131 GB, free: 58.71 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3295/2.337, allocations: 200.8 MB / 1.328 GB, free: 35.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008935/2.346, allocations: 1.806 MB / 1.329 GB, free: 33.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002206/2.348, allocations: 0.5232 MB / 1.33 GB, free: 32.91 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 626 * Number of states: 0 () * Number of discrete variables: 54 (b0.color[3],b0.color[2],b0.color[1],j5.cylinderColor[3],j5.cylinderColor[2],j5.cylinderColor[1],j4.cylinderColor[3],j4.cylinderColor[2],j4.cylinderColor[1],j3.cylinderColor[3],j3.cylinderColor[2],j3.cylinderColor[1],rev1.cylinderColor[3],rev1.cylinderColor[2],rev1.cylinderColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],b3.color[3],b3.color[2],b3.color[1],b3.body.sphereColor[3],b3.body.sphereColor[2],b3.body.sphereColor[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (783): * Single equations (assignments): 776 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(21,163,34.9%), (16,102,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,76)} Notification: Performance of prepare postOptimizeDAE: time 0.006282/2.355, allocations: 3.097 MB / 1.333 GB, free: 30.02 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.356, allocations: 0.6182 MB / 1.333 GB, free: 29.63 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.327/2.683, allocations: 136.1 MB / 1.466 GB, free: 70.62 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.929e-05/2.683, allocations: 60 kB / 1.466 GB, free: 70.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001437/2.683, allocations: 56 kB / 1.466 GB, free: 70.51 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001038/2.684, allocations: 27.91 kB / 1.467 GB, free: 70.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3682/3.052, allocations: 202.9 MB / 1.665 GB, free: 53.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.225e-05/3.052, allocations: 8.625 kB / 1.665 GB, free: 53.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009332/3.053, allocations: 334.4 kB / 1.665 GB, free: 53.01 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.2021/3.255, allocations: 33.25 MB / 1.697 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001671/3.257, allocations: 102.6 kB / 1.698 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.325/3.582, allocations: 183.6 MB / 1.877 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/3.582, allocations: 13.12 kB / 1.877 GB, free: 130.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3413/3.923, allocations: 151.9 MB / 2.025 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007872/3.931, allocations: 3.053 MB / 2.028 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001887/3.933, allocations: 96.27 kB / 2.028 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006629/3.939, allocations: 1.578 MB / 2.03 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002859/3.942, allocations: 0.5215 MB / 2.03 GB, free: 129.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005648/3.943, allocations: 144.9 kB / 2.03 GB, free: 129.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005488/3.948, allocations: 4.058 MB / 2.034 GB, free: 128.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.01e-07/3.948, allocations: 0 / 2.034 GB, free: 128.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01248/3.961, allocations: 4.082 MB / 2.038 GB, free: 128.9 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (165): * Single equations (assignments): 158 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(20,157,40.5%), (16,99,51.6%), (2,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(12,86)} Notification: Performance of Backend phase and start with SimCode phase: time 0.3665/4.327, allocations: 152.4 MB / 2.187 GB, free: 135.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04758/4.375, allocations: 32.59 MB / 2.219 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/4.375, allocations: 0 / 2.219 GB, free: 134.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02534/4.4, allocations: 19.53 MB / 2.238 GB, free: 128.3 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007757/4.408, allocations: 0.8415 MB / 2.239 GB, free: 127.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7969/5.205, allocations: 355.3 MB / 2.586 GB, free: 108.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006757/5.211, allocations: 4.627 MB / 2.591 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003283/5.215, allocations: 2.095 MB / 2.593 GB, free: 103.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002843/5.218, allocations: 3.061 MB / 2.596 GB, free: 103.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.254e-06/5.218, allocations: 3.188 kB / 2.596 GB, free: 103.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6063/5.824, allocations: 349 MB / 2.936 GB, free: 92.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.34/23.16, allocations: 0 / 2.936 GB, free: 92.35 MB / 474.7 MB " [Timeout remaining time 637] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Loops/Fourbar1/Fourbar1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.842782369814813]