Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.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.00132/0.00132, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001458/0.001458, allocations: 212 kB / 24.54 MB, free: 4.016 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.412/1.412, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Translational.Examples.WhyArrows,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows",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.001934/0.001934, allocations: 64.75 kB / 378.5 MB, free: 3.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2813, allocations: 53.38 MB / 431.9 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Translational.Examples.WhyArrows): time 0.003667/0.285, allocations: 2.282 MB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004421/0.2855, allocations: 199.2 kB / 434.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.976e-05/0.2855, allocations: 7.938 kB / 434.4 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.763e-05/0.2856, allocations: 35.64 kB / 434.4 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001553/0.2858, allocations: 67.41 kB / 434.5 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.286, allocations: 47.94 kB / 434.5 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.2862, allocations: 235 kB / 434.8 MB, free: 4 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.2864, allocations: 79.02 kB / 434.8 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.2866, allocations: 91.72 kB / 434.9 MB, free: 3.832 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2867, allocations: 99.55 kB / 435 MB, free: 3.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.957e-05/0.2868, allocations: 24 kB / 435.1 MB, free: 3.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.946e-05/0.2868, allocations: 24 kB / 435.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.2869, allocations: 47.83 kB / 435.1 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001205/0.287, allocations: 111.5 kB / 435.2 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.2873, allocations: 267.7 kB / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2873, allocations: 0 / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.2873, allocations: 0 / 435.5 MB, free: 3.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.2873, allocations: 4 kB / 435.5 MB, free: 3.27 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007192/0.288, allocations: 437.8 kB / 435.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.2881, allocations: 8.031 kB / 435.9 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.166e-05/0.2881, allocations: 62.72 kB / 436 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.2882, allocations: 24.8 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.2884, allocations: 154.2 kB / 436.2 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.2884, allocations: 28.81 kB / 436.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.2885, allocations: 24.33 kB / 436.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.2889, allocations: 232.1 kB / 436.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.2889, allocations: 3.938 kB / 436.5 MB, free: 2.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.2889, allocations: 12 kB / 436.5 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2889, allocations: 4 kB / 436.5 MB, free: 2.215 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002504/0.2892, allocations: 131.9 kB / 436.6 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.2903, allocations: 0.821 MB / 437.4 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002574/0.2906, allocations: 159.7 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.473e-05/0.2907, allocations: 58.5 kB / 437.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.2907, allocations: 0 / 437.6 MB, free: 0.957 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2907, allocations: 50.42 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.072e-06/0.2907, allocations: 4 kB / 437.7 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0003833/0.2911, allocations: 169.8 kB / 437.9 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.328e-05/0.2912, allocations: 102.8 kB / 438 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002056/0.2914, allocations: 197.1 kB / 438.1 MB, free: 408 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.2914, allocations: 33.64 kB / 438.2 MB, free: 368 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001141/0.2915, allocations: 160.2 kB / 438.3 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-05/0.2916, allocations: 71.39 kB / 438.4 MB, free: 132 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.401e-05/0.2917, allocations: 57.94 kB / 438.5 MB, free: 64 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.2918, allocations: 330.8 kB / 438.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.03e-05/0.2919, allocations: 48.53 kB / 438.8 MB, free: 15.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.2921, allocations: 155.6 kB / 439 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/0.2924, allocations: 217.5 kB / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.2924, allocations: 4 kB / 439.2 MB, free: 15.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003752/0.2927, allocations: 245.1 kB / 439.4 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2928, allocations: 8 kB / 439.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2928, allocations: 4.438 kB / 439.5 MB, free: 14.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.2928, allocations: 8 kB / 439.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/0.293, allocations: 63.91 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.293, allocations: 4 kB / 439.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.2932, allocations: 35.73 kB / 439.6 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.494e-05/0.2932, allocations: 8.781 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.2933, allocations: 145.7 kB / 439.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.122e-05/0.2934, allocations: 19.84 kB / 439.7 MB, free: 14.67 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.207e-05/0.2934, allocations: 25.39 kB / 439.8 MB, free: 14.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2934, allocations: 8 kB / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2935, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2935, allocations: 0 / 439.8 MB, free: 14.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005541/0.294, allocations: 399.9 kB / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.294, allocations: 0 / 440.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001885/0.2942, allocations: 35.98 kB / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.2942, allocations: 0 / 440.2 MB, free: 14.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/0.2942, allocations: 16.03 kB / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2942, allocations: 0 / 440.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.2942, allocations: 7.938 kB / 440.2 MB, free: 14.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.2947, allocations: 369.1 kB / 440.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.777e-05/0.2947, allocations: 35.88 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.2947, allocations: 4 kB / 440.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.2949, allocations: 4 kB / 440.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.97e-05/0.2949, allocations: 11.92 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.2949, allocations: 4 kB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001285/0.295, allocations: 147.4 kB / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.295, allocations: 0 / 440.8 MB, free: 13.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003464/0.2954, allocations: 55.89 kB / 440.8 MB, free: 13.49 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (inertia2.s,inertia2.v,mass1.s,mass1.v) * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007012/0.2961, allocations: 0.9133 MB / 441.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002664/0.2963, allocations: 139 kB / 441.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2963, allocations: 0 / 441.9 MB, free: 12.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.604e-05/0.2964, allocations: 59.84 kB / 441.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004966/0.2969, allocations: 31.94 kB / 442 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00293/0.2998, allocations: 2.561 MB / 444.5 MB, free: 9.559 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.3002, allocations: 0.7398 MB / 445.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.097e-05/0.3003, allocations: 21.94 kB / 445.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.885e-05/0.3004, allocations: 59.41 kB / 445.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3004, allocations: 0 / 445.3 MB, free: 8.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02902/0.3294, allocations: 3.9 MB / 449.2 MB, free: 4.914 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.116/8.445, allocations: 10.31 kB / 449.3 MB, free: 4.91 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Translational_Examples_WhyArrows.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Translational.Examples.WhyArrows.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.730616888962686] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia2.s', 'inertia2.v', 'mass1.s', 'mass1.v'] 8.514283942990005 8.528660858 8.238348934 Calling exit ...