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.SubSample.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.001593/0.001593, allocations: 109.2 kB / 19.8 MB, free: 2.516 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.002033/0.002033, allocations: 218.1 kB / 23 MB, free: 5.609 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.59/1.59, allocations: 230.5 MB / 256.5 MB, free: 8.418 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.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.001948/0.001948, allocations: 55.91 kB / 376.2 MB, free: 4.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3211, allocations: 53.33 MB / 429.5 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003647/0.3247, allocations: 1.584 MB / 431.1 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.326, allocations: 0.5377 MB / 431.6 MB, free: 5.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001125/0.3261, allocations: 7.938 kB / 431.6 MB, free: 5.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.23e-05/0.3262, allocations: 3.938 kB / 431.6 MB, free: 5.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.3263, allocations: 11.86 kB / 431.7 MB, free: 5.301 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.3267, allocations: 51.89 kB / 431.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.3268, allocations: 51.78 kB / 431.8 MB, free: 5.199 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.3269, allocations: 20.16 kB / 431.8 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.3271, allocations: 23.88 kB / 431.8 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.752e-05/0.3271, allocations: 27.8 kB / 431.8 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3271, allocations: 4 kB / 431.8 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.905e-05/0.3272, allocations: 7.984 kB / 431.8 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.261e-05/0.3272, allocations: 15.92 kB / 431.9 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.348e-05/0.3273, allocations: 27.8 kB / 431.9 MB, free: 5.074 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.3275, allocations: 59.12 kB / 431.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.3275, allocations: 0 / 431.9 MB, free: 5.02 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3275, allocations: 4 kB / 431.9 MB, free: 5.016 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.3275, allocations: 0 / 431.9 MB, free: 5.016 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.0006637/0.3282, allocations: 384 kB / 432.3 MB, free: 4.594 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.3282, allocations: 12.03 kB / 432.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.232e-05/0.3283, allocations: 34.69 kB / 432.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.3284, allocations: 20.88 kB / 432.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.3288, allocations: 203.3 kB / 432.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.3288, allocations: 384 / 432.6 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.887e-05/0.3288, allocations: 12.31 kB / 432.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003189/0.3292, allocations: 112.9 kB / 432.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.3292, allocations: 0 / 432.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3292, allocations: 0 / 432.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3292, allocations: 4 kB / 432.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.908e-05/0.3293, allocations: 23.92 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.3297, allocations: 261.8 kB / 433 MB, free: 3.809 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.791e-05/0.3298, allocations: 49.14 kB / 433 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.199e-05/0.3298, allocations: 17.78 kB / 433.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.3299, allocations: 0 / 433.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.023e-05/0.3299, allocations: 34.56 kB / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.794e-06/0.3299, allocations: 0 / 433.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002739/0.3302, allocations: 65.78 kB / 433.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.469e-05/0.3303, allocations: 85.14 kB / 433.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.3304, allocations: 141.8 kB / 433.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.3305, allocations: 25.7 kB / 433.4 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.321e-05/0.3305, allocations: 88.14 kB / 433.5 MB, free: 3.234 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.206e-05/0.3305, allocations: 3.953 kB / 433.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.305e-05/0.3306, allocations: 21.7 kB / 433.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.3308, allocations: 314.8 kB / 433.8 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.647e-05/0.3308, allocations: 15.98 kB / 433.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.114e-05/0.3309, allocations: 17.72 kB / 433.8 MB, free: 2.848 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.177e-05/0.3309, allocations: 29.64 kB / 433.9 MB, free: 2.812 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3309, allocations: 4 kB / 433.9 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.3311, allocations: 61.64 kB / 433.9 MB, free: 2.742 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.3311, allocations: 7.984 kB / 434 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3311, allocations: 0 / 434 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3311, allocations: 3.938 kB / 434 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.351e-05/0.3312, allocations: 8 kB / 434 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.3312, allocations: 0 / 434 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.489e-05/0.3312, allocations: 4 kB / 434 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.3312, allocations: 4 kB / 434 MB, free: 2.715 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.0001056/0.3313, allocations: 125.8 kB / 434.1 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.3314, allocations: 37.66 kB / 434.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.3315, allocations: 15.81 kB / 434.1 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.3315, allocations: 4 kB / 434.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3315, allocations: 7.875 kB / 434.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.3315, allocations: 0 / 434.2 MB, free: 2.504 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/0.3317, allocations: 169.6 kB / 434.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.3317, allocations: 0 / 434.3 MB, free: 2.289 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.158e-05/0.3317, allocations: 8 kB / 434.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3317, allocations: 0 / 434.3 MB, free: 2.281 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3317, allocations: 4.031 kB / 434.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3317, allocations: 3.984 kB / 434.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3317, allocations: 0 / 434.3 MB, free: 2.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.3319, allocations: 160.3 kB / 434.5 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.864e-05/0.332, allocations: 89.05 kB / 434.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.332, allocations: 0 / 434.6 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.3321, allocations: 8.031 kB / 434.6 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.3321, allocations: 7.922 kB / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.3321, allocations: 8 kB / 434.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.29e-05/0.3322, allocations: 105.7 kB / 434.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3322, allocations: 0 / 434.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002162/0.3324, allocations: 4 kB / 434.7 MB, free: 1.863 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.0006437/0.3331, allocations: 0.6937 MB / 435.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001461/0.3332, allocations: 23.92 kB / 435.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3332, allocations: 0 / 435.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.3332, allocations: 11.98 kB / 435.4 MB, free: 1.105 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.3336, allocations: 20.23 kB / 435.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001511/0.3351, allocations: 1.334 MB / 436.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3355, allocations: 0.6924 MB / 437.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.289e-05/0.3355, allocations: 3.984 kB / 437.5 MB, free: 14.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.3356, allocations: 15.44 kB / 437.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3356, allocations: 0 / 437.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02742/0.363, allocations: 1.546 MB / 439.1 MB, free: 13.47 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.557/8.92, allocations: 8.062 kB / 439.1 MB, free: 13.46 MB / 350.1 MB " [Timeout remaining time 651] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.434726803010562] Failed to read output from testmodel.py, exit status != 0: ['time', 'sample1.y'] 8.99329756500083 9.019069561 8.686384785 Calling exit ...