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.001289/0.001289, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001422/0.001422, allocations: 209.9 kB / 24.54 MB, free: 4.055 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.6 MB / 258.3 MB, free: 8.031 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.001939/0.001939, allocations: 64.78 kB / 378.6 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3157, allocations: 53.37 MB / 431.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.Fourbar_analytic): time 0.01737/0.3331, allocations: 13.53 MB / 445.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.3443, allocations: 4.938 MB / 450.4 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002769/0.3471, allocations: 103.5 kB / 450.5 MB, free: 4.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008157/0.3553, allocations: 4.241 MB / 454.7 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006202/0.3615, allocations: 2.179 MB / 456.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002726/0.3642, allocations: 1.104 MB / 458 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009606/0.3738, allocations: 6.074 MB / 464.1 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006298/0.3801, allocations: 4.07 MB / 468.2 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004602/0.3847, allocations: 2.185 MB / 470.4 MB, free: 292 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005551/0.3903, allocations: 3.085 MB / 473.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.3919, allocations: 0.4961 MB / 473.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003759/0.3957, allocations: 1.666 MB / 475.6 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003464/0.3991, allocations: 2.661 MB / 478.3 MB, free: 8.359 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004393/0.4035, allocations: 2.937 MB / 481.2 MB, free: 5.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01328/0.4168, allocations: 9.664 MB / 490.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4168, allocations: 0 / 490.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4168, allocations: 0 / 490.9 MB, free: 11.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003058/0.4171, allocations: 0 / 490.9 MB, free: 11.7 MB / 398.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.01606/0.4332, allocations: 6.28 MB / 497.1 MB, free: 5.355 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.4332, allocations: 16.02 kB / 497.2 MB, free: 5.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00206/0.4353, allocations: 0.9286 MB / 498.1 MB, free: 4.398 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03359/0.4689, allocations: 6.043 MB / 0.4923 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01029/0.4792, allocations: 4.183 MB / 0.4964 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003161/0.4795, allocations: 312.1 kB / 0.4967 GB, free: 9.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001565/0.481, allocations: 443.7 kB / 0.4971 GB, free: 9.352 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02503/0.5061, allocations: 12.32 MB / 0.5091 GB, free: 12.29 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/0.5062, allocations: 51.62 kB / 0.5092 GB, free: 12.24 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005296/0.5068, allocations: 187.9 kB / 0.5094 GB, free: 12.06 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003276/0.51, allocations: 2.031 MB / 0.5114 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0225/0.5325, allocations: 10.37 MB / 0.5215 GB, free: 15.63 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2909/0.8234, allocations: 43.83 MB / 0.5643 GB, free: 68.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.8347, allocations: 4.212 MB / 0.5684 GB, free: 67.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/0.8369, allocations: 1.843 MB / 0.5702 GB, free: 66.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009378/0.8463, allocations: 6.073 MB / 0.5761 GB, free: 63.52 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.064e-05/0.8463, allocations: 52.25 kB / 0.5762 GB, free: 63.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=179): time 4.97e-06/0.8463, allocations: 0 / 0.5762 GB, free: 63.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=223): time 0.05864/0.905, allocations: 19.17 MB / 0.5949 GB, free: 47.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.05e-05/0.9051, allocations: 209.9 kB / 0.5951 GB, free: 47.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005698/0.9108, allocations: 4.493 MB / 0.5995 GB, free: 43.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004352/0.9112, allocations: 57.7 kB / 0.5995 GB, free: 42.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.9131, allocations: 3.691 MB / 0.6031 GB, free: 39.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009015/0.914, allocations: 0.8694 MB / 0.604 GB, free: 38.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/0.9154, allocations: 1.282 MB / 0.6052 GB, free: 37.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.9155, allocations: 305.1 kB / 0.6055 GB, free: 37.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0026/0.9181, allocations: 2.234 MB / 0.6077 GB, free: 34.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003924/0.922, allocations: 5.976 MB / 0.6136 GB, free: 27.03 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/0.9298, allocations: 8.921 MB / 0.6223 GB, free: 16.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.984e-05/0.9299, allocations: 43.94 kB / 0.6223 GB, free: 16.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=830) (initialization): time 0.01571/0.9456, allocations: 9.056 MB / 0.6312 GB, free: 7.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.371e-05/0.9457, allocations: 61 kB / 0.6312 GB, free: 7.102 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/0.9458, allocations: 132 kB / 0.6313 GB, free: 6.973 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003253/0.949, allocations: 1.206 MB / 0.6325 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004209/0.9533, allocations: 1.415 MB / 0.6339 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01081/0.9641, allocations: 7.899 MB / 0.6416 GB, free: 12.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005194/0.9693, allocations: 347.5 kB / 0.6419 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00117/0.9704, allocations: 381.7 kB / 0.6423 GB, free: 11.62 MB / 462.1 MB 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.005299/0.9757, allocations: 2.486 MB / 0.6447 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/0.9769, allocations: 425.1 kB / 0.6451 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008737/0.9857, allocations: 3.873 MB / 0.6489 GB, free: 4.824 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.358e-05/0.9857, allocations: 24 kB / 0.6489 GB, free: 4.801 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.9857, allocations: 8 kB / 0.649 GB, free: 4.793 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-05/0.9858, allocations: 17.77 kB / 0.649 GB, free: 4.777 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0218/1.008, allocations: 9.9 MB / 0.6586 GB, free: 10.78 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/1.008, allocations: 8.594 kB / 0.6586 GB, free: 10.77 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/1.009, allocations: 331.5 kB / 0.659 GB, free: 10.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/1.013, allocations: 0.98 MB / 0.6599 GB, free: 9.465 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002865/1.013, allocations: 47.98 kB / 0.66 GB, free: 9.418 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01085/1.024, allocations: 6.592 MB / 0.6664 GB, free: 2.715 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/1.024, allocations: 7.938 kB / 0.6664 GB, free: 2.707 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01232/1.036, allocations: 6.626 MB / 0.6729 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00135/1.038, allocations: 397 kB / 0.6733 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000542/1.038, allocations: 36 kB / 0.6733 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001615/1.04, allocations: 119.8 kB / 0.6734 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000388/1.04, allocations: 145 kB / 0.6735 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/1.04, allocations: 63.98 kB / 0.6736 GB, free: 11.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005237/1.045, allocations: 2.824 MB / 0.6764 GB, free: 8.43 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.045, allocations: 3.938 kB / 0.6764 GB, free: 8.426 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006059/1.052, allocations: 1.156 MB / 0.6775 GB, free: 7.27 MB / 494.1 MB 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.01275/1.064, allocations: 7.333 MB / 0.6847 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00974/1.074, allocations: 5.327 MB / 0.6899 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/1.074, allocations: 0 / 0.6899 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002983/1.077, allocations: 1.703 MB / 0.6915 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003222/1.08, allocations: 0.5793 MB / 0.6921 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3169/1.397, allocations: 51.56 MB / 0.7424 GB, free: 196.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005208/1.402, allocations: 3.876 MB / 0.7462 GB, free: 196 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004409/1.407, allocations: 1.937 MB / 0.7481 GB, free: 195.9 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003928/1.411, allocations: 2.286 MB / 0.7503 GB, free: 195.2 MB / 0.545 GB Notification: Performance of SimCode: time 1.693e-06/1.411, allocations: 3.75 kB / 0.7504 GB, free: 195.2 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1434/1.554, allocations: 89.44 MB / 0.8377 GB, free: 115.5 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 26.99/28.54, allocations: 12 kB / 0.8377 GB, free: 115.5 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 & /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: 31.070105695165694] Failed to read output from testmodel.py, exit status != 0: ['time', 'j1.phi', 'j1.w'] 28.681990711949766 28.693673909 28.273943565 Calling exit ...