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.001301/0.001301, allocations: 121.1 kB / 18.45 MB, free: 4.59 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.001465/0.001465, allocations: 209.7 kB / 21.41 MB, free: 1.641 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.526/1.526, allocations: 227.7 MB / 251.9 MB, free: 15.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.002011/0.002011, allocations: 67.84 kB / 365.2 MB, free: 204 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1171, allocations: 50.55 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01619/0.1334, allocations: 13.45 MB / 429.2 MB, free: 96 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01131/0.1447, allocations: 4.869 MB / 434.1 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002962/0.1478, allocations: 87.75 kB / 434.2 MB, free: 11.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009259/0.1571, allocations: 4.186 MB / 438.4 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006881/0.164, allocations: 2.104 MB / 440.5 MB, free: 4.816 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.1674, allocations: 1.104 MB / 441.6 MB, free: 3.711 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2518/0.4193, allocations: 6.045 MB / 447.6 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008024/0.4273, allocations: 5.3 MB / 452.9 MB, free: 6.828 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004955/0.4323, allocations: 2.15 MB / 455.1 MB, free: 6.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005136/0.4375, allocations: 2.859 MB / 457.9 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002115/0.4396, allocations: 0.4906 MB / 458.4 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004393/0.444, allocations: 1.619 MB / 460 MB, free: 6.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004563/0.4486, allocations: 2.561 MB / 462.6 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007712/0.4564, allocations: 2.941 MB / 465.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01545/0.4719, allocations: 9.66 MB / 475.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4719, allocations: 0 / 475.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4719, allocations: 1.375 kB / 475.2 MB, free: 2.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004414/0.4724, allocations: 0.9375 kB / 475.2 MB, free: 2.117 MB / 366.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.02083/0.4932, allocations: 6.345 MB / 481.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.4933, allocations: 12.56 kB / 481.6 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00288/0.4962, allocations: 0.9295 MB / 482.5 MB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04022/0.5364, allocations: 6.059 MB / 488.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.5478, allocations: 4.254 MB / 492.8 MB, free: 7.215 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.5482, allocations: 308 kB / 493.1 MB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002239/0.5504, allocations: 444.5 kB / 493.5 MB, free: 6.551 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02872/0.5792, allocations: 12.32 MB / 0.494 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001968/0.5794, allocations: 53.53 kB / 0.494 GB, free: 9.652 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001106/0.5805, allocations: 192.3 kB / 0.4942 GB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.5842, allocations: 2.037 MB / 0.4962 GB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02395/0.6081, allocations: 10.36 MB / 0.5063 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06632/0.6745, allocations: 43.98 MB / 0.5493 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0136/0.6881, allocations: 4.822 MB / 0.554 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003056/0.6912, allocations: 1.967 MB / 0.5559 GB, free: 9.754 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01218/0.7034, allocations: 7.083 MB / 0.5628 GB, free: 2.438 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.576e-05/0.7035, allocations: 55.56 kB / 0.5629 GB, free: 2.375 MB / 462.1 MB Notification: Performance of pre-optimization done (n=179): time 4.308e-06/0.7035, allocations: 0 / 0.5629 GB, free: 2.375 MB / 462.1 MB Notification: Performance of matching and sorting (n=223): time 0.07282/0.7764, allocations: 19.26 MB / 0.5817 GB, free: 15.15 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.7766, allocations: 209.9 kB / 0.5819 GB, free: 14.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008612/0.7852, allocations: 4.492 MB / 0.5863 GB, free: 10.4 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005497/0.7858, allocations: 57.7 kB / 0.5863 GB, free: 10.34 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003649/0.7894, allocations: 3.698 MB / 0.5899 GB, free: 6.656 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001359/0.7908, allocations: 0.8755 MB / 0.5908 GB, free: 5.793 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00235/0.7932, allocations: 1.275 MB / 0.592 GB, free: 4.508 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.7933, allocations: 305.1 kB / 0.5923 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003839/0.7972, allocations: 2.238 MB / 0.5945 GB, free: 1.965 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007489/0.8047, allocations: 5.978 MB / 0.6004 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01371/0.8184, allocations: 8.912 MB / 0.6091 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001523/0.8187, allocations: 40 kB / 0.6091 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=830) (initialization): time 0.02078/0.8395, allocations: 9.069 MB / 0.618 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.8396, allocations: 71.11 kB / 0.618 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000189/0.8398, allocations: 132 kB / 0.6182 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004112/0.8439, allocations: 1.207 MB / 0.6193 GB, free: 5.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005261/0.8492, allocations: 1.411 MB / 0.6207 GB, free: 3.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2744/1.124, allocations: 8.005 MB / 0.6285 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005417/1.129, allocations: 348.8 kB / 0.6289 GB, free: 159.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00134/1.13, allocations: 377.9 kB / 0.6292 GB, free: 159.1 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.005727/1.136, allocations: 2.477 MB / 0.6316 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001081/1.137, allocations: 428.8 kB / 0.632 GB, free: 159 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008377/1.146, allocations: 3.884 MB / 0.6358 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.712e-05/1.146, allocations: 29.14 kB / 0.6359 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-05/1.146, allocations: 7.844 kB / 0.6359 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-05/1.146, allocations: 10.36 kB / 0.6359 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.165, allocations: 9.955 MB / 0.6456 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/1.165, allocations: 6.781 kB / 0.6456 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/1.167, allocations: 334 kB / 0.6459 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003369/1.17, allocations: 0.9844 MB / 0.6469 GB, free: 155.7 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002237/1.17, allocations: 45.27 kB / 0.6469 GB, free: 155.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008175/1.179, allocations: 6.69 MB / 0.6535 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.179, allocations: 9.875 kB / 0.6535 GB, free: 152.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009669/1.188, allocations: 6.633 MB / 0.66 GB, free: 149.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001409/1.19, allocations: 480 kB / 0.6604 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.191, allocations: 42.94 kB / 0.6605 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002226/1.193, allocations: 109.8 kB / 0.6606 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/1.193, allocations: 149.5 kB / 0.6607 GB, free: 149.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.194, allocations: 62.92 kB / 0.6608 GB, free: 149.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005885/1.199, allocations: 2.827 MB / 0.6635 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.1e-07/1.199, allocations: 0 / 0.6635 GB, free: 148.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.006966/1.206, allocations: 1.155 MB / 0.6647 GB, free: 148.2 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.01104/1.218, allocations: 7.344 MB / 0.6718 GB, free: 144.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00872/1.226, allocations: 5.541 MB / 0.6772 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/1.226, allocations: 0 / 0.6772 GB, free: 139.4 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002626/1.229, allocations: 1.852 MB / 0.679 GB, free: 137.8 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/1.234, allocations: 0.568 MB / 0.6796 GB, free: 137.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07939/1.313, allocations: 51.5 MB / 0.7299 GB, free: 80.68 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003354/1.317, allocations: 3.866 MB / 0.7337 GB, free: 76.79 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003675/1.32, allocations: 1.94 MB / 0.7356 GB, free: 74.86 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00222/1.323, allocations: 2.284 MB / 0.7378 GB, free: 72.57 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/1.323, allocations: 0 / 0.7378 GB, free: 72.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3948/1.717, allocations: 83.73 MB / 0.8196 GB, free: 161.7 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.77/28.49, allocations: 7.016 kB / 0.8196 GB, free: 161.7 MB / 0.5294 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.19858554902021] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 28.624600738985464 28.645315303 28.169661884 Calling exit ...