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.Engine1a.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.00142/0.00142, allocations: 105.5 kB / 19.74 MB, free: 2.566 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.001554/0.001554, allocations: 220.7 kB / 22.92 MB, free: 5.535 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.304/1.304, allocations: 230.5 MB / 256.4 MB, free: 8.422 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.Engine1a,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a",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.001884/0.001884, allocations: 63.89 kB / 376.1 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2049/0.2067, allocations: 53.31 MB / 429.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.01994/0.2267, allocations: 19.47 MB / 448.9 MB, free: 3.855 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0112/0.2379, allocations: 6.031 MB / 454.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002096/0.24, allocations: 155.4 kB / 455.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009934/0.2499, allocations: 5.926 MB / 461 MB, free: 7.711 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007549/0.2575, allocations: 3.393 MB / 464.4 MB, free: 4.305 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.2604, allocations: 1.576 MB / 466 MB, free: 2.727 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01612/0.2765, allocations: 12.67 MB / 478.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006742/0.2833, allocations: 5.43 MB / 484.1 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00566/0.2889, allocations: 3.591 MB / 487.7 MB, free: 12.91 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006891/0.2958, allocations: 5.122 MB / 492.8 MB, free: 7.777 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001435/0.2972, allocations: 0.7148 MB / 493.5 MB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00308/0.3003, allocations: 1.697 MB / 495.2 MB, free: 5.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003934/0.3043, allocations: 4.359 MB / 499.6 MB, free: 0.9961 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004919/0.3092, allocations: 4.745 MB / 0.4925 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.3236, allocations: 14.35 MB / 0.5065 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3236, allocations: 0 / 0.5065 GB, free: 13.82 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3236, allocations: 0 / 0.5065 GB, free: 13.82 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003046/0.3239, allocations: 0 / 0.5065 GB, free: 13.82 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02688/0.3507, allocations: 10.57 MB / 0.5168 GB, free: 3.148 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.3508, allocations: 8.031 kB / 0.5168 GB, free: 3.141 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001869/0.3527, allocations: 1.144 MB / 0.5179 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5823/0.935, allocations: 24.3 MB / 0.5417 GB, free: 94.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/0.9499, allocations: 9.167 MB / 0.5506 GB, free: 90.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002039/0.9501, allocations: 430 kB / 0.551 GB, free: 90.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001281/0.9514, allocations: 0.5839 MB / 0.5516 GB, free: 90.43 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.971, allocations: 16.17 MB / 0.5674 GB, free: 73.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000192/0.9712, allocations: 103.2 kB / 0.5675 GB, free: 73.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005386/0.9717, allocations: 266.4 kB / 0.5677 GB, free: 73.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003182/0.9749, allocations: 2.757 MB / 0.5704 GB, free: 70.63 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01878/0.9937, allocations: 12.87 MB / 0.583 GB, free: 57.75 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05572/1.049, allocations: 66.24 MB / 0.6477 GB, free: 5.785 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/1.068, allocations: 7.356 MB / 0.6549 GB, free: 14.29 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005086/1.074, allocations: 3.922 MB / 0.6587 GB, free: 10.36 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01711/1.091, allocations: 11.7 MB / 0.6701 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.342e-05/1.091, allocations: 64.5 kB / 0.6702 GB, free: 14.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=280): time 4.789e-06/1.091, allocations: 4 kB / 0.6702 GB, free: 14.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=339): time 0.1687/1.259, allocations: 47.73 MB / 0.7168 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/1.26, allocations: 398.1 kB / 0.7172 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009798/1.269, allocations: 7.163 MB / 0.7242 GB, free: 7.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006352/1.27, allocations: 77.7 kB / 0.7243 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.004048/1.274, allocations: 5.347 MB / 0.7295 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001555/1.276, allocations: 1.298 MB / 0.7307 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002329/1.278, allocations: 1.655 MB / 0.7324 GB, free: 14.96 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001136/1.278, allocations: 309.1 kB / 0.7327 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/1.284, allocations: 3.959 MB / 0.7365 GB, free: 10.69 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1834/1.467, allocations: 8.581 MB / 0.7449 GB, free: 182.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0121/1.479, allocations: 13.49 MB / 0.7581 GB, free: 173.6 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.508e-05/1.479, allocations: 47.22 kB / 0.7581 GB, free: 173.6 MB / 0.545 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.02669/1.506, allocations: 17.14 MB / 0.7749 GB, free: 168.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/1.506, allocations: 74.88 kB / 0.7749 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-05/1.506, allocations: 163.5 kB / 0.7751 GB, free: 168.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/1.521, allocations: 5.761 MB / 0.7807 GB, free: 167 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/1.525, allocations: 1.755 MB / 0.7824 GB, free: 165.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03151/1.557, allocations: 31.67 MB / 0.8134 GB, free: 134.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006008/1.563, allocations: 0.5214 MB / 0.8139 GB, free: 134.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005637/1.563, allocations: 472 kB / 0.8143 GB, free: 133.8 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 727 * Number of states: 0 () * Number of discrete variables: 66 (cylinder.boxColor[3],cylinder.boxColor[2],cylinder.boxColor[1],b2.cylinderColor[3],b2.cylinderColor[2],b2.cylinderColor[1],b1.cylinderColor[3],b1.cylinderColor[2],b1.cylinderColor[1],cylPosition.color[3],cylPosition.color[2],cylPosition.color[1],mid.color[3],mid.color[2],mid.color[1],crank4.color[3],crank4.color[2],crank4.color[1],crank4.body.sphereColor[3],crank4.body.sphereColor[2],crank4.body.sphereColor[1],crank3.color[3],crank3.color[2],crank3.color[1],crank3.body.sphereColor[3],crank3.body.sphereColor[2],crank3.body.sphereColor[1],crank2.color[3],crank2.color[2],crank2.color[1],crank2.body.sphereColor[3],crank2.body.sphereColor[2],crank2.body.sphereColor[1],crank1.color[3],crank1.color[2],crank1.color[1],crank1.body.sphereColor[3],crank1.body.sphereColor[2],crank1.body.sphereColor[1],bearing.cylinderColor[3],bearing.cylinderColor[2],bearing.cylinderColor[1],connectingRod.color[3],connectingRod.color[2],connectingRod.color[1],connectingRod.body.sphereColor[3],connectingRod.body.sphereColor[2],connectingRod.body.sphereColor[1],piston.color[3],piston.color[2],piston.color[1],piston.body.sphereColor[3],piston.body.sphereColor[2],piston.body.sphereColor[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 (934): * Single equations (assignments): 928 * Array equations: 3 * 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 {(8,93,51.6%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.003537/1.567, allocations: 3.465 MB / 0.8177 GB, free: 130.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008417/1.568, allocations: 0.686 MB / 0.8184 GB, free: 130.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0197/1.587, allocations: 11.4 MB / 0.8295 GB, free: 118.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/1.587, allocations: 36 kB / 0.8295 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/1.587, allocations: 16 kB / 0.8296 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.782e-05/1.587, allocations: 19.94 kB / 0.8296 GB, free: 118.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03348/1.621, allocations: 24.67 MB / 0.8537 GB, free: 93.56 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.624e-05/1.621, allocations: 4.75 kB / 0.8537 GB, free: 93.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001586/1.623, allocations: 427.3 kB / 0.8541 GB, free: 93.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01418/1.637, allocations: 5.368 MB / 0.8593 GB, free: 87.76 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004854/1.637, allocations: 64.23 kB / 0.8594 GB, free: 87.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02956/1.667, allocations: 30.35 MB / 0.889 GB, free: 57.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.667, allocations: 11.94 kB / 0.889 GB, free: 57.12 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02369/1.69, allocations: 16.46 MB / 0.9051 GB, free: 40.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.692, allocations: 0.7161 MB / 0.9058 GB, free: 39.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008378/1.693, allocations: 60.38 kB / 0.9059 GB, free: 39.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/1.696, allocations: 263.6 kB / 0.9061 GB, free: 39.43 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006416/1.696, allocations: 246.2 kB / 0.9063 GB, free: 39.19 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002217/1.696, allocations: 84 kB / 0.9064 GB, free: 39.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005082/1.702, allocations: 4.616 MB / 0.9109 GB, free: 34.53 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/1.702, allocations: 0 / 0.9109 GB, free: 34.53 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006617/1.708, allocations: 1.958 MB / 0.9128 GB, free: 32.57 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 2 (inertia.phi,inertia.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 (214): * Single equations (assignments): 208 * Array equations: 3 * 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 {(7,87,55.1%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.02383/1.732, allocations: 17.15 MB / 0.9296 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01331/1.745, allocations: 10.09 MB / 0.9394 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/1.745, allocations: 0 / 0.9394 GB, free: 5.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.006461/1.752, allocations: 4.374 MB / 0.9437 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/1.757, allocations: 1.086 MB / 0.9448 GB, free: 15.61 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2772/2.034, allocations: 91.61 MB / 1.034 GB, free: 129.7 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004629/2.039, allocations: 5.522 MB / 1.04 GB, free: 124.2 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004591/2.043, allocations: 2.625 MB / 1.042 GB, free: 121.6 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003108/2.046, allocations: 3.737 MB / 1.046 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of SimCode: time 8.32e-07/2.046, allocations: 2.625 kB / 1.046 GB, free: 117.8 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3573/2.404, allocations: 156.3 MB / 1.198 GB, free: 159.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 34.97/37.37, allocations: 4.766 kB / 1.198 GB, free: 159.1 MB / 0.5607 GB " [Timeout remaining time 622] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Loops_Engine1a.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 39.7637576430061]