Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001781/0.001781, 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.00193/0.00193, allocations: 209.3 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.467/1.467, allocations: 230.6 MB / 258.3 MB, free: 8.051 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.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp",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.001988/0.001988, allocations: 68.77 kB / 378.6 MB, free: 3.148 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2863, allocations: 53.36 MB / 431.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002804/0.2891, allocations: 1.509 MB / 433.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.2901, allocations: 454.8 kB / 433.9 MB, free: 4.961 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.144e-05/0.2901, allocations: 4 kB / 433.9 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.586e-05/0.2902, allocations: 3.938 kB / 433.9 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.614e-05/0.2903, allocations: 7.938 kB / 433.9 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.2905, allocations: 27.91 kB / 433.9 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.2906, allocations: 39.8 kB / 434 MB, free: 4.879 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.2907, allocations: 7.984 kB / 434 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.284e-05/0.2908, allocations: 15.94 kB / 434 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.827e-05/0.2909, allocations: 23.91 kB / 434 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.942e-05/0.2909, allocations: 4 kB / 434 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.967e-06/0.2909, allocations: 0 / 434 MB, free: 4.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.21e-05/0.2909, allocations: 7.984 kB / 434 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.92e-05/0.291, allocations: 19.88 kB / 434 MB, free: 4.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.2911, allocations: 41.94 kB / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2911, allocations: 0 / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2911, allocations: 0 / 434.1 MB, free: 4.762 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2911, allocations: 0 / 434.1 MB, free: 4.762 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005783/0.2917, allocations: 270.3 kB / 434.3 MB, free: 4.469 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.2917, allocations: 11.97 kB / 434.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.351e-05/0.2918, allocations: 34.75 kB / 434.4 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.2918, allocations: 8.891 kB / 434.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002605/0.2921, allocations: 126.5 kB / 434.5 MB, free: 4.258 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.2921, allocations: 8.375 kB / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.2921, allocations: 384 / 434.5 MB, free: 4.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2925, allocations: 135.4 kB / 434.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.2925, allocations: 7.938 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.2926, allocations: 0 / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2926, allocations: 0 / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001559/0.2927, allocations: 43.89 kB / 434.7 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001733/0.2929, allocations: 128.7 kB / 434.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.2931, allocations: 82.52 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.2933, allocations: 36.91 kB / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.86e-05/0.2933, allocations: 0 / 435 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.2933, allocations: 34.5 kB / 435 MB, free: 3.715 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.2933, allocations: 3.938 kB / 435 MB, free: 3.711 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003584/0.2937, allocations: 97.64 kB / 435.1 MB, free: 3.609 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.2938, allocations: 59.34 kB / 435.1 MB, free: 3.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.543e-05/0.2938, allocations: 105.8 kB / 435.2 MB, free: 3.426 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.2939, allocations: 25.7 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.749e-05/0.2939, allocations: 84.14 kB / 435.4 MB, free: 3.309 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.177e-05/0.2939, allocations: 7.984 kB / 435.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.294, allocations: 13.72 kB / 435.4 MB, free: 3.281 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.2941, allocations: 318.8 kB / 435.7 MB, free: 2.961 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.204e-05/0.2941, allocations: 4 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.577e-05/0.2942, allocations: 31.36 kB / 435.7 MB, free: 2.914 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.48e-05/0.2942, allocations: 31.44 kB / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2942, allocations: 0 / 435.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001015/0.2943, allocations: 65.45 kB / 435.8 MB, free: 2.801 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2943, allocations: 8 kB / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2943, allocations: 0 / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2943, allocations: 0 / 435.8 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.274e-05/0.2944, allocations: 8 kB / 435.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2944, allocations: 320 / 435.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.499e-05/0.2944, allocations: 12.06 kB / 435.8 MB, free: 2.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-06/0.2944, allocations: 4 kB / 435.8 MB, free: 2.77 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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 8.023e-05/0.2945, allocations: 109.8 kB / 436 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.2947, allocations: 81.81 kB / 436 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.2947, allocations: 11.98 kB / 436 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.2947, allocations: 4.031 kB / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.2947, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.2947, allocations: 0 / 436 MB, free: 2.543 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.2949, allocations: 136.7 kB / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2949, allocations: 0 / 436.2 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.134e-05/0.2949, allocations: 15.94 kB / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2949, allocations: 0 / 436.2 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.2949, allocations: 3.984 kB / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2949, allocations: 0 / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2949, allocations: 0 / 436.2 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.2952, allocations: 109 kB / 436.3 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.2952, allocations: 7.891 kB / 436.3 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.209e-05/0.2952, allocations: 3.938 kB / 436.3 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.725e-05/0.2952, allocations: 7.984 kB / 436.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.602e-06/0.2952, allocations: 3.938 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-06/0.2952, allocations: 4 kB / 436.3 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.855e-05/0.2953, allocations: 87.27 kB / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2953, allocations: 0 / 436.4 MB, free: 2.109 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001823/0.2955, allocations: 4 kB / 436.4 MB, free: 2.105 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (4): * Single equations (assignments): 4 * 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.000529/0.296, allocations: 0.6358 MB / 437.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001764/0.2962, allocations: 40.09 kB / 437.1 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2962, allocations: 4.062 kB / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.9e-07/0.2962, allocations: 0 / 437.1 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.2965, allocations: 35.94 kB / 437.1 MB, free: 1.363 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.2978, allocations: 1.166 MB / 438.3 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.2982, allocations: 0.6807 MB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.799e-05/0.2982, allocations: 4 kB / 439 MB, free: 15.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.2982, allocations: 11.44 kB / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of SimCode: time 3.2e-07/0.2982, allocations: 0 / 439 MB, free: 15.38 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.3225, allocations: 1.373 MB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.382, allocations: 10.7 kB / 440.4 MB, free: 14.08 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp_fmu --startTime=0 --stopTime=1 --stepSize=0.000199561 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedRamp.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.747120281681418] Failed to read output from testmodel.py, exit status != 0: ['time', 'assignClock1.y'] 8.451982263009995 8.469951013 8.175526227 Calling exit ...