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.PlanarFourbar.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.001423/0.001423, allocations: 105 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.001558/0.001558, allocations: 216.9 kB / 22.92 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.282/1.282, allocations: 230.4 MB / 256.4 MB, free: 8.27 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.PlanarFourbar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar",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.001773/0.001773, allocations: 71.83 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2026, allocations: 53.31 MB / 429.4 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar): time 0.01836/0.2209, allocations: 18.15 MB / 447.5 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.2322, allocations: 6.098 MB / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002431/0.2346, allocations: 139.6 kB / 453.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01081/0.2454, allocations: 6.336 MB / 460.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006506/0.2519, allocations: 2.887 MB / 463 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004401/0.2563, allocations: 2.304 MB / 465.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01254/0.2689, allocations: 9.676 MB / 475 MB, free: 9.719 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006847/0.2757, allocations: 5.812 MB / 480.8 MB, free: 3.809 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004491/0.2802, allocations: 3.218 MB / 484 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006014/0.2862, allocations: 4.472 MB / 488.5 MB, free: 12.1 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001425/0.2877, allocations: 0.7109 MB / 489.2 MB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003449/0.2911, allocations: 1.951 MB / 491.1 MB, free: 9.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003952/0.2951, allocations: 3.912 MB / 495.1 MB, free: 5.512 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00509/0.3001, allocations: 4.407 MB / 499.5 MB, free: 1.082 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01455/0.3147, allocations: 13.87 MB / 0.5013 GB, free: 3.156 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3147, allocations: 3.938 kB / 0.5013 GB, free: 3.152 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3147, allocations: 0 / 0.5013 GB, free: 3.152 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003182/0.315, allocations: 0 / 0.5013 GB, free: 3.152 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2348 * Number of variables: 2348 Notification: Performance of Generate backend data structure: time 0.02391/0.3389, allocations: 9.659 MB / 0.5107 GB, free: 9.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.339, allocations: 8.031 kB / 0.5107 GB, free: 9.387 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001698/0.3407, allocations: 1.135 MB / 0.5119 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3045/0.6452, allocations: 23.28 MB / 0.5346 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1793/0.8244, allocations: 7.563 MB / 0.542 GB, free: 95.04 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002561/0.8247, allocations: 436.6 kB / 0.5424 GB, free: 94.88 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/0.8261, allocations: 0.5849 MB / 0.543 GB, free: 94.71 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02155/0.8477, allocations: 16.86 MB / 0.5594 GB, free: 84.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001739/0.8478, allocations: 75.47 kB / 0.5595 GB, free: 84.05 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005794/0.8484, allocations: 277.1 kB / 0.5598 GB, free: 83.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003264/0.8517, allocations: 2.652 MB / 0.5624 GB, free: 81.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02143/0.8731, allocations: 14.4 MB / 0.5764 GB, free: 66.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05351/0.9266, allocations: 63.79 MB / 0.6387 GB, free: 1.621 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02187/0.9485, allocations: 8.353 MB / 0.6469 GB, free: 9.109 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00574/0.9542, allocations: 4.566 MB / 0.6513 GB, free: 4.539 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02515/0.9794, allocations: 18.12 MB / 0.669 GB, free: 2.176 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.317e-05/0.9795, allocations: 72.48 kB / 0.6691 GB, free: 2.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=281): time 4.949e-06/0.9795, allocations: 4 kB / 0.6691 GB, free: 2.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=374): time 0.4207/1.4, allocations: 73.06 MB / 0.7405 GB, free: 177.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.027e-05/1.4, allocations: 376.1 kB / 0.7408 GB, free: 177.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006637/1.407, allocations: 6.428 MB / 0.7471 GB, free: 175.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006449/1.408, allocations: 84.69 kB / 0.7472 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001963/1.41, allocations: 5.017 MB / 0.7521 GB, free: 172.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/1.411, allocations: 1.43 MB / 0.7535 GB, free: 171.1 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002351/1.413, allocations: 1.847 MB / 0.7553 GB, free: 170.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.106e-05/1.413, allocations: 305.1 kB / 0.7556 GB, free: 170 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005665/1.419, allocations: 5.667 MB / 0.7611 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006747/1.426, allocations: 10.61 MB / 0.7715 GB, free: 159.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/1.439, allocations: 17.36 MB / 0.7884 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.335e-05/1.439, allocations: 48 kB / 0.7885 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1157) (initialization): time 0.03292/1.472, allocations: 21.92 MB / 0.8099 GB, free: 120.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 7.657e-05/1.472, allocations: 80.94 kB / 0.8099 GB, free: 120.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001101/1.472, allocations: 175.9 kB / 0.8101 GB, free: 119.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0175/1.489, allocations: 6.858 MB / 0.8168 GB, free: 113 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006054/1.495, allocations: 2.07 MB / 0.8188 GB, free: 111 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03612/1.532, allocations: 36.41 MB / 0.8544 GB, free: 74.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007368/1.539, allocations: 0.7177 MB / 0.8551 GB, free: 73.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001148/1.54, allocations: 0.5117 MB / 0.8556 GB, free: 72.94 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 779 * Number of states: 0 () * Number of discrete variables: 51 (sensorJoint4.arrowColor[3],sensorJoint4.arrowColor[2],sensorJoint4.arrowColor[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],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],revolute4cut.cylinderColor[3],revolute4cut.cylinderColor[2],revolute4cut.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1015): * Single equations (assignments): 1008 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,68,84.0%), (2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,24)} Notification: Performance of prepare postOptimizeDAE: time 0.004204/1.544, allocations: 3.414 MB / 0.8589 GB, free: 69.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001194/1.546, allocations: 0.617 MB / 0.8595 GB, free: 68.89 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02653/1.572, allocations: 16.03 MB / 0.8752 GB, free: 52.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.459e-05/1.572, allocations: 51.98 kB / 0.8752 GB, free: 52.74 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.34e-05/1.572, allocations: 19.94 kB / 0.8752 GB, free: 52.72 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.145e-05/1.572, allocations: 16.69 kB / 0.8753 GB, free: 52.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04142/1.614, allocations: 31.23 MB / 0.9058 GB, free: 21.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.277e-05/1.614, allocations: 4 kB / 0.9058 GB, free: 21.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002852/1.616, allocations: 0.6083 MB / 0.9063 GB, free: 20.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01698/1.633, allocations: 6.431 MB / 0.9126 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004983/1.634, allocations: 64 kB / 0.9127 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2048/1.839, allocations: 34.63 MB / 0.9465 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.839, allocations: 3.969 kB / 0.9465 GB, free: 176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03297/1.872, allocations: 23.49 MB / 0.9695 GB, free: 167.6 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/1.873, allocations: 0.6641 MB / 0.9701 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001118/1.874, allocations: 59.44 kB / 0.9702 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003843/1.878, allocations: 432.3 kB / 0.9706 GB, free: 167.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009394/1.879, allocations: 245.2 kB / 0.9708 GB, free: 167.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003289/1.879, allocations: 96.77 kB / 0.9709 GB, free: 167.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00451/1.884, allocations: 4.109 MB / 0.9749 GB, free: 164.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/1.884, allocations: 3.938 kB / 0.9749 GB, free: 164.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006851/1.891, allocations: 2.188 MB / 0.977 GB, free: 162.2 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute1.phi,revolute1.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 (243): * Single equations (assignments): 236 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,62,84.0%), (2,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.03218/1.923, allocations: 24.29 MB / 1.001 GB, free: 139 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.938, allocations: 13.66 MB / 1.014 GB, free: 125.4 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.938, allocations: 0 / 1.014 GB, free: 125.4 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.007561/1.946, allocations: 6.024 MB / 1.02 GB, free: 119.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004532/1.95, allocations: 0.9408 MB / 1.021 GB, free: 118.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1192/2.07, allocations: 102.9 MB / 1.121 GB, free: 7.453 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006692/2.076, allocations: 5.267 MB / 1.127 GB, free: 2.145 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.006924/2.083, allocations: 3.029 MB / 1.129 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005284/2.088, allocations: 3.385 MB / 1.133 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of SimCode: time 1.422e-06/2.088, allocations: 0 / 1.133 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3566/2.445, allocations: 165.6 MB / 1.294 GB, free: 62.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.77/26.21, allocations: 7.078 kB / 1.294 GB, free: 62.23 MB / 0.5606 GB " [Timeout remaining time 634] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_PlanarFourbar.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarFourbar.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 28.498824321002758]