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.SampleClocked.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.002076/0.002076, 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.002458/0.002458, 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.661/1.661, 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.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",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.001996/0.001996, allocations: 64.77 kB / 378.6 MB, free: 3.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2909/0.2929, allocations: 53.37 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003338/0.2962, allocations: 1.584 MB / 433.5 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001118/0.2974, allocations: 0.5376 MB / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.394e-05/0.2975, allocations: 0 / 434.1 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.097e-05/0.2975, allocations: 3.938 kB / 434.1 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000146/0.2976, allocations: 15.92 kB / 434.1 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.298, allocations: 55.81 kB / 434.1 MB, free: 4.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.2981, allocations: 39.8 kB / 434.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2982, allocations: 11.98 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.2983, allocations: 27.88 kB / 434.2 MB, free: 4.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.493e-05/0.2984, allocations: 23.84 kB / 434.2 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.2984, allocations: 4 kB / 434.2 MB, free: 4.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.991e-05/0.2985, allocations: 4 kB / 434.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.59e-05/0.2985, allocations: 11.98 kB / 434.2 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.2985, allocations: 27.81 kB / 434.3 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.2987, allocations: 60.52 kB / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2987, allocations: 0 / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.2987, allocations: 0 / 434.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.2987, allocations: 0 / 434.3 MB, free: 4.465 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005812/0.2993, allocations: 294 kB / 434.6 MB, free: 4.148 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.2994, allocations: 12.03 kB / 434.6 MB, free: 4.137 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.182e-05/0.2994, allocations: 30.75 kB / 434.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.2996, allocations: 16.88 kB / 434.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002779/0.2999, allocations: 142.3 kB / 434.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.2999, allocations: 4.375 kB / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.328e-06/0.2999, allocations: 384 / 434.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002635/0.3001, allocations: 101.1 kB / 434.9 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3001, allocations: 4 kB / 434.9 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.3002, allocations: 4 kB / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3002, allocations: 0 / 434.9 MB, free: 3.789 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.523e-05/0.3002, allocations: 15.98 kB / 434.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3006, allocations: 232.8 kB / 435.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.967e-05/0.3007, allocations: 49.14 kB / 435.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.648e-05/0.3008, allocations: 21.77 kB / 435.2 MB, free: 3.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.3008, allocations: 4 kB / 435.2 MB, free: 3.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/0.3008, allocations: 30.56 kB / 435.3 MB, free: 3.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.293e-06/0.3008, allocations: 3.938 kB / 435.3 MB, free: 3.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002667/0.3011, allocations: 69.72 kB / 435.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.344e-05/0.3012, allocations: 85.05 kB / 435.4 MB, free: 3.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3014, allocations: 140.7 kB / 435.6 MB, free: 3.035 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3014, allocations: 25.7 kB / 435.6 MB, free: 3.004 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3015, allocations: 92.12 kB / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.3015, allocations: 0 / 435.7 MB, free: 2.91 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.082e-05/0.3016, allocations: 21.67 kB / 435.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3018, allocations: 318.9 kB / 436 MB, free: 2.562 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.3018, allocations: 11.98 kB / 436 MB, free: 2.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.192e-05/0.3018, allocations: 17.72 kB / 436 MB, free: 2.527 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.3019, allocations: 25.7 kB / 436.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3019, allocations: 4 kB / 436.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001656/0.3021, allocations: 61.67 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3021, allocations: 4 kB / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3021, allocations: 0 / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3021, allocations: 0 / 436.1 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.3022, allocations: 8 kB / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3022, allocations: 0 / 436.1 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.3022, allocations: 7.984 kB / 436.2 MB, free: 2.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3023, allocations: 4 kB / 436.2 MB, free: 2.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001118/0.3024, allocations: 125.8 kB / 436.3 MB, free: 2.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.3024, allocations: 37.64 kB / 436.3 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.946e-05/0.3025, allocations: 19.75 kB / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3025, allocations: 0 / 436.3 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.3025, allocations: 7.938 kB / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.3025, allocations: 0 / 436.3 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.3027, allocations: 144.6 kB / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.3027, allocations: 0 / 436.5 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.3027, allocations: 8 kB / 436.5 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.3027, allocations: 4.031 kB / 436.5 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.3028, allocations: 3.984 kB / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3028, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3028, allocations: 0 / 436.5 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.303, allocations: 164.2 kB / 436.7 MB, free: 1.82 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.303, allocations: 11.94 kB / 436.7 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.303, allocations: 8.031 kB / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.233e-05/0.3031, allocations: 0 / 436.7 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3031, allocations: 3.984 kB / 436.7 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.3031, allocations: 7.938 kB / 436.7 MB, free: 1.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.469e-05/0.3032, allocations: 103.3 kB / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3032, allocations: 0 / 436.8 MB, free: 1.688 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.3034, allocations: 8 kB / 436.8 MB, free: 1.68 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005482/0.304, allocations: 0.6976 MB / 437.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001368/0.3041, allocations: 15.98 kB / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3041, allocations: 0 / 437.5 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.409e-05/0.3042, allocations: 20.08 kB / 437.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.3045, allocations: 12.03 kB / 437.5 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.306, allocations: 1.305 MB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.3064, allocations: 0.6924 MB / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.3064, allocations: 0 / 439.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.3064, allocations: 19.44 kB / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3064, allocations: 0 / 439.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02961/0.3361, allocations: 1.506 MB / 441.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.604/8.94, allocations: 7.375 kB / 441.1 MB, free: 13.36 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.546184653881937] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 9.015859276987612 9.050386229 8.745335014 Calling exit ...