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.001715/0.001715, allocations: 120 kB / 18.5 MB, free: 4.52 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.002167/0.002167, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.561/1.561, allocations: 230.5 MB / 254.8 MB, free: 15.11 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.002071/0.002071, allocations: 75.81 kB / 373.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.108, allocations: 53.32 MB / 427 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.2393/0.3473, allocations: 13.5 MB / 440.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01104/0.3584, allocations: 4.898 MB / 445.4 MB, free: 1.191 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.3616, allocations: 106.8 kB / 445.5 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008694/0.3703, allocations: 4.222 MB / 449.7 MB, free: 15.24 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007726/0.378, allocations: 2.158 MB / 451.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.3818, allocations: 1.11 MB / 453 MB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01145/0.3932, allocations: 6.053 MB / 459 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008312/0.4015, allocations: 4.43 MB / 463.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005416/0.4069, allocations: 2.186 MB / 465.7 MB, free: 7.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006827/0.4138, allocations: 3.084 MB / 468.7 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002205/0.416, allocations: 0.4917 MB / 469.2 MB, free: 5.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005012/0.421, allocations: 1.665 MB / 470.9 MB, free: 4.586 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004986/0.426, allocations: 2.664 MB / 473.6 MB, free: 2.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006885/0.4328, allocations: 2.945 MB / 476.5 MB, free: 15.35 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01612/0.449, allocations: 9.648 MB / 486.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.449, allocations: 0 / 486.2 MB, free: 5.668 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.449, allocations: 3.938 kB / 486.2 MB, free: 5.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003481/0.4493, allocations: 0 / 486.2 MB, free: 5.664 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.01703/0.4664, allocations: 6.355 MB / 492.5 MB, free: 15.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4664, allocations: 8.031 kB / 492.5 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002869/0.4693, allocations: 0.9364 MB / 493.5 MB, free: 14.26 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03949/0.5088, allocations: 6.055 MB / 499.5 MB, free: 8.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.5192, allocations: 4.258 MB / 0.492 GB, free: 3.883 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003835/0.5195, allocations: 304.3 kB / 0.4923 GB, free: 3.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002147/0.5217, allocations: 443.7 kB / 0.4927 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02651/0.5482, allocations: 12.32 MB / 0.5047 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/0.5484, allocations: 51.53 kB / 0.5048 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009811/0.5494, allocations: 191.9 kB / 0.505 GB, free: 5.844 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003595/0.553, allocations: 2.031 MB / 0.5069 GB, free: 3.809 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02407/0.577, allocations: 10.36 MB / 0.517 GB, free: 9.441 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06467/0.6417, allocations: 43.98 MB / 0.56 GB, free: 12.23 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/0.6558, allocations: 4.666 MB / 0.5646 GB, free: 7.434 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00317/0.659, allocations: 1.839 MB / 0.5664 GB, free: 5.582 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01385/0.6728, allocations: 7.096 MB / 0.5733 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.102e-05/0.6729, allocations: 55.56 kB / 0.5733 GB, free: 14.14 MB / 494.1 MB Notification: Performance of pre-optimization done (n=179): time 5.17e-06/0.6729, allocations: 0 / 0.5733 GB, free: 14.14 MB / 494.1 MB Notification: Performance of matching and sorting (n=223): time 0.07416/0.7471, allocations: 19.24 MB / 0.5921 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.7472, allocations: 205.9 kB / 0.5923 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007911/0.7552, allocations: 4.497 MB / 0.5967 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004776/0.7556, allocations: 61.97 kB / 0.5968 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003159/0.7588, allocations: 3.689 MB / 0.6004 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001279/0.7601, allocations: 0.8759 MB / 0.6012 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002048/0.7621, allocations: 1.278 MB / 0.6025 GB, free: 152 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.7623, allocations: 305.1 kB / 0.6028 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003848/0.7661, allocations: 2.23 MB / 0.6049 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007534/0.7736, allocations: 5.991 MB / 0.6108 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2676/1.041, allocations: 8.907 MB / 0.6195 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/1.041, allocations: 37.78 kB / 0.6195 GB, free: 152.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.02275/1.064, allocations: 9.053 MB / 0.6284 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001762/1.064, allocations: 61.11 kB / 0.6284 GB, free: 150.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003277/1.065, allocations: 137 kB / 0.6286 GB, free: 150 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004469/1.069, allocations: 1.2 MB / 0.6297 GB, free: 149.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005331/1.074, allocations: 1.416 MB / 0.6311 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01247/1.087, allocations: 8.021 MB / 0.6389 GB, free: 145.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005304/1.092, allocations: 341.7 kB / 0.6393 GB, free: 145.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001159/1.093, allocations: 380.3 kB / 0.6396 GB, free: 145.4 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.004836/1.098, allocations: 2.482 MB / 0.6421 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009648/1.099, allocations: 425.9 kB / 0.6425 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007706/1.107, allocations: 3.874 MB / 0.6462 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/1.107, allocations: 24.75 kB / 0.6463 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.786e-05/1.107, allocations: 6.875 kB / 0.6463 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.232e-05/1.107, allocations: 12.95 kB / 0.6463 GB, free: 142.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01824/1.125, allocations: 9.938 MB / 0.656 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.477e-05/1.125, allocations: 7.969 kB / 0.656 GB, free: 139.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/1.127, allocations: 331.4 kB / 0.6563 GB, free: 139 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003134/1.13, allocations: 0.9806 MB / 0.6573 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000261/1.13, allocations: 44.91 kB / 0.6573 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008938/1.139, allocations: 6.688 MB / 0.6639 GB, free: 135 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.415e-05/1.139, allocations: 16.09 kB / 0.6639 GB, free: 134.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0111/1.15, allocations: 6.617 MB / 0.6703 GB, free: 129.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/1.151, allocations: 472.8 kB / 0.6708 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009778/1.152, allocations: 50.62 kB / 0.6708 GB, free: 128.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001799/1.154, allocations: 111.8 kB / 0.6709 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003529/1.155, allocations: 145.1 kB / 0.6711 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.155, allocations: 63.98 kB / 0.6711 GB, free: 128.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003609/1.158, allocations: 2.828 MB / 0.6739 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/1.158, allocations: 0 / 0.6739 GB, free: 125.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005176/1.164, allocations: 1.153 MB / 0.675 GB, free: 124.5 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.009447/1.173, allocations: 7.324 MB / 0.6822 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.007687/1.181, allocations: 5.33 MB / 0.6874 GB, free: 111.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/1.181, allocations: 4 kB / 0.6874 GB, free: 111.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002257/1.183, allocations: 1.709 MB / 0.6891 GB, free: 110.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003277/1.186, allocations: 0.562 MB / 0.6896 GB, free: 109.5 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07363/1.26, allocations: 51.46 MB / 0.7399 GB, free: 52.15 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003753/1.264, allocations: 3.885 MB / 0.7436 GB, free: 48.25 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003915/1.268, allocations: 1.938 MB / 0.7455 GB, free: 46.32 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002736/1.27, allocations: 2.283 MB / 0.7478 GB, free: 44.04 MB / 0.5137 GB Notification: Performance of SimCode: time 1.813e-06/1.27, allocations: 0 / 0.7478 GB, free: 44.04 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3789/1.649, allocations: 84.28 MB / 0.8301 GB, free: 178.4 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.91/28.56, allocations: 10.89 kB / 0.8301 GB, free: 178.4 MB / 0.545 GB " [Timeout remaining time 631] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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: 31.287083050236106] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 28.705935512669384 28.730228509 28.276390283 Calling exit ...