Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00128/0.00128, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001406/0.001406, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.381/1.381, allocations: 230.5 MB / 258.2 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 55.91 kB / 378.5 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.244/0.2458, allocations: 53.4 MB / 431.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0125/0.2583, allocations: 9.31 MB / 441.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008801/0.2671, allocations: 3.756 MB / 445 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00149/0.2686, allocations: 71.62 kB / 445.1 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004965/0.2736, allocations: 2.507 MB / 447.6 MB, free: 6.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005091/0.2787, allocations: 1.79 MB / 449.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2804, allocations: 0.6824 MB / 450 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005679/0.2861, allocations: 3.712 MB / 453.7 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003857/0.29, allocations: 2.729 MB / 456.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002335/0.2923, allocations: 1.487 MB / 458 MB, free: 12.24 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003329/0.2956, allocations: 2.114 MB / 460.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009538/0.2966, allocations: 316 kB / 460.4 MB, free: 9.812 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.299, allocations: 1.061 MB / 461.4 MB, free: 8.75 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001965/0.301, allocations: 1.858 MB / 463.3 MB, free: 6.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.3032, allocations: 1.573 MB / 464.9 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007869/0.3111, allocations: 6.707 MB / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3111, allocations: 3.938 kB / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3111, allocations: 0 / 471.6 MB, free: 14.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.3112, allocations: 0 / 471.6 MB, free: 14.57 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.008716/0.32, allocations: 4.596 MB / 476.2 MB, free: 9.914 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.32, allocations: 16.03 kB / 476.2 MB, free: 9.898 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00013/0.3201, allocations: 102.6 kB / 476.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001029/0.3212, allocations: 0.7236 MB / 477 MB, free: 9.062 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00694/0.3281, allocations: 1.967 MB / 479 MB, free: 7.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004553/0.3327, allocations: 2.167 MB / 481.2 MB, free: 4.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.3329, allocations: 250.2 kB / 481.4 MB, free: 4.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009016/0.3338, allocations: 399.7 kB / 481.8 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01688/0.3506, allocations: 10.19 MB / 492 MB, free: 9.324 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.144e-05/0.3507, allocations: 43.62 kB / 492 MB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003909/0.3511, allocations: 151.9 kB / 492.2 MB, free: 9.133 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002711/0.3538, allocations: 1.857 MB / 494 MB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01715/0.371, allocations: 8.366 MB / 0.4906 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05087/0.4219, allocations: 37.83 MB / 0.5276 GB, free: 7.922 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009868/0.4317, allocations: 3.448 MB / 0.5309 GB, free: 4.441 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002074/0.4338, allocations: 1.334 MB / 0.5322 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2137/0.6475, allocations: 5.534 MB / 0.5376 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.6476, allocations: 55.55 kB / 0.5377 GB, free: 101.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.508e-06/0.6476, allocations: 0 / 0.5377 GB, free: 101.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.0261/0.6737, allocations: 12.35 MB / 0.5497 GB, free: 97.03 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008013/0.6745, allocations: 1.57 MB / 0.5513 GB, free: 95.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003459/0.6779, allocations: 3.817 MB / 0.555 GB, free: 92.73 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.6781, allocations: 49.06 kB / 0.5551 GB, free: 92.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.6791, allocations: 3.241 MB / 0.5582 GB, free: 89.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003679/0.6795, allocations: 0.6805 MB / 0.5589 GB, free: 89.15 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/0.6805, allocations: 1.254 MB / 0.5601 GB, free: 87.89 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.012e-05/0.6806, allocations: 317 kB / 0.5604 GB, free: 87.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002046/0.6826, allocations: 2.011 MB / 0.5624 GB, free: 85.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00303/0.6856, allocations: 5.961 MB / 0.5682 GB, free: 77.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005664/0.6913, allocations: 8.59 MB / 0.5766 GB, free: 67.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.737e-05/0.6914, allocations: 40 kB / 0.5766 GB, free: 67.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01181/0.7032, allocations: 8.815 MB / 0.5852 GB, free: 58.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.881e-05/0.7032, allocations: 68.25 kB / 0.5853 GB, free: 58.15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005091/0.7083, allocations: 2.823 MB / 0.5881 GB, free: 55.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004312/0.7126, allocations: 1.554 MB / 0.5896 GB, free: 53.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003523/0.7162, allocations: 1.361 MB / 0.5909 GB, free: 52.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009564/0.7257, allocations: 9.258 MB / 0.5999 GB, free: 42.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004097/0.7298, allocations: 399.5 kB / 0.6003 GB, free: 42.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005335/0.7304, allocations: 395.9 kB / 0.6007 GB, free: 42.03 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.002278/0.7326, allocations: 2.02 MB / 0.6027 GB, free: 40 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004292/0.7331, allocations: 345.7 kB / 0.603 GB, free: 39.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.7337, allocations: 432.5 kB / 0.6034 GB, free: 39.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004988/0.7386, allocations: 2.711 MB / 0.6061 GB, free: 36.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.7387, allocations: 4 kB / 0.6061 GB, free: 36.49 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.322e-05/0.7387, allocations: 7.969 kB / 0.6061 GB, free: 36.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/0.7512, allocations: 8.153 MB / 0.614 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.517e-06/0.7512, allocations: 0 / 0.614 GB, free: 28.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008491/0.752, allocations: 191.7 kB / 0.6142 GB, free: 28.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004068/0.7561, allocations: 1.455 MB / 0.6156 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.7562, allocations: 43.59 kB / 0.6157 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009613/0.7659, allocations: 9.411 MB / 0.6249 GB, free: 16.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006353/0.7665, allocations: 1.436 MB / 0.6263 GB, free: 15.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007559/0.774, allocations: 5.376 MB / 0.6315 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000758/0.7748, allocations: 305.5 kB / 0.6318 GB, free: 9.535 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003456/0.7752, allocations: 31.98 kB / 0.6318 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.7764, allocations: 123.9 kB / 0.632 GB, free: 9.383 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.7767, allocations: 124.6 kB / 0.6321 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001041/0.7768, allocations: 43.98 kB / 0.6321 GB, free: 9.219 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002798/0.7796, allocations: 2.346 MB / 0.6344 GB, free: 6.891 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.7796, allocations: 0 / 0.6344 GB, free: 6.891 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00452/0.7842, allocations: 1.047 MB / 0.6354 GB, free: 5.848 MB / 446.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.007957/0.7921, allocations: 6.003 MB / 0.6413 GB, free: 15.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009813/0.8019, allocations: 5.387 MB / 0.6466 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.8019, allocations: 0 / 0.6466 GB, free: 10.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004296/0.8062, allocations: 2.094 MB / 0.6486 GB, free: 8.258 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.8084, allocations: 387.3 kB / 0.649 GB, free: 7.879 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06953/0.878, allocations: 45.55 MB / 0.6935 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003438/0.8814, allocations: 2.601 MB / 0.696 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003838/0.8852, allocations: 1.803 MB / 0.6978 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002272/0.8875, allocations: 1.765 MB / 0.6995 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of SimCode: time 8.92e-07/0.8875, allocations: 0 / 0.6995 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8243/1.712, allocations: 71.97 MB / 0.7698 GB, free: 185 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.34/24.05, allocations: 12.06 kB / 0.7698 GB, free: 185 MB / 0.545 GB " [Timeout remaining time 636] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.742669438011944] 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.268424045993015 24.278375508 23.964902925 Calling exit ...