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.Fourbar_analytic.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.001405/0.001405, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.001513/0.001513, allocations: 222.3 kB / 22.92 MB, free: 5.559 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.261/1.261, allocations: 230.5 MB / 256.4 MB, free: 8.277 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.Fourbar_analytic,fileNamePrefix="Modelica_4_1_0-beta_om_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_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic",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.001761/0.001761, allocations: 68.02 kB / 376.1 MB, free: 4.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1955, allocations: 53.32 MB / 429.4 MB, free: 7.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01379/0.2093, allocations: 13.55 MB / 443 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007751/0.2171, allocations: 4.913 MB / 447.9 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007707/0.2179, allocations: 91.69 kB / 448 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006729/0.2246, allocations: 4.237 MB / 452.2 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003859/0.2284, allocations: 2.167 MB / 454.4 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.2304, allocations: 1.107 MB / 455.5 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006847/0.2372, allocations: 6.059 MB / 461.5 MB, free: 7.367 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003919/0.2411, allocations: 3.786 MB / 465.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.2434, allocations: 2.158 MB / 467.5 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003407/0.2468, allocations: 3.085 MB / 470.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006844/0.2475, allocations: 0.4922 MB / 471 MB, free: 13.76 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002424/0.2499, allocations: 1.666 MB / 472.7 MB, free: 12.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002166/0.2521, allocations: 2.661 MB / 475.4 MB, free: 9.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002517/0.2546, allocations: 2.949 MB / 478.3 MB, free: 6.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008506/0.2631, allocations: 9.64 MB / 488 MB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2631, allocations: 4 kB / 488 MB, free: 12.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2631, allocations: 3.938 kB / 488 MB, free: 12.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.914e-05/0.2632, allocations: 0 / 488 MB, free: 12.78 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: 1743 * Number of variables: 1743 Notification: Performance of Generate backend data structure: time 0.01042/0.2736, allocations: 6.351 MB / 494.3 MB, free: 6.344 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2737, allocations: 12.03 kB / 494.3 MB, free: 6.332 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001145/0.2748, allocations: 0.9247 MB / 495.3 MB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03616/0.311, allocations: 6.055 MB / 0.4896 GB, free: 15.33 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007371/0.3184, allocations: 4.27 MB / 0.4937 GB, free: 11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002143/0.3186, allocations: 308.1 kB / 0.494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007659/0.3193, allocations: 435.7 kB / 0.4944 GB, free: 10.27 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.3377, allocations: 12.32 MB / 0.5065 GB, free: 13.2 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.3378, allocations: 51.53 kB / 0.5065 GB, free: 13.15 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004404/0.3383, allocations: 187.9 kB / 0.5067 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003006/0.3413, allocations: 2.035 MB / 0.5087 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.3592, allocations: 10.36 MB / 0.5188 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1944/0.5536, allocations: 43.98 MB / 0.5618 GB, free: 70.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.5638, allocations: 4.665 MB / 0.5663 GB, free: 68.84 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.5654, allocations: 1.839 MB / 0.5681 GB, free: 68.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006633/0.5721, allocations: 7.103 MB / 0.575 GB, free: 63.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.5721, allocations: 54.03 kB / 0.5751 GB, free: 63.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 3.196e-06/0.5721, allocations: 2.875 kB / 0.5751 GB, free: 63.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05132/0.6234, allocations: 19.24 MB / 0.5939 GB, free: 46.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/0.6235, allocations: 205.9 kB / 0.5941 GB, free: 46.33 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003855/0.6273, allocations: 4.493 MB / 0.5985 GB, free: 41.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.6274, allocations: 57.7 kB / 0.5985 GB, free: 41.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001172/0.6286, allocations: 3.69 MB / 0.6021 GB, free: 38.43 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004167/0.629, allocations: 0.8701 MB / 0.603 GB, free: 37.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001071/0.6301, allocations: 1.275 MB / 0.6042 GB, free: 36.29 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.346e-05/0.6301, allocations: 313.1 kB / 0.6045 GB, free: 35.98 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/0.6324, allocations: 2.226 MB / 0.6067 GB, free: 33.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00322/0.6356, allocations: 5.988 MB / 0.6125 GB, free: 25.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006019/0.6416, allocations: 8.916 MB / 0.6213 GB, free: 15.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.62e-05/0.6416, allocations: 40 kB / 0.6213 GB, free: 15.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01163/0.6533, allocations: 9.056 MB / 0.6301 GB, free: 6.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.6533, allocations: 63.98 kB / 0.6302 GB, free: 5.988 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-05/0.6534, allocations: 132 kB / 0.6303 GB, free: 5.859 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002997/0.6564, allocations: 1.211 MB / 0.6315 GB, free: 4.645 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003385/0.6598, allocations: 1.412 MB / 0.6329 GB, free: 3.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009846/0.6696, allocations: 8.022 MB / 0.6407 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003764/0.6734, allocations: 343.5 kB / 0.641 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004588/0.6739, allocations: 380 kB / 0.6414 GB, free: 10.37 MB / 462.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.003254/0.6771, allocations: 2.478 MB / 0.6438 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/0.6777, allocations: 437 kB / 0.6442 GB, free: 7.449 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007426/0.6851, allocations: 3.877 MB / 0.648 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.792e-05/0.6851, allocations: 24 kB / 0.648 GB, free: 3.539 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6852, allocations: 8 kB / 0.6481 GB, free: 3.531 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.919e-05/0.6852, allocations: 15.95 kB / 0.6481 GB, free: 3.516 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01588/0.7011, allocations: 9.933 MB / 0.6578 GB, free: 9.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-05/0.7011, allocations: 4 kB / 0.6578 GB, free: 9.48 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/0.7024, allocations: 328.1 kB / 0.6581 GB, free: 9.16 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.7055, allocations: 0.9918 MB / 0.6591 GB, free: 8.164 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.7057, allocations: 40 kB / 0.6591 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009303/0.715, allocations: 6.693 MB / 0.6656 GB, free: 1.293 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.715, allocations: 7.938 kB / 0.6656 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/0.7251, allocations: 6.612 MB / 0.6721 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006715/0.7258, allocations: 470 kB / 0.6725 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000364/0.7261, allocations: 48.06 kB / 0.6726 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001426/0.7276, allocations: 111.9 kB / 0.6727 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002894/0.7278, allocations: 143 kB / 0.6728 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.728, allocations: 71.98 kB / 0.6729 GB, free: 9.746 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003587/0.7316, allocations: 2.82 MB / 0.6757 GB, free: 6.926 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7316, allocations: 0 / 0.6757 GB, free: 6.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004078/0.7357, allocations: 1.16 MB / 0.6768 GB, free: 5.766 MB / 494.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.01065/0.7463, allocations: 7.327 MB / 0.6839 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007517/0.7538, allocations: 5.322 MB / 0.6891 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.7538, allocations: 4 kB / 0.6891 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/0.7562, allocations: 1.707 MB / 0.6908 GB, free: 7.316 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/0.7586, allocations: 0.5716 MB / 0.6914 GB, free: 6.75 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2277/0.9864, allocations: 51.56 MB / 0.7417 GB, free: 194.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004003/0.9904, allocations: 3.864 MB / 0.7455 GB, free: 194 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003462/0.9938, allocations: 1.945 MB / 0.7474 GB, free: 193.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001902/0.9957, allocations: 2.283 MB / 0.7496 GB, free: 193.4 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.9957, allocations: 0 / 0.7496 GB, free: 193.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1054/1.101, allocations: 84.75 MB / 0.8324 GB, free: 118 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.02/24.12, allocations: 16.22 kB / 0.8324 GB, free: 118 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Fourbar_analytic.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.307526746000804]