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.SpringWithMass.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.001732/0.001732, 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.002128/0.002128, 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.425/1.425, allocations: 230.4 MB / 254.7 MB, free: 14.99 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.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",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.00191/0.00191, allocations: 75.81 kB / 373.6 MB, free: 10.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1031, allocations: 53.32 MB / 426.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.1985/0.3016, allocations: 7.441 MB / 434.3 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005175/0.3068, allocations: 3.27 MB / 437.6 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00081/0.3076, allocations: 37.38 kB / 437.6 MB, free: 6.223 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001876/0.3095, allocations: 1.048 MB / 438.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002927/0.3124, allocations: 1.366 MB / 440.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000997/0.3134, allocations: 453.8 kB / 440.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003447/0.3168, allocations: 2.666 MB / 443.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/0.3185, allocations: 1.325 MB / 444.5 MB, free: 3.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00121/0.3197, allocations: 0.8336 MB / 445.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001715/0.3214, allocations: 1.333 MB / 446.7 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004415/0.3218, allocations: 174.3 kB / 446.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002003/0.3238, allocations: 1.046 MB / 447.9 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.3249, allocations: 1.111 MB / 449 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.3262, allocations: 1.301 MB / 450.3 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005135/0.3313, allocations: 4.341 MB / 454.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.3313, allocations: 0 / 454.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3313, allocations: 0 / 454.6 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.576e-05/0.3314, allocations: 1.281 kB / 454.6 MB, free: 14.91 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.006691/0.3381, allocations: 3.109 MB / 457.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.3381, allocations: 14.28 kB / 457.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000735/0.3389, allocations: 480.3 kB / 458.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006957/0.3458, allocations: 1.818 MB / 460 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004366/0.3502, allocations: 1.598 MB / 461.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001533/0.3503, allocations: 133.7 kB / 461.8 MB, free: 10.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008743/0.3512, allocations: 254 kB / 462 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01283/0.364, allocations: 6.682 MB / 468.7 MB, free: 6.109 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.142e-05/0.3641, allocations: 24.19 kB / 468.7 MB, free: 6.098 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003058/0.3644, allocations: 91.39 kB / 468.8 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002248/0.3667, allocations: 1.366 MB / 470.2 MB, free: 5.016 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01267/0.3793, allocations: 6.053 MB / 476.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03453/0.4139, allocations: 25.54 MB / 0.49 GB, free: 4.676 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007121/0.421, allocations: 2.606 MB / 0.4926 GB, free: 1.922 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001524/0.4225, allocations: 0.985 MB / 0.4935 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006867/0.4294, allocations: 3.954 MB / 0.4974 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.198e-05/0.4294, allocations: 47.12 kB / 0.4974 GB, free: 12.64 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.967e-06/0.4294, allocations: 0 / 0.4974 GB, free: 12.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02873/0.4582, allocations: 10.45 MB / 0.5076 GB, free: 2.047 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001579/0.4597, allocations: 1.669 MB / 0.5093 GB, free: 208 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/0.4648, allocations: 2.738 MB / 0.5119 GB, free: 13.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003144/0.4651, allocations: 41.7 kB / 0.512 GB, free: 13.4 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.4671, allocations: 2.171 MB / 0.5141 GB, free: 11.2 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008418/0.4679, allocations: 0.5312 MB / 0.5146 GB, free: 10.67 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001956/0.4699, allocations: 0.9171 MB / 0.5155 GB, free: 9.738 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.47, allocations: 305.1 kB / 0.5158 GB, free: 9.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002826/0.4728, allocations: 1.629 MB / 0.5174 GB, free: 7.805 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005408/0.4782, allocations: 4.432 MB / 0.5217 GB, free: 1.965 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008486/0.4867, allocations: 6.501 MB / 0.5281 GB, free: 10.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.963e-05/0.4868, allocations: 28 kB / 0.5281 GB, free: 10.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01554/0.5023, allocations: 7.042 MB / 0.535 GB, free: 2.996 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001137/0.5024, allocations: 48 kB / 0.535 GB, free: 2.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006579/0.509, allocations: 2.537 MB / 0.5375 GB, free: 408 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005389/0.5144, allocations: 1.489 MB / 0.5389 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003404/0.5178, allocations: 1.006 MB / 0.5399 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.5294, allocations: 7.783 MB / 0.5475 GB, free: 5.836 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003668/0.533, allocations: 323.7 kB / 0.5478 GB, free: 5.52 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008117/0.5338, allocations: 291.9 kB / 0.5481 GB, free: 5.234 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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 (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003056/0.5369, allocations: 1.415 MB / 0.5495 GB, free: 3.805 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/0.5376, allocations: 246.3 kB / 0.5497 GB, free: 3.562 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009172/0.5385, allocations: 325.9 kB / 0.55 GB, free: 3.234 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006383/0.5449, allocations: 2.505 MB / 0.5525 GB, free: 0.7109 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.228e-05/0.5449, allocations: 8 kB / 0.5525 GB, free: 0.7031 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.5449, allocations: 11.97 kB / 0.5525 GB, free: 0.6914 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01681/0.5617, allocations: 6.861 MB / 0.5592 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.5617, allocations: 3.562 kB / 0.5592 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.5626, allocations: 179.7 kB / 0.5594 GB, free: 9.562 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004823/0.5674, allocations: 1.434 MB / 0.5608 GB, free: 8.117 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.5676, allocations: 27.98 kB / 0.5608 GB, free: 8.09 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01151/0.5792, allocations: 7.924 MB / 0.5685 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001281/0.5804, allocations: 1.547 MB / 0.5701 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009627/0.5901, allocations: 4.864 MB / 0.5748 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.5909, allocations: 300.2 kB / 0.5751 GB, free: 8.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005741/0.5914, allocations: 31.92 kB / 0.5751 GB, free: 8.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001394/0.5928, allocations: 111.8 kB / 0.5752 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002942/0.5931, allocations: 80.38 kB / 0.5753 GB, free: 8.762 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001305/0.5933, allocations: 40.84 kB / 0.5753 GB, free: 8.723 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003221/0.5965, allocations: 1.689 MB / 0.577 GB, free: 7.023 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5965, allocations: 0 / 0.577 GB, free: 7.023 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004231/0.6007, allocations: 0.7538 MB / 0.5777 GB, free: 6.27 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01003/0.6107, allocations: 5.504 MB / 0.5831 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008139/0.6189, allocations: 4.203 MB / 0.5872 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.6189, allocations: 0 / 0.5872 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.6223, allocations: 1.663 MB / 0.5888 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002341/0.6247, allocations: 260.4 kB / 0.5891 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06064/0.6853, allocations: 33.76 MB / 0.622 GB, free: 4.809 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003426/0.6887, allocations: 2.293 MB / 0.6243 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00344/0.6922, allocations: 1.408 MB / 0.6257 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.196/0.8882, allocations: 1.108 MB / 0.6267 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.744e-06/0.8882, allocations: 0 / 0.6267 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/0.9903, allocations: 48.87 MB / 0.6745 GB, free: 157.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.21/19.2, allocations: 7.859 kB / 0.6745 GB, free: 157.2 MB / 0.5294 GB " [Timeout remaining time 641] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --stepSize=0.0009996 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.572152514010668] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 19.328512720763683 19.337581565 19.004117858 Calling exit ...