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.001396/0.001396, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001537/0.001537, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.437/1.437, allocations: 230.5 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] 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.002168/0.002168, allocations: 67.89 kB / 373.6 MB, free: 10.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 53.32 MB / 426.9 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Engine1a): time 0.2199/0.3269, allocations: 19.45 MB / 446.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0142/0.3411, allocations: 6.003 MB / 452.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004713/0.3458, allocations: 157.3 kB / 452.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01193/0.3578, allocations: 5.913 MB / 458.4 MB, free: 9.285 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.3679, allocations: 3.393 MB / 461.8 MB, free: 7.266 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004049/0.372, allocations: 1.568 MB / 463.4 MB, free: 6.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01921/0.3912, allocations: 12.67 MB / 476.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009041/0.4002, allocations: 6.416 MB / 482.5 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007263/0.4075, allocations: 3.587 MB / 486.1 MB, free: 5.586 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008495/0.416, allocations: 5.114 MB / 491.2 MB, free: 464 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002506/0.4185, allocations: 0.7149 MB / 491.9 MB, free: 15.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004912/0.4234, allocations: 1.709 MB / 493.6 MB, free: 14.03 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006159/0.4295, allocations: 4.352 MB / 498 MB, free: 9.664 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009294/0.4388, allocations: 4.744 MB / 0.4909 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01975/0.4586, allocations: 14.35 MB / 0.5049 GB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.4586, allocations: 0 / 0.5049 GB, free: 6.488 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.4586, allocations: 0 / 0.5049 GB, free: 6.488 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004469/0.4591, allocations: 0 / 0.5049 GB, free: 6.488 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: 2386 * Number of variables: 2386 Notification: Performance of Generate backend data structure: time 0.02945/0.4885, allocations: 10.56 MB / 0.5152 GB, free: 11.82 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4886, allocations: 8.031 kB / 0.5153 GB, free: 11.81 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00334/0.4919, allocations: 1.14 MB / 0.5164 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2578/0.7497, allocations: 24.3 MB / 0.5401 GB, free: 2.328 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02225/0.7719, allocations: 9.172 MB / 0.549 GB, free: 9.066 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004817/0.7724, allocations: 427.4 kB / 0.5495 GB, free: 8.648 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002145/0.7746, allocations: 0.5933 MB / 0.55 GB, free: 8.055 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03157/0.8061, allocations: 16.16 MB / 0.5658 GB, free: 6.84 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003288/0.8065, allocations: 103.3 kB / 0.5659 GB, free: 6.738 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001042/0.8075, allocations: 267.8 kB / 0.5662 GB, free: 6.477 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004503/0.812, allocations: 2.76 MB / 0.5689 GB, free: 3.711 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/0.8394, allocations: 12.88 MB / 0.5814 GB, free: 6.824 MB / 494.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.4693/1.309, allocations: 66.21 MB / 0.6461 GB, free: 119 MB / 0.5138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0182/1.327, allocations: 7.355 MB / 0.6533 GB, free: 118.2 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004515/1.331, allocations: 3.922 MB / 0.6571 GB, free: 116.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/1.35, allocations: 11.7 MB / 0.6685 GB, free: 111.2 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.706e-05/1.35, allocations: 70.8 kB / 0.6686 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=280): time 5.14e-06/1.35, allocations: 0.7188 kB / 0.6686 GB, free: 111.1 MB / 0.5138 GB Notification: Performance of matching and sorting (n=339): time 0.1484/1.498, allocations: 47.74 MB / 0.7152 GB, free: 77.3 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/1.498, allocations: 398.1 kB / 0.7156 GB, free: 76.82 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008867/1.507, allocations: 7.163 MB / 0.7226 GB, free: 69.79 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0008533/1.508, allocations: 81.7 kB / 0.7227 GB, free: 69.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002705/1.511, allocations: 5.34 MB / 0.7279 GB, free: 64.93 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001346/1.512, allocations: 1.295 MB / 0.7292 GB, free: 63.65 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/1.514, allocations: 1.663 MB / 0.7308 GB, free: 61.98 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 3.93e-05/1.514, allocations: 301.1 kB / 0.7311 GB, free: 61.68 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00426/1.518, allocations: 3.967 MB / 0.7349 GB, free: 57.71 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005744/1.524, allocations: 8.585 MB / 0.7433 GB, free: 46.91 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01154/1.536, allocations: 13.48 MB / 0.7565 GB, free: 31.23 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001021/1.536, allocations: 44 kB / 0.7565 GB, free: 31.18 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1070) (initialization): time 0.03067/1.566, allocations: 17.14 MB / 0.7733 GB, free: 13.98 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001963/1.566, allocations: 72 kB / 0.7733 GB, free: 13.91 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002465/1.567, allocations: 160 kB / 0.7735 GB, free: 13.76 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01532/1.582, allocations: 5.764 MB / 0.7791 GB, free: 7.977 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005067/1.587, allocations: 1.751 MB / 0.7808 GB, free: 6.223 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0481/1.635, allocations: 31.67 MB / 0.8118 GB, free: 6.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007113/1.642, allocations: 0.5267 MB / 0.8123 GB, free: 5.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001507/1.644, allocations: 480 kB / 0.8127 GB, free: 5.145 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.007342/1.651, allocations: 3.453 MB / 0.8161 GB, free: 1.68 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001836/1.653, allocations: 0.6907 MB / 0.8168 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02765/1.681, allocations: 11.41 MB / 0.8279 GB, free: 5.531 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.298e-05/1.681, allocations: 40 kB / 0.828 GB, free: 5.492 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.088e-05/1.681, allocations: 20 kB / 0.828 GB, free: 5.473 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.326e-05/1.681, allocations: 15.94 kB / 0.828 GB, free: 5.457 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2408/1.922, allocations: 24.66 MB / 0.8521 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.27e-05/1.922, allocations: 7.219 kB / 0.8521 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/1.924, allocations: 419.9 kB / 0.8525 GB, free: 183.1 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01456/1.938, allocations: 5.383 MB / 0.8577 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000686/1.939, allocations: 59.12 kB / 0.8578 GB, free: 182.1 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03413/1.973, allocations: 30.36 MB / 0.8874 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/1.973, allocations: 11.75 kB / 0.8875 GB, free: 167.5 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02558/1.998, allocations: 16.44 MB / 0.9035 GB, free: 153.2 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002648/2.001, allocations: 0.7155 MB / 0.9042 GB, free: 152.9 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002068/2.003, allocations: 60 kB / 0.9043 GB, free: 152.8 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004325/2.008, allocations: 265 kB / 0.9045 GB, free: 152.6 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001214/2.009, allocations: 249.8 kB / 0.9048 GB, free: 152.3 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000568/2.009, allocations: 88 kB / 0.9048 GB, free: 152.2 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.008421/2.018, allocations: 4.615 MB / 0.9094 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of sort global known variables: time 1.9e-07/2.018, allocations: 0 / 0.9094 GB, free: 147.6 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.01004/2.028, allocations: 1.951 MB / 0.9113 GB, free: 145.7 MB / 0.5607 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.0285/2.056, allocations: 17.16 MB / 0.928 GB, free: 128.6 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.01521/2.071, allocations: 10.08 MB / 0.9379 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/2.072, allocations: 7.938 kB / 0.9379 GB, free: 118.6 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.007462/2.079, allocations: 4.365 MB / 0.9421 GB, free: 114.2 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008314/2.087, allocations: 1.093 MB / 0.9432 GB, free: 113.1 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1474/2.235, allocations: 91.47 MB / 1.033 GB, free: 14.33 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2338/2.468, allocations: 5.521 MB / 1.038 GB, free: 182.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.007282/2.476, allocations: 2.625 MB / 1.04 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005559/2.481, allocations: 3.737 MB / 1.044 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.693e-06/2.481, allocations: 0 / 1.044 GB, free: 182.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2234/2.705, allocations: 158.5 MB / 1.199 GB, free: 55.67 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate platform static: time 39.35/42.06, allocations: 6.719 kB / 1.199 GB, free: 55.67 MB / 0.5607 GB " [Timeout remaining time 618] (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 --stepSize=0.0009996 --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: 44.72118595894426] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia.phi', 'inertia.w'] 42.25989737268537 42.274323089 41.812330726 Calling exit ...