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.001267/0.001267, allocations: 118.6 kB / 18.5 MB, free: 4.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.001393/0.001393, allocations: 214.6 kB / 21.46 MB, free: 1.605 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.481/1.481, allocations: 230.4 MB / 254.7 MB, free: 14.86 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.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.00192/0.00192, allocations: 67.84 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1213, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2226/0.344, allocations: 13.5 MB / 440.4 MB, free: 3.805 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009551/0.3535, allocations: 4.895 MB / 445.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002757/0.3563, allocations: 86.31 kB / 445.4 MB, free: 1.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008363/0.3646, allocations: 4.223 MB / 449.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007438/0.3721, allocations: 2.165 MB / 451.8 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003471/0.3755, allocations: 1.109 MB / 452.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01185/0.3874, allocations: 6.051 MB / 458.9 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006618/0.394, allocations: 4.424 MB / 463.3 MB, free: 8.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005302/0.3993, allocations: 2.16 MB / 465.5 MB, free: 7.039 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006798/0.4061, allocations: 3.088 MB / 468.6 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002386/0.4085, allocations: 0.4918 MB / 469.1 MB, free: 5.109 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005093/0.4136, allocations: 1.657 MB / 470.7 MB, free: 4.496 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004572/0.4182, allocations: 2.657 MB / 473.4 MB, free: 2.305 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006515/0.4247, allocations: 2.953 MB / 476.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01488/0.4395, allocations: 9.652 MB / 486 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/0.4396, allocations: 0 / 486 MB, free: 5.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4396, allocations: 0 / 486 MB, free: 5.648 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003274/0.4399, allocations: 0 / 486 MB, free: 5.648 MB / 382.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.01728/0.4572, allocations: 6.351 MB / 492.4 MB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6e-05/0.4572, allocations: 15.97 kB / 492.4 MB, free: 15.19 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002166/0.4594, allocations: 0.9335 MB / 493.3 MB, free: 14.25 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/0.4937, allocations: 6.055 MB / 499.4 MB, free: 8.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/0.5052, allocations: 4.259 MB / 0.4918 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.5055, allocations: 304.3 kB / 0.4921 GB, free: 3.562 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/0.5074, allocations: 447.7 kB / 0.4925 GB, free: 3.125 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02672/0.5341, allocations: 12.31 MB / 0.5046 GB, free: 6.07 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000167/0.5343, allocations: 56.5 kB / 0.5046 GB, free: 6.016 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005532/0.5348, allocations: 191.8 kB / 0.5048 GB, free: 5.828 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003399/0.5382, allocations: 2.027 MB / 0.5068 GB, free: 3.797 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02326/0.5615, allocations: 10.36 MB / 0.5169 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06826/0.6298, allocations: 43.98 MB / 0.5598 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/0.6437, allocations: 4.671 MB / 0.5644 GB, free: 7.41 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003313/0.647, allocations: 1.835 MB / 0.5662 GB, free: 5.559 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01505/0.662, allocations: 7.096 MB / 0.5731 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.47e-05/0.6621, allocations: 51.56 kB / 0.5732 GB, free: 14.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=179): time 5.27e-06/0.6621, allocations: 7.938 kB / 0.5732 GB, free: 14.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.06862/0.7307, allocations: 19.24 MB / 0.592 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.7309, allocations: 209.8 kB / 0.5922 GB, free: 10.6 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008871/0.7397, allocations: 4.489 MB / 0.5966 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004737/0.7402, allocations: 65.7 kB / 0.5966 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003743/0.7439, allocations: 3.693 MB / 0.6002 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001452/0.7454, allocations: 0.876 MB / 0.6011 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003276/0.7487, allocations: 1.275 MB / 0.6023 GB, free: 136 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.7488, allocations: 305.1 kB / 0.6026 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004285/0.7531, allocations: 2.23 MB / 0.6048 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008385/0.7615, allocations: 5.991 MB / 0.6106 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2327/0.9942, allocations: 8.907 MB / 0.6193 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001206/0.9944, allocations: 37.59 kB / 0.6194 GB, free: 152.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01881/1.013, allocations: 9.051 MB / 0.6282 GB, free: 150 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/1.013, allocations: 61.8 kB / 0.6283 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002061/1.013, allocations: 139 kB / 0.6284 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004092/1.018, allocations: 1.201 MB / 0.6296 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004854/1.022, allocations: 1.416 MB / 0.631 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01194/1.034, allocations: 8.014 MB / 0.6388 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006457/1.041, allocations: 337.6 kB / 0.6391 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/1.042, allocations: 375.9 kB / 0.6395 GB, free: 145.3 MB / 0.5137 GB 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.004792/1.047, allocations: 2.49 MB / 0.6419 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008342/1.048, allocations: 425.4 kB / 0.6423 GB, free: 144.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006897/1.054, allocations: 3.875 MB / 0.6461 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.054, allocations: 23.38 kB / 0.6461 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.511e-05/1.054, allocations: 8.25 kB / 0.6461 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.055, allocations: 11.16 kB / 0.6461 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01633/1.071, allocations: 9.943 MB / 0.6558 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.071, allocations: 3.969 kB / 0.6558 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00132/1.072, allocations: 336 kB / 0.6562 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002882/1.075, allocations: 0.9852 MB / 0.6571 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001859/1.075, allocations: 43.91 kB / 0.6572 GB, free: 138.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007531/1.083, allocations: 6.686 MB / 0.6637 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/1.083, allocations: 9.156 kB / 0.6637 GB, free: 134.8 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008717/1.091, allocations: 6.623 MB / 0.6702 GB, free: 129.2 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00114/1.093, allocations: 473.8 kB / 0.6706 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004217/1.093, allocations: 40 kB / 0.6707 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/1.094, allocations: 111.8 kB / 0.6708 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003002/1.095, allocations: 154.4 kB / 0.6709 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000125/1.095, allocations: 59.98 kB / 0.671 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003533/1.098, allocations: 2.82 MB / 0.6737 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/1.098, allocations: 0 / 0.6737 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004976/1.103, allocations: 1.165 MB / 0.6749 GB, free: 124.4 MB / 0.5137 GB 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.009028/1.112, allocations: 7.323 MB / 0.682 GB, free: 117 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007062/1.12, allocations: 5.324 MB / 0.6872 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.12, allocations: 4 kB / 0.6872 GB, free: 111.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002039/1.122, allocations: 1.71 MB / 0.6889 GB, free: 110 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/1.125, allocations: 0.5739 MB / 0.6895 GB, free: 109.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06721/1.192, allocations: 51.46 MB / 0.7397 GB, free: 52.05 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005922/1.198, allocations: 3.868 MB / 0.7435 GB, free: 48.17 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004603/1.202, allocations: 1.934 MB / 0.7454 GB, free: 46.23 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003144/1.206, allocations: 2.292 MB / 0.7476 GB, free: 43.94 MB / 0.5137 GB Notification: Performance of SimCode: time 1.553e-06/1.206, allocations: 1.969 kB / 0.7476 GB, free: 43.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3736/1.579, allocations: 84.29 MB / 0.8299 GB, free: 178 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.74/28.32, allocations: 11.23 kB / 0.8299 GB, free: 178 MB / 0.545 GB " [Timeout remaining time 632] (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 --stepSize=0.0009996 --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: 30.862746892031282] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 28.45745630702004 28.475256766 28.031734325 Calling exit ...