Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001848/0.001848, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002171/0.002171, allocations: 218.1 kB / 23 MB, free: 5.609 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.431/1.431, allocations: 230.5 MB / 256.5 MB, free: 8.406 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.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.001922/0.001922, allocations: 63.83 kB / 376.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2663, allocations: 53.32 MB / 429.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01315/0.2795, allocations: 10.76 MB / 440.3 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009073/0.2885, allocations: 4 MB / 444.3 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001388/0.2899, allocations: 59.81 kB / 444.4 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004914/0.2948, allocations: 2.612 MB / 447 MB, free: 5.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004592/0.2994, allocations: 1.762 MB / 448.7 MB, free: 4.105 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00152/0.301, allocations: 0.6863 MB / 449.4 MB, free: 3.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005516/0.3065, allocations: 3.716 MB / 453.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003417/0.3099, allocations: 2.519 MB / 455.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002716/0.3126, allocations: 1.472 MB / 457.1 MB, free: 11.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.3164, allocations: 2.11 MB / 459.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001047/0.3174, allocations: 316 kB / 459.6 MB, free: 9.211 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002494/0.3199, allocations: 1.182 MB / 460.7 MB, free: 8.027 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002221/0.3222, allocations: 1.854 MB / 462.6 MB, free: 6.168 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002603/0.3248, allocations: 2.12 MB / 464.7 MB, free: 4.035 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009073/0.3338, allocations: 6.681 MB / 471.4 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3338, allocations: 3.938 kB / 471.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3338, allocations: 0 / 471.4 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001874/0.334, allocations: 0 / 471.4 MB, free: 13.32 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01025/0.3443, allocations: 4.671 MB / 476.1 MB, free: 8.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.3443, allocations: 16.03 kB / 476.1 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00127/0.3456, allocations: 0.7197 MB / 476.8 MB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007545/0.3531, allocations: 1.964 MB / 478.8 MB, free: 5.863 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005319/0.3585, allocations: 2.232 MB / 481 MB, free: 3.586 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002456/0.3587, allocations: 246.2 kB / 481.2 MB, free: 3.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.3597, allocations: 395.7 kB / 481.6 MB, free: 2.957 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02022/0.3799, allocations: 10.12 MB / 491.7 MB, free: 8.117 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.38, allocations: 35.69 kB / 491.8 MB, free: 8.082 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004464/0.3805, allocations: 155.9 kB / 491.9 MB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002935/0.3834, allocations: 1.857 MB / 493.8 MB, free: 6.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01822/0.4016, allocations: 8.359 MB / 0.4904 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05498/0.4566, allocations: 39.28 MB / 0.5287 GB, free: 5.297 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.4678, allocations: 3.906 MB / 0.5325 GB, free: 1.242 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.204/0.6718, allocations: 1.328 MB / 0.5338 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01138/0.6832, allocations: 7.695 MB / 0.5414 GB, free: 96.68 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.795e-05/0.6832, allocations: 50.16 kB / 0.5414 GB, free: 96.64 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.019e-06/0.6833, allocations: 0 / 0.5414 GB, free: 96.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02879/0.712, allocations: 12.71 MB / 0.5538 GB, free: 91.98 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009406/0.713, allocations: 1.681 MB / 0.5555 GB, free: 90.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004179/0.7172, allocations: 3.818 MB / 0.5592 GB, free: 87.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002771/0.7174, allocations: 53.3 kB / 0.5592 GB, free: 87.65 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001287/0.7187, allocations: 3.238 MB / 0.5624 GB, free: 84.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005318/0.7193, allocations: 0.677 MB / 0.5631 GB, free: 83.92 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/0.7204, allocations: 1.258 MB / 0.5643 GB, free: 82.66 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.073e-05/0.7205, allocations: 309.1 kB / 0.5646 GB, free: 82.35 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002305/0.7228, allocations: 2.019 MB / 0.5666 GB, free: 80.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003488/0.7262, allocations: 5.953 MB / 0.5724 GB, free: 72.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006358/0.7326, allocations: 8.596 MB / 0.5808 GB, free: 61.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.76e-05/0.7327, allocations: 43.98 kB / 0.5808 GB, free: 61.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01449/0.7472, allocations: 8.817 MB / 0.5894 GB, free: 52.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.352e-05/0.7473, allocations: 69 kB / 0.5895 GB, free: 52.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005385/0.7526, allocations: 2.819 MB / 0.5922 GB, free: 50.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004526/0.7572, allocations: 1.558 MB / 0.5938 GB, free: 48.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003628/0.7608, allocations: 1.365 MB / 0.5951 GB, free: 47.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009909/0.7707, allocations: 9.66 MB / 0.6045 GB, free: 37.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00445/0.7752, allocations: 395.5 kB / 0.6049 GB, free: 36.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006671/0.7758, allocations: 388 kB / 0.6053 GB, free: 36.32 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.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 (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002547/0.7784, allocations: 1.999 MB / 0.6072 GB, free: 34.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.7789, allocations: 353.6 kB / 0.6076 GB, free: 33.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000756/0.7797, allocations: 432.5 kB / 0.608 GB, free: 33.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005139/0.7848, allocations: 2.718 MB / 0.6106 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.7848, allocations: 0 / 0.6106 GB, free: 30.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.7848, allocations: 16 kB / 0.6106 GB, free: 30.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/0.7975, allocations: 8.587 MB / 0.619 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.7975, allocations: 0 / 0.619 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008059/0.7983, allocations: 191.7 kB / 0.6192 GB, free: 21.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004097/0.8024, allocations: 1.455 MB / 0.6206 GB, free: 20.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001389/0.8025, allocations: 35.97 kB / 0.6207 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01017/0.8127, allocations: 9.815 MB / 0.6302 GB, free: 10.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007276/0.8134, allocations: 1.548 MB / 0.6318 GB, free: 8.492 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007851/0.8213, allocations: 5.365 MB / 0.637 GB, free: 3.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000852/0.8221, allocations: 382.7 kB / 0.6374 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003134/0.8224, allocations: 31.83 kB / 0.6374 GB, free: 2.672 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.8237, allocations: 127.8 kB / 0.6375 GB, free: 2.547 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000309/0.824, allocations: 105.3 kB / 0.6376 GB, free: 2.441 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/0.8241, allocations: 43.98 kB / 0.6377 GB, free: 2.398 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003279/0.8274, allocations: 2.349 MB / 0.64 GB, free: 68 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8274, allocations: 4 kB / 0.64 GB, free: 64 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.005859/0.8332, allocations: 1.044 MB / 0.641 GB, free: 15.01 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * 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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0108/0.844, allocations: 6.019 MB / 0.6469 GB, free: 8.953 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01042/0.8544, allocations: 5.527 MB / 0.6523 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8544, allocations: 0 / 0.6523 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004576/0.859, allocations: 2.233 MB / 0.6544 GB, free: 1.062 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002328/0.8613, allocations: 393.8 kB / 0.6548 GB, free: 0.6797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0812/0.9426, allocations: 45.55 MB / 0.6993 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00506/0.9476, allocations: 3.127 MB / 0.7023 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004197/0.9518, allocations: 1.807 MB / 0.7041 GB, free: 7.977 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002504/0.9543, allocations: 1.765 MB / 0.7058 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/0.9543, allocations: 0 / 0.7058 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3718/1.326, allocations: 70.96 MB / 0.7751 GB, free: 181 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.92/24.25, allocations: 16.47 kB / 0.7751 GB, free: 181 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.652893008023966] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 24.39256772500812 24.405608344 24.068330125 Calling exit ...