Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.001777/0.001777, allocations: 114.2 kB / 20.22 MB, free: 1.793 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.002117/0.002117, allocations: 211.6 kB / 23.48 MB, free: 5.227 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.452/1.452, allocations: 230.4 MB / 257 MB, free: 8.273 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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.002072/0.002072, allocations: 63.89 kB / 377.1 MB, free: 3.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.276/0.2781, allocations: 53.31 MB / 430.4 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003072/0.2811, allocations: 1.584 MB / 432 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001132/0.2823, allocations: 0.5687 MB / 432.5 MB, free: 5.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.439e-05/0.2824, allocations: 7.938 kB / 432.5 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.969e-05/0.2824, allocations: 3.938 kB / 432.5 MB, free: 5.078 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2826, allocations: 7.938 kB / 432.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.2829, allocations: 59.75 kB / 432.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.2832, allocations: 59.77 kB / 432.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.2833, allocations: 8.188 kB / 432.7 MB, free: 4.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.2834, allocations: 23.92 kB / 432.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.788e-05/0.2835, allocations: 19.86 kB / 432.7 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.2835, allocations: 7.938 kB / 432.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.949e-05/0.2835, allocations: 11.98 kB / 432.7 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.483e-05/0.2836, allocations: 15.92 kB / 432.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.2836, allocations: 23.81 kB / 432.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.2838, allocations: 67.05 kB / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.2838, allocations: 0 / 432.8 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2838, allocations: 4 kB / 432.8 MB, free: 4.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2838, allocations: 0 / 432.8 MB, free: 4.777 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006247/0.2844, allocations: 384 kB / 433.2 MB, free: 4.355 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.2845, allocations: 8.031 kB / 433.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.431e-05/0.2845, allocations: 34.75 kB / 433.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001639/0.2847, allocations: 20.88 kB / 433.3 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.285, allocations: 199.3 kB / 433.5 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.285, allocations: 8.375 kB / 433.5 MB, free: 4.047 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.438e-05/0.285, allocations: 4.312 kB / 433.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.2853, allocations: 113 kB / 433.6 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2854, allocations: 3.938 kB / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.265e-06/0.2854, allocations: 0 / 433.6 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2854, allocations: 4 kB / 433.6 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.2855, allocations: 19.98 kB / 433.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2859, allocations: 257.8 kB / 433.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.286, allocations: 45.16 kB / 433.9 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.112e-05/0.2861, allocations: 25.77 kB / 433.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.2861, allocations: 0 / 433.9 MB, free: 3.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.2861, allocations: 30.56 kB / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.2861, allocations: 0 / 434 MB, free: 3.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.2864, allocations: 73.81 kB / 434 MB, free: 3.371 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.2864, allocations: 85.05 kB / 434.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2866, allocations: 141.8 kB / 434.3 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.2866, allocations: 25.7 kB / 434.3 MB, free: 3.09 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.442e-05/0.2867, allocations: 88.14 kB / 434.4 MB, free: 3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.2867, allocations: 3.953 kB / 434.4 MB, free: 2.996 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-05/0.2867, allocations: 13.72 kB / 434.4 MB, free: 2.977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.2869, allocations: 326.8 kB / 434.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.763e-05/0.2869, allocations: 8 kB / 434.7 MB, free: 2.641 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.2869, allocations: 21.7 kB / 434.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.191e-05/0.287, allocations: 25.7 kB / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.287, allocations: 0 / 434.8 MB, free: 2.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001325/0.2872, allocations: 65.64 kB / 434.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2872, allocations: 8 kB / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.2872, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2872, allocations: 0 / 434.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.885e-05/0.2873, allocations: 11.92 kB / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.2873, allocations: 0 / 434.9 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.581e-05/0.2873, allocations: 4 kB / 434.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.2873, allocations: 0 / 434.9 MB, free: 2.488 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.0001088/0.2874, allocations: 125.7 kB / 435 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.909e-05/0.2875, allocations: 45.72 kB / 435 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.095e-05/0.2875, allocations: 11.83 kB / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-06/0.2875, allocations: 0 / 435 MB, free: 2.293 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.2875, allocations: 3.938 kB / 435 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.2875, allocations: 3.984 kB / 435 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002889/0.2878, allocations: 177.6 kB / 435.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2878, allocations: 0 / 435.2 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.132e-05/0.2879, allocations: 4 kB / 435.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.2879, allocations: 0 / 435.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.2879, allocations: 4 kB / 435.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.2879, allocations: 4.031 kB / 435.2 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2879, allocations: 3.984 kB / 435.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/0.2881, allocations: 168.2 kB / 435.4 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.026e-05/0.2881, allocations: 93.05 kB / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.41e-05/0.2882, allocations: 0 / 435.5 MB, free: 1.754 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.2882, allocations: 4.031 kB / 435.5 MB, free: 1.75 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.7e-05/0.2882, allocations: 4 kB / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.875e-06/0.2882, allocations: 0 / 435.5 MB, free: 1.746 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.021e-05/0.2883, allocations: 113.1 kB / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2883, allocations: 0 / 435.6 MB, free: 1.637 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002134/0.2885, allocations: 4 kB / 435.6 MB, free: 1.633 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.0004968/0.289, allocations: 0.6976 MB / 436.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.2892, allocations: 19.98 kB / 436.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2892, allocations: 0 / 436.3 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.2892, allocations: 7.984 kB / 436.3 MB, free: 0.875 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.2895, allocations: 19.25 kB / 436.4 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.291, allocations: 1.334 MB / 437.7 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004636/0.2914, allocations: 0.6885 MB / 438.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.655e-05/0.2915, allocations: 11.97 kB / 438.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.81e-05/0.2915, allocations: 15.42 kB / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of SimCode: time 7.42e-07/0.2915, allocations: 0 / 438.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.3158, allocations: 1.546 MB / 439.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/8.126, allocations: 5.859 kB / 440 MB, free: 13.23 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --stepSize=1.59331e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.402081893989816] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.191773333819583 8.207721894 7.920754179 Calling exit ...