Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001386/0.001386, allocations: 105.5 kB / 19.74 MB, free: 2.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001564/0.001564, allocations: 222.2 kB / 22.93 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.297/1.297, allocations: 230.5 MB / 256.4 MB, free: 8.266 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 63.89 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2081, allocations: 53.32 MB / 429.4 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1): time 0.01641/0.2245, allocations: 15.97 MB / 445.4 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009455/0.2339, allocations: 5.155 MB / 450.5 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001562/0.2355, allocations: 111.7 kB / 450.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007439/0.2429, allocations: 4.505 MB / 455.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005314/0.2483, allocations: 2.568 MB / 457.7 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.2503, allocations: 1.154 MB / 458.9 MB, free: 9.887 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009837/0.2602, allocations: 8.104 MB / 467 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004493/0.2647, allocations: 3.945 MB / 470.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003316/0.268, allocations: 2.473 MB / 473.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004728/0.2727, allocations: 3.618 MB / 477 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001017/0.2737, allocations: 0.5039 MB / 477.5 MB, free: 7.133 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00267/0.2764, allocations: 1.529 MB / 479 MB, free: 5.602 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.2792, allocations: 3.05 MB / 482.1 MB, free: 2.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003743/0.2829, allocations: 3.418 MB / 485.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01107/0.294, allocations: 10.54 MB / 496.1 MB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.294, allocations: 0 / 496.1 MB, free: 4.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.294, allocations: 4 kB / 496.1 MB, free: 4.516 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002065/0.2942, allocations: 0 / 496.1 MB, free: 4.516 MB / 398.1 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.01769/0.3119, allocations: 8.102 MB / 0.4923 GB, free: 12.32 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.312, allocations: 8.031 kB / 0.4924 GB, free: 12.31 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001789/0.3138, allocations: 1.082 MB / 0.4934 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05292/0.3667, allocations: 8.558 MB / 0.5018 GB, free: 2.641 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01096/0.3776, allocations: 5.542 MB / 0.5072 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002766/0.3779, allocations: 352.8 kB / 0.5075 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00125/0.3792, allocations: 463.7 kB / 0.508 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02576/0.4049, allocations: 14.47 MB / 0.5221 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002382/0.4052, allocations: 79.41 kB / 0.5222 GB, free: 12.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001054/0.4062, allocations: 211.8 kB / 0.5224 GB, free: 12.54 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005502/0.4117, allocations: 2.832 MB / 0.5251 GB, free: 9.695 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2021/0.6138, allocations: 13.01 MB / 0.5378 GB, free: 92.45 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04733/0.6612, allocations: 58.12 MB / 0.5946 GB, free: 44.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01384/0.675, allocations: 7.36 MB / 0.6018 GB, free: 37.44 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003772/0.6788, allocations: 4.506 MB / 0.6062 GB, free: 32.93 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/0.6913, allocations: 12.69 MB / 0.6186 GB, free: 20.32 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.6913, allocations: 72.64 kB / 0.6186 GB, free: 20.24 MB / 446.1 MB Notification: Performance of pre-optimization done (n=326): time 4.679e-06/0.6913, allocations: 0 / 0.6186 GB, free: 20.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=572): time 1.87/2.562, allocations: 411.4 MB / 1.02 GB, free: 141 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/2.562, allocations: 265.6 kB / 1.021 GB, free: 140.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0052/2.567, allocations: 5.501 MB / 1.026 GB, free: 135.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001211/2.568, allocations: 109.7 kB / 1.026 GB, free: 135.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001505/2.57, allocations: 4.153 MB / 1.03 GB, free: 132.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001687/2.571, allocations: 2.104 MB / 1.032 GB, free: 130.2 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003172/2.575, allocations: 2.08 MB / 1.034 GB, free: 128.1 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.817e-05/2.575, allocations: 304.8 kB / 1.035 GB, free: 127.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/2.585, allocations: 10.88 MB / 1.045 GB, free: 116.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01147/2.596, allocations: 14.99 MB / 1.06 GB, free: 100.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02366/2.62, allocations: 27.12 MB / 1.086 GB, free: 71.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-05/2.62, allocations: 40 kB / 1.086 GB, free: 71.12 MB / 0.545 GB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.4838/3.104, allocations: 140.2 MB / 1.223 GB, free: 128.9 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.21e-05/3.104, allocations: 64 kB / 1.223 GB, free: 128.9 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001243/3.104, allocations: 136 kB / 1.223 GB, free: 128.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07076/3.175, allocations: 34.58 MB / 1.257 GB, free: 94.58 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/3.179, allocations: 1.474 MB / 1.259 GB, free: 93.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4047/3.583, allocations: 203.2 MB / 1.457 GB, free: 94.66 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/3.595, allocations: 1.704 MB / 1.459 GB, free: 93.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001607/3.596, allocations: 0.5297 MB / 1.459 GB, free: 93.2 MB / 0.545 GB 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.004639/3.601, allocations: 3.078 MB / 1.462 GB, free: 90.71 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/3.603, allocations: 0.6173 MB / 1.463 GB, free: 90.41 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4776/4.08, allocations: 136.2 MB / 1.596 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.71e-05/4.08, allocations: 60.72 kB / 1.596 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001212/4.081, allocations: 55.25 kB / 1.596 GB, free: 151.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.764e-05/4.081, allocations: 33.95 kB / 1.596 GB, free: 151.5 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5295/4.61, allocations: 205.6 MB / 1.797 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.002e-05/4.61, allocations: 7.938 kB / 1.797 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/4.612, allocations: 327.2 kB / 1.797 GB, free: 163.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06488/4.677, allocations: 33.29 MB / 1.83 GB, free: 153.5 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001121/4.678, allocations: 104 kB / 1.83 GB, free: 153.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3849/5.063, allocations: 185.9 MB / 2.011 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/5.063, allocations: 7.75 kB / 2.011 GB, free: 160.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3028/5.365, allocations: 152 MB / 2.16 GB, free: 23.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/5.367, allocations: 0.6536 MB / 2.16 GB, free: 22.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001775/5.369, allocations: 96 kB / 2.16 GB, free: 22.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008255/5.377, allocations: 1.482 MB / 2.162 GB, free: 21.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002961/5.38, allocations: 0.4949 MB / 2.162 GB, free: 20.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006855/5.38, allocations: 147.9 kB / 2.163 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003893/5.384, allocations: 3.513 MB / 2.166 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.01e-07/5.384, allocations: 0 / 2.166 GB, free: 17.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.1842/5.568, allocations: 3.787 MB / 2.17 GB, free: 172 MB / 0.5606 GB 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.3053/5.874, allocations: 152.5 MB / 2.319 GB, free: 69.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.04802/5.922, allocations: 32.62 MB / 2.35 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.046e-05/5.922, allocations: 3.938 kB / 2.35 GB, free: 36.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.03388/5.956, allocations: 19.56 MB / 2.37 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005333/5.961, allocations: 0.829 MB / 2.37 GB, free: 16.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.02/6.981, allocations: 352.9 MB / 2.715 GB, free: 77.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004639/6.985, allocations: 5.098 MB / 2.72 GB, free: 72.55 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00354/6.989, allocations: 2.062 MB / 2.722 GB, free: 70.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002496/6.991, allocations: 3.026 MB / 2.725 GB, free: 67.58 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/6.991, allocations: 3.219 kB / 2.725 GB, free: 67.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6855/7.677, allocations: 337.8 MB / 3.055 GB, free: 141.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.87/34.54, allocations: 7.938 kB / 3.055 GB, free: 141.9 MB / 0.5606 GB " [Timeout remaining time 625] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar1.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 36.89951350199408]